janema
Board Regular
- Joined
- Nov 28, 2022
- Messages
- 152
- Office Version
- 365
- 2021
- 2019
- 2011
- 2010
- Platform
- Windows
- Mobile
Is there a way to use the Subtotal function with SUMIF statements? I want the file to show the total of data when it is filtered, but cannot seem to add in the Subtotal function into the current formula. Perhaps it's not possible.
The current formula is: =(SUMIFS(O:O,T:T,"Yes")*0.035)-SUMIFS(X:X,T:T,"Yes")
So, when the file is filtered, I want it to show the sum of column O if column T equals "Yes" and then subtract the sum of column X if column T equals "Yes"
Right now this pulls the SUM of the column, however, I want them to show as a SUBTOTAL so when I filter it by a leader, it shows the total for what is showing rather than the sum total of the entire file.
I hope that makes sense. Here is what the file looks like:
Thank you soooo much in advance for any guidance and help you can give me to figure this out. I've been trying out formulas for the past hour.
The current formula is: =(SUMIFS(O:O,T:T,"Yes")*0.035)-SUMIFS(X:X,T:T,"Yes")
So, when the file is filtered, I want it to show the sum of column O if column T equals "Yes" and then subtract the sum of column X if column T equals "Yes"
Right now this pulls the SUM of the column, however, I want them to show as a SUBTOTAL so when I filter it by a leader, it shows the total for what is showing rather than the sum total of the entire file.
I hope that makes sense. Here is what the file looks like:
Thank you soooo much in advance for any guidance and help you can give me to figure this out. I've been trying out formulas for the past hour.