Des_Ireland
New Member
- Joined
- Jun 17, 2016
- Messages
- 5
Hey all,
Long time reader - first time poster!
So I have a simple workbook which has a sheet containing sales records by year, month and team\dept. Version below.
It has a totals sheet and a lists page for some input validation.
On the "Sales Total" sheet, I want to present the users with some dropdowns to vary the totals they see. So the user can select year and month, the result being the total for sales that month and then Sales YTD for that year (up to month end). I'll eventually incorporate being able to reduce it down to sales by team (showing MTD and YTD)
I can easily get the month total, given the month and year, but i'm struggling with the YTD figure. Can anyone help? I've tried all sorts of SUM, SUMIF, SUMIFS, sumproduct, etc using index, match, address too, but can't seem to figure it out!!
Any help would be greatly appreciated!!
<tbody>
</tbody>
Long time reader - first time poster!
So I have a simple workbook which has a sheet containing sales records by year, month and team\dept. Version below.
It has a totals sheet and a lists page for some input validation.
On the "Sales Total" sheet, I want to present the users with some dropdowns to vary the totals they see. So the user can select year and month, the result being the total for sales that month and then Sales YTD for that year (up to month end). I'll eventually incorporate being able to reduce it down to sales by team (showing MTD and YTD)
I can easily get the month total, given the month and year, but i'm struggling with the YTD figure. Can anyone help? I've tried all sorts of SUM, SUMIF, SUMIFS, sumproduct, etc using index, match, address too, but can't seem to figure it out!!
Any help would be greatly appreciated!!
Year | Month | Team | Sale amount |
2015 | December | IT | 100 |
2016 | January | consult | 50 |
2016 | January | Service | 10 |
2016 | February | IT | 25 |
2016 | March | support | 5 |
<tbody>
</tbody>