LOOKUP function using cell references as values

ezee

New Member
Joined
May 6, 2009
Messages
2
I want to use LOOKUP to make different combinations of existing cell contents instead of giving the specific values in the formula.

For example, a normal LOOKUP would be:

=LOOKUP(A2,{0,60,70,80,90},{"F","D","C","B","A"})

in which case if A2 had the value 70 in it, it would display C in the cell.

I want to replace the {"F","D","C","B","A"} with cell references, so that depending on the value of A2, LOOKUP will return the value of a certain cell reference.

Here it is WRONG, but it will help explain my question:

=LOOKUP(A2,{6,7,8,9},{A10&A11,A12&A13,A14&A15,A16&A17})

So, if the value in A2 is 6, LOOKUP displays the values of A10&A11 together in the cell.

Its the {A10&A11,A12&A13,A14&A15,A16&A17} portion I'm doing wrong, I think I need some quotes, single quotes or = before each one or something but I can't figure it out.
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

Forum statistics

Threads
1,216,586
Messages
6,131,582
Members
449,655
Latest member
Anil K Sonawane

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top