LookUp Help

Bennets04

Board Regular
Joined
Jul 30, 2010
Messages
65
Good morning all,

I have a question regarding a lookup formula I'm trying to work,

So i have the following SUMMARY sheet

[TABLE="width: 500"]
<tbody>[TR]
[TD]January[/TD]
[TD]Act[/TD]
[TD]Budget[/TD]
[TD]%[/TD]
[/TR]
[TR]
[TD]New Store Openings
[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]100[/TD]
[/TR]
[TR]
[TD]Relocates[/TD]
[TD]2[/TD]
[TD]2[/TD]
[TD]100[/TD]
[/TR]
[TR]
[TD]Refits[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]50[/TD]
[/TR]
</tbody>[/TABLE]

Now the January cell (A1) is a drop down so when February is selected the data changes

On my YEAR sheet, i have the following

[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]January[/TD]
[TD][/TD]
[TD][/TD]
[TD]February[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Actual[/TD]
[TD]Budget[/TD]
[TD]%[/TD]
[TD]Actual[/TD]
[TD]Budget[/TD]
[TD]%[/TD]
[/TR]
[TR]
[TD]New Store Openings[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]100[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Relocates[/TD]
[TD]2[/TD]
[TD]2[/TD]
[TD]100[/TD]
[TD]2[/TD]
[TD]2[/TD]
[TD]100[/TD]
[/TR]
[TR]
[TD]Refits[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]50[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]100[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


I can't seem to get the formula to register the month change on the summary and return the required month's data

Hope someone can help

Many thanks
Steve
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
In Summary sheet,

in B2 and copied down.
=INDEX(Year!$B$1:$G$5,MATCH(Summary!$A2,Year!$A$1:$A$5,0),MATCH(Summary!$A$1,Year!$B$1:$G$1,0))

in C2 and copied down
=INDEX(Year!$B$1:$G$5,MATCH(Summary!$A2,Year!$A$1:$A$5,0),MATCH(Summary!$A$1,Year!$B$1:$G$1,0)+1)

in D2 and copied down
=INDEX(Year!$B$1:$G$5,MATCH(Summary!$A2,Year!$A$1:$A$5,0),MATCH(Summary!$A$1,Year!$B$1:$G$1,0)+2)

assuming that your data starts on A1
 
Last edited:
Upvote 0
Works fine going down, how about when i drag the formula right?
In B2, copy across and down.

=INDEX(Year!$B$1:$G$5,MATCH(Summary!$A2,Year!$A$1:$A$5,0),MATCH(Summary!$A$1,Year!$B$1:$G$1,0)+COLUMN()-2)

change the above highlighted references as per your requirement though
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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