K
kawfeehaus
I am attempting to use the LOOKUP function to give a numerical value for a
corresponding text. The problem is if the text is missing in the vector chart
it just defaults to the value for the text just one cell above where the text
would be (in abc order) if it were actually included in the chart.
For example:
=LOOKUP(B1,$AA$1:$AB$84)
And my chart is
AA AB (cell columns)
Apple 1000
Cat 2000
Dog 3000
Zebra 4000
Looking at my formula, if the word apricot is in the cell B1 then the value
will come out to 1000 because Apple is the highest value before where apricot
would have been (thinking in ABC order here). The problem is apricot is
really value 1500 but was left off of the chart.
I don’t want the formula to do that, I want it to find the exact match or
give me some sort of error in the cell with the formula
[=LOOKUP(B1,$AA$1:$AB$84)] so that I know I need to add it to the vector
list.
Is there any way to make it look for the *exact* text as opposed to a range
per se?
corresponding text. The problem is if the text is missing in the vector chart
it just defaults to the value for the text just one cell above where the text
would be (in abc order) if it were actually included in the chart.
For example:
=LOOKUP(B1,$AA$1:$AB$84)
And my chart is
AA AB (cell columns)
Apple 1000
Cat 2000
Dog 3000
Zebra 4000
Looking at my formula, if the word apricot is in the cell B1 then the value
will come out to 1000 because Apple is the highest value before where apricot
would have been (thinking in ABC order here). The problem is apricot is
really value 1500 but was left off of the chart.
I don’t want the formula to do that, I want it to find the exact match or
give me some sort of error in the cell with the formula
[=LOOKUP(B1,$AA$1:$AB$84)] so that I know I need to add it to the vector
list.
Is there any way to make it look for the *exact* text as opposed to a range
per se?