Hello,
I'm looking for a way to sum a range of cells where the range is dependent on what I choose from a dropdown menu. So I have a dropdown menu of 52 options (one for each week of the year) and if i choose for example, Week 12, the formula would sum everything from week 1 to week 12. Then have another formula that if I select week 12, it would sum everything up to week 11.
In attached excel, on the "Weekly Worksheet" tab, in F2 i have a dropdown. if i select one of the options, i would like if in B2 it would sum the range up to that week, and in C2 it would sum the range before that. For example if I choose MW12, then B2 sums the range in the "Daily KPIs New" tab, column D, from D2:D85. Then C2 would sum the range D2:D78.
I am already using this formula to sum the total for each week, =SUMIF('Daily KPIs New'!A:A,'Weekly WorkSheet New'!F2,'Daily KPIs New'!D:D) , but this gives me the weekly sum, so now I need the full year up to that week basically.
Hope this makes sense.
Bookmarks