Count Dates but by week if possible - Weekly trends
I've tried a count if, count and countif function.
Trying to Count how many in a date range. Sunday through Saturday as my base week. How many times in week 5/9 to 5/14 was a request put in.
Would I need to count each date? Like count if date @row 2021,5,9? In the screenshot above the answer would be 4. But I would need a separate formula for all 52 weeks in a year? Formula for a daily count?
Just trying to show weekly trends....
Answers
-
Hi @None RBT
You could do one of two things:
=COUNTIF(WEEKNUMBER([date requested]:[date requested],WEEKNUMBER(TODAY()))
The above formula counts the number of items that have a date in the current week. Alternately, you could put a specific week number, or enter a date in a different field and do WEEKNUMBER([column]@row).
You could also do:
=COUNTIFS([date requested]:[date requested], >=date(2021,5,9),[date requested]:[date requested],<=date(2021,5,15))
This counts between the two specific dates.
Hope this helps!
Best,
Heather
-
Tried both and getting an unparseable error. ?
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!