Sumif and ifs last week
Hi I'm having problem with my formula not giving me the total hours for the last week. Could someone please let me know if I'm doing something wrong. There should be hours calculated however, it is showing as 0
=SUMIF([Week]:[Week], WEEKNUMBER(TODAY() - 1), [Work Hours]:[Work Hours])
=SUMIFS([Work Hours]:[Work Hours], [Week]:[Week], WEEKNUMBER(TODAY() - 1), [Non Billable]:[Non Billable], 0)
Answers
-
Hi @kari1282
Hope you are fine, please try the following formula:
=SUMIFS([Work Hours]:[Work Hours], [Non Billable]:[Non Billable], 0, Week:Week, WEEKNUMBER(TODAY()) - 1)
the following screenshot shows the result, you can test it in Published Sheet
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"
-
I copy the formula and I'm still getting 0
=SUMIFS([Work Hours]:[Work Hours], [Non Billable]:[Non Billable], 0, Week:Week, WEEKNUMBER(TODAY()) - 1)
-
Thank you I figured out the propblem.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.3K Get Help
- 364 Global Discussions
- 199 Industry Talk
- 428 Announcements
- 4.4K Ideas & Feature Requests
- 136 Brandfolder
- 127 Just for fun
- 128 Community Job Board
- 445 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!