I am trying to create a formula that will calculate YTD revenues based upon a month selected for a specific customer. The data range (array) covers a 3 year period (2019, 2020, and 2021) .The result should calculate the YTD value for the specific year selected as well.
The fiscal year period for my company actually starts in April so if I select June 2020, the YTD values I would need would be April 2020 - June 2020.
I have tried everything ; nesting various SUMIFS with INDEX (Matches) along with SUmproducts and I am not getting an answer
=SUMPRODUCT(('Combined Data'!$C$3:$C$3127=M9)*(MONTH('Combined Data'!$E$2:$AB$2)<=MONTH($Q$8))*'Combined Data'!$E$3:$AB$3127)
However, this formula is not yielding the correct numbers.
Please see attached:
I have highlighted the cells in the tab labeled "Top Customers" that I need to add the formula to ( COlumn Q )
The source data comes from tab labeled "Combined Data "
Bookmarks