Lookup, return date from unknown column

Akashwani

Well-known Member
Joined
Mar 14, 2009
Messages
2,911
Hi,

I'm going around in circles of frustration here.

Excel Workbook
ABCDEFGHIJKLMNOPQR
1NameAnimalAmount200020012002200320042005200620072008200920102011201220132014
2BillCat100.00********Jan***Dec**
3JoDog250.00***Mar**Nov********
4Bobmouse350.00************Mar*Mar
5SueRabbit500.00Jan**Mar***********
6******************
7******************
8NameAnimalAmountYear1Year2*************
9JoDog250.0030/01/200831/12/2012*************
10******************
11NameAnimalAmountYear1Year2*************
12SueRabbit500.0030/01/200031/03/2003*************
Sheet3


How do I return the values for D9:E9 or D12:E12?
I have tried numerous variations of Vlookup/Index/Match all without the desired result, obviously :rofl:

The data in D2:R5 are true dates formatted to display the month, the data in row 1 are numbers, if that makes any difference!!

Thanks

Ak
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Hi Mark,
I had to tweak your formulas and they also work perfectly, thanks.

=SMALL(INDIRECT("Sheet3!D"&MATCH(A9,Sheet3!$A$2:$A$5,0)+ROW(Sheet3!$A$1)&":R"&MATCH(A9,Sheet3!$A$2:$A$5,0)+ROW(Sheet3!$A$1)),1)

=LARGE(INDIRECT("Sheet3!D"&MATCH(A9,Sheet3!$A$2:$A$5,0)+ROW(Sheet3!$A$1)&":R"&MATCH(A9,Sheet3!$A$2:$A$5,0)+ROW(Sheet3!$A$1)),1)

Once again, thanks to both of you.

Ak
Akashwani,

Thanks for the feedback.

Markmzz
 
Upvote 0

Forum statistics

Threads
1,224,557
Messages
6,179,508
Members
452,918
Latest member
Davion615

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