How can I calculate total hours by project but not repeat the formula in every row that matches?
Hello, I found a question from 2021 that had been answered with a formula, so I gave that a try for my sheet. It works, but I'm getting the sum on every row that has a matching project ID. How can I just get the sum once for each project so that I can run a report and show these totals?
This is the formulas that I used based on the older thread:
=IFERROR(IF([Project Hours]@row = 0, "", SUMIFS([Project Hours]:[Project Hours], [Project ID]:[Project ID], [Project ID]@row)), "")
There's over 4,000 entries in this sheet, so I don't want to have to manually note each project's total hours. I'm sure there is a solution, I just don't know what it is!
Thanks for your help! Colleen
Best Answer
-
Hello @Colleen Jones,
If your goal is to show this in a report you don't actually need the formula in the Sheet.
Simply make a report and group it by Project ID and then add a Summary field to SUM the Project Hours columns.
Hope this helps!
School of Sheets (Smartsheet Partner)
If my answer helped please accept and react w/💡Insightful, ⬆️ Vote Up, ❤️Awesome!
Answers
-
Hello @Colleen Jones,
If your goal is to show this in a report you don't actually need the formula in the Sheet.
Simply make a report and group it by Project ID and then add a Summary field to SUM the Project Hours columns.
Hope this helps!
School of Sheets (Smartsheet Partner)
If my answer helped please accept and react w/💡Insightful, ⬆️ Vote Up, ❤️Awesome!
-
Thanks for your help, @Dan Palenchar, I'll give that a try! That seems much easier that my method!! Colleen :)
-
My pleasure, happy reporting @Colleen Jones!
School of Sheets (Smartsheet Partner)
If my answer helped please accept and react w/💡Insightful, ⬆️ Vote Up, ❤️Awesome!
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 137 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives