Formula for multiple criteria on summing up columns
Hi, all! Does anyone know the formula for multiple criteria to be met before adding column values up? The data set example follows. I need to be able to total up 7 cost types if they are either billable or not, expense or capital, one-time or ongoing cost. The sums I need to integrate are (1) total billable capital one-time cost, (2) total non-billable capital one-time cost, (3) total billable expense one-time cost, and (4) total non-billable expense one-time cost. Your expertise shared is most appreciated.
Desiree
Answers
-
Hope you are fine, please try the following formulas:
1- total billable capital one-time cost
=IFERROR(SUMIFS([Cost Amount]:[Cost Amount], [Reporting Group]:[Reporting Group], @cell = "one-time cost", [Capital?]:[Capital?], @cell = "Yes", [Billable?]:[Billable?], @cell = "Yes"), "")
2-total non-billable capital one-time cost
=IFERROR(SUMIFS([Cost Amount]:[Cost Amount], [Reporting Group]:[Reporting Group], @cell = "one-time cost", [Capital?]:[Capital?], @cell = "Yes", [Billable?]:[Billable?], @cell = "No"), "")
3-total billable expense one-time cost
=IFERROR(SUMIFS([Cost Amount]:[Cost Amount], [Reporting Group]:[Reporting Group], @cell = "one-time cost", [Billable?]:[Billable?], @cell = "Yes", [Cost Type]:[Cost Type], CONTAINS("expense", @cell)), "")
4-total non-billable expense one-time cost
=IFERROR(SUMIFS([Cost Amount]:[Cost Amount], [Reporting Group]:[Reporting Group], @cell = "one-time cost", [Billable?]:[Billable?], @cell = "No", [Cost Type]:[Cost Type], CONTAINS("expense", @cell)), "")
the following screenshot shows the result:
bassam.khalil2009@gmail.com
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
-
Thank you so much, Bassam!
-
You are welcome, and i will be happy to help you any time, Please help the Community by marking it as an ( Accepted Answer)
bassam.khalil2009@gmail.com
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!