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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!