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
Check out the Formula Handbook template!