Tigerexcel
Active Member
- Joined
- Mar 6, 2020
- Messages
- 493
- Office Version
- 365
- 2019
- Platform
- Windows
I would like a conditional column total depending on which month is randomly selected:
In this case if cell F1 reads Feb, the total should be 20 but i get 5, my formula is only picking up the first cell. The formula I have is =SUMIF(A1:C1,F1,A2:C6). Can this Sumif formula be adjusted to work here, or is there a better option?
Jan | Feb | Mar | Feb | ||
1 | 5 | 1 | |||
8 | 5 | 2 | Total for | 5 | |
9 | 4 | 4 | |||
7 | 5 | 3 | |||
1 | 1 | 6 |
In this case if cell F1 reads Feb, the total should be 20 but i get 5, my formula is only picking up the first cell. The formula I have is =SUMIF(A1:C1,F1,A2:C6). Can this Sumif formula be adjusted to work here, or is there a better option?