Excel multiple look ups

Rpritts

New Member
Joined
Sep 21, 2006
Messages
21
I am doing a spreadsheet comparing date with 30+columns I want to do a look up that not fixed, ie Lookup(Value, Data, output 1), Lookup(Value, Data, output 2), ....Lookup(Value, Data, output 30), Is there way to change output with out typing the differnt output ranges and tell excel to pull a value from the table?

Rob
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

Smitty

Legend
Joined
May 15, 2003
Messages
29,536
Welcome to the Board!

Instead of VLOOKUP(Criteria,Range,Number,False)

you can use VLOOKUP(Criteria,Range,COLUMN(),False)

Where the Column() formula will automatically adjust as it's copied across. Substitute ROW() if you're copying down. To adjust you can add/subtract from the Column/Row number as necessary. I.E. COLUMN()+1.

Hope that helps,

Smitty
 

Forum statistics

Threads
1,171,586
Messages
5,876,318
Members
433,193
Latest member
BruxoTrader

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
Top