Trying to use drop list to find value

=HPSF=RMP

Board Regular
Joined
Jun 9, 2004
Messages
188
I have a validation drop down list with 4 items on it.
My index is located on cell P18.
I want to transfer the data to I15 from Sheet2!$B10, Sheet2!$B16,Sheet2!$B21 & Sheet2!$B26 based on the index number which is 1-4 respectively.

I hope I explained this correctly?

Thanks for any help.
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
jindon said:
Hi
try
in cell I15

=INDIRECT("Sheet2!B"&CHOOSE(P18,10,16,21,26))

There is no need for the volatile INDIRECT, which moreover locks the formula to the column B on Sheet2. Try:

=CHOOSE(P18, Sheet2!B10, Sheet2!B16, Sheet2!B21, Sheet2!B26)
 
Upvote 0

Forum statistics

Threads
1,203,139
Messages
6,053,719
Members
444,681
Latest member
Nadzri Hassan

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