Apple Numbers — IF you expression help
I have a spreadsheet that generates a number (in this case a file size in GBs).
I’m looking for a formula that takes this result and then using a list of memory stick sizes (16, 32, 64, 128 etc) assigns the right size to the result.
This is to find the correct price for the memory stick required to then add to a list of other fees.
For example:
If the resulting first number is 52 GB, that number is compared with 16. if it’s less than 16 then show “£5.00” .
Then this is where I get stuck.
I need to have 52 (or whatever the result is) then compared with the other numbers in the range:
If 52 is more than 16 but less than 32, then show £11.
If 52 is more than 16, and 32 BUT less than 64, then show £15,
If 52 is more than 16, 32, and 64 BUT less than 128, then show £21
. . . and so on.
I’m still not sure even this is right in terms of logic.
Hopefully someone can see what I need to achieve and can come up with either a solution, or a confirmation it can’t be done.
Many thanks in anticipation.
iMac 27″, macOS 11.6