# Index Match and Horizontal Lookup

#### CTMom

##### New Member
I have table and need to look up date to match target date then return the number that is 6 rows below. I used HLOOKUP first but it kept putting number in every day not matching it to the correct day.

Can anyone tell me the best way of doing this?
Thanks

See below

Excel Workbook
ABCDE
51Monthly Schedule01-Mar-1101-Apr-1101-May-1101-Jun-11
52land 1285,000---
53land 2-892,000--
54land 3--1,236,600-
55land 4----
56Total land costs285,000892,0001,236,600-
57
58
59Daily Schedule31/03/20111/04/20112/04/20113/04/2011
60Total land costs285,000892,000892,000892,000
Land

### 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

#### Gerald Higgins

##### Well-known Member
Hi.

Sorry, I'm not clear exactly what you want.

Are you saying you want to match some date to the dates in row 51, and then lookup the value from 6 rows below, which would be row 57 (which seems to be empty) or maybe you mean row 56 ?

##### MrExcel MVP
Do...

=HLOOKUP(B59,\$B\$51:\$E\$56,6,0)

yield what you want?

#### T. Valko

##### Well-known Member
I have table and need to look up date to match target date then return the number that is 6 rows below. I used HLOOKUP first but it kept putting number in every day not matching it to the correct day.

Can anyone tell me the best way of doing this?
Thanks

See below

Excel Workbook
ABCDE
51Monthly Schedule01-Mar-1101-Apr-1101-May-1101-Jun-11
52land 1285,000---
53land 2-892,000--
54land 3--1,236,600-
55land 4----
56Total land costs285,000892,0001,236,600-
57
58
59Daily Schedule31/03/20111/04/20112/04/20113/04/2011
60Total land costs285,000892,000892,000892,000
Land
Try this...

=INDEX(\$B56:\$E56,MATCH(B59,\$B53:\$E53))

Copy across as needed.

Thanks - worked!

Replies
1
Views
121
Replies
0
Views
239
Replies
0
Views
147
Replies
10
Views
426
Replies
3
Views
217

1,191,219
Messages
5,985,335
Members
439,958
Latest member
qb0000

### 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.

### Which adblocker are you using?

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

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