Index Match and Sums

DeepikaB

New Member
Joined
Sep 26, 2019
Messages
1
Hello I am so glad to find this forum, might question might be super easy for most of you but I am beating my head on a wall from last few hours so thought to register and raise it here

I want to Select the month in month total say March it gives me No. 3 and in YTD total is I select Mar 16 from a Drop down say then it gives me sum of 6 and it updates automatically based on the month I select. Index match match or sum index I am not able to get the answer please please help !! I am not able to paste an Image hopefully will learn soon.

Thanks,
[TABLE="width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Jan 16
[/TD]
[TD]Feb 16[/TD]
[TD]Mar 16[/TD]
[TD]Apr 16[/TD]
[TD]Month Total[/TD]
[TD]Year To Date Total[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]DB[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]3[/TD]
[TD]4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 1034"]
<colgroup><col span="14"><col><col></colgroup><tbody>[TR]
[TD][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Hi and welcome to MrExcel,

Try something like this:


Book1
ABCDEFG
1select Month:Mar 16
2
3Namejan-16feb-16Mar 16apr-16Month TotalYear To Date Total
4DB123436
Sheet1
Cell Formulas
RangeFormula
F4=INDEX(B4:E4,MATCH(B1,B3:E3,0))
G4=SUM(OFFSET(B4,0,0,,MATCH(B1,B3:E3,0)))
 
Upvote 0
Another option, without volatile functions


Book1
ABCDEFG
1select Month:01-03-2016
2
3Name01-01-201601-02-201601-03-201601-04-2016Month TotalYear To Date Total
4DB123436
personal_info
Cell Formulas
RangeFormula
F4=INDEX(B4:E4,MATCH(B1,B3:E3,0))
G4=SUM(B4:INDEX(B4:E4,MATCH(B1,B3:E3,0)))
 
Upvote 0

Forum statistics

Threads
1,223,954
Messages
6,175,603
Members
452,660
Latest member
Zatman

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