Index/Match question

Peterw_2506

Board Regular
Joined
Jan 28, 2011
Messages
78
Hi everybody. Can somebody give me a little help please with a lookup formula.

Here is the problem;

I have lookup cells ($H$8:$BE$8) they represent months e.g. 1, 2, 3, 4, etc. etc. 50 of them

I have cells that contain data ($H$11:$BE$611)

Now whatever month I what to reference, I want to retrieve the last cell that contains a numeral in the respective column.

I have been trying to use =INDEX($H$11:$BE$611,MATCH(9.99E+307,range),MATCH(2,$H$8:$BE$8,0)) range = $11:$611 of the respective column in $H$8:$BE$8 (50 columns)

However, because this is referencing multiple columns I just cannot close to my desired result. If I manually allocate a column – yes that works, but that is not the desired result, it needs to automate.

If somebody can guide me, I would be grateful.

Thank you in advance.
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
For just the last value in the column, try

=LOOKUP(9.99e+307,INDEX($H$11:$BE$611,0,MATCH(2,$H$8:$BE$8,0)))
 
Upvote 0

Forum statistics

Threads
1,214,904
Messages
6,122,169
Members
449,070
Latest member
webster33

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