Lookup formula where column increments by 1 when dragging forumla vertically

Misono

New Member
Joined
Dec 2, 2016
Messages
9
Hoping someone might be able to assist me here. I've inherited a reporting sheet where individual sheets are set up for specific sites. In another sheet there is master data for each site, filtered as follows

Date Date Date Date Date
Site Value Value Value Value Value
Site Value Value Value Value Value
Site Value Value Value Value Value
Site Value Value Value Value Value
Site Value Value Value Value Value

The reporting sheet for each site is set up with the months listed vertically, such as

A
B

Jan
Feb
Mar
Apr

Column B needs to have a lookup on the site code, and to match the correct month. I then need to paste the formula down column B in a way that will ensure it's looking up against the correct dates.

Any suggestions of the best way to go about this?
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
A1BCDEFG
2SiteJanFebMarAprMay
31102345
421911121314
532820212223
643729303132
754638394041
8
9Enter Site:3
10Jan=INDEX($B$2:$G$7,MATCH($C$9,$B$2:$B$7,0),MATCH($B10,$B$2:$G$2,0))
11Feb20
12Mar21
13Apr22

<tbody>
</tbody><colgroup><col><col><col span="5"><col span="4"></colgroup>
 
Upvote 0

Forum statistics

Threads
1,214,918
Messages
6,122,255
Members
449,075
Latest member
staticfluids

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