ramibassad
New Member
- Joined
- Feb 7, 2022
- Messages
- 6
- Office Version
- 2019
- Platform
- Windows
Hello...I am looking for a formula to return total year to date sales by agent if I were to select a month and an agent name
Agent: Michael
Month YTD: March
Desired Result: 16+90+200 (the sum of January, February, and March for Michael. If I sekect February instead, I want Excel to only sum up January and February.
Any help?
Thanks!
A | B | C | D |
Agent / Month | January | February | March |
Alex | 100 | 50 | 40 |
Michael | 200 | 90 | 16 |
Agent: Michael
Month YTD: March
Desired Result: 16+90+200 (the sum of January, February, and March for Michael. If I sekect February instead, I want Excel to only sum up January and February.
Any help?
Thanks!