Offset Index Match

Cooki

Board Regular
Joined
Jul 31, 2018
Messages
86
I need to get the column next to my target value

here is my data sheet Sheet1
OctNovDec
Points available Points Achieved% AchievedPoints available Points Achieved% AchievedPoints availablePoints Achieved
0​
0​
#VALUE!​
#VALUE!​
0​
0​
0​
0​
0​
0​
42​
40​
60​
126​

Sheet2 has my formulas on

01/10/2020​
42​
01/11/2012​
60​

To get the daya for Oct and Nov, im using =HLOOKUP(TEXT(B3,"MMM"),Sheet1!$AD$3:$AL$9,7,0)
which returns Oct and Nov points available

Now i need to get the Points achieved, i have done it with this =OFFSET(INDEX(Sheet1!$AD$3:$AL$9,MATCH(TEXT(B3,"MMM"),Sheet1!AD3:AD9)*7,1),0,1)

But when i drag it down it does not work as AD3:AD9 needs to actually be AG3:AG9, but i cant figure it out.

Hope that makes sense.

Could anyone help please
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
With adjacent columns the easiest way would be to use INDEX and MATCH, making the column references relative in the INDEX range and absolute in MATCH.
Book1
BCD
301/10/20204240
401/11/2012600
Sheet2
Cell Formulas
RangeFormula
C3:D4C3=INDEX(Sheet1!AD$9:AL$9,MATCH(TEXT($B3,"MMM"),Sheet1!$AD$3:$AL$3,0))
 
Upvote 0
With adjacent columns the easiest way would be to use INDEX and MATCH, making the column references relative in the INDEX range and absolute in MATCH.
Book1
BCD
301/10/20204240
401/11/2012600
Sheet2
Cell Formulas
RangeFormula
C3:D4C3=INDEX(Sheet1!AD$9:AL$9,MATCH(TEXT($B3,"MMM"),Sheet1!$AD$3:$AL$3,0))
I was so close to solving it ahhhhh lol

very much appreciated works perfect
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,876
Members
452,363
Latest member
merico17

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