SUMIFS with INDEX MATCH for YTD Calculation

Bojack85

New Member
Joined
Aug 1, 2021
Messages
4
Office Version
  1. 2019
Hi guys, need your help with this calc

SUMIFS(INDEX('All data'!$BG$2:$BS$353,0,MATCH('Variance analysis'!$O$3,'All data'!$BG$1:$BS$1,0)),'All data'!$F$2:$F$353,'Variance analysis'!N4,'All data'!$I$2:$I$353,'Variance analysis'!$O$2)

This calc works well for me when I am searching for the sum of values for a particular month

in the above formula I have underlined the reference to the cell for the month I am looking at. In this case Feb'25

My question is how do I do a YTD calculation using the above formula as a base? I need to calculate the sum of values that fit my criteria for Oct'25 to Feb'25

thanks
 
Hi guys, need your help with this calc

SUMIFS(INDEX('All data'!$BG$2:$BS$353,0,MATCH('Variance analysis'!$O$3,'All data'!$BG$1:$BS$1,0)),'All data'!$F$2:$F$353,'Variance analysis'!N4,'All data'!$I$2:$I$353,'Variance analysis'!$O$2)

This calc works well for me when I am searching for the sum of values for a particular month

in the above formula I have underlined the reference to the cell for the month I am looking at. In this case Feb'25

My question is how do I do a YTD calculation using the above formula as a base? I need to calculate the sum of values that fit my criteria for Oct'25 to Feb'25

thanks
Sorry that was meant to say Oct'24 to Feb'25
 
Upvote 0

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