Q: Formula, strings = number values?
is there a way in Numbers to have a cell display a string, but when that cell is referenced in a formula it will be used as a numeric value? see screen shot.
i want the Storage to be the label for Capacity.
i want the strings displayed in column A to represent the numeric values in column B.
so "128 GB" = 0.13. or "128 GB" = B2. i need one cell to associate with the value of the other.
my goal is to make a column of pop-ups with storage capacities that can be used in a formula in a different table.
if "128 GB" is chosen i want its Actual value to be 0.13
iWork, OS X El Capitan (10.11.6)
Posted on Aug 22, 2016 5:45 PM
I prefer to use a lookup table like this.
1) create a table (like what you have) that contains the list of text and corresponding values
I named the table "SizeTo Value"
In the table where you would like to use this, use the following formula:
C2=IFERROR(IF(VLOOKUP(B2, SizeTo Value::A:B, 2, 0)=0, "", VLOOKUP(B2, SizeTo Value::A:B, 2, 0)), "")
this is shorthand for... select cell C2, then type (or copy and paste from here) the formula:
=IFERROR(IF(VLOOKUP(B2, SizeTo Value::A:B, 2, 0)=0, "", VLOOKUP(B2, SizeTo Value::A:B, 2, 0)), "")
select cell C2, copy
select cells C2 thru the end of column C, paste (or as needed)
Posted on Aug 22, 2016 7:21 PM



