Formula counts only if yesterday was a weekday
Hello. I have a formula that counts how many calls an agent took the day before, but I need it not to count Saturdays or Sundays as the day before. Can someone please help me? Here is the formula I have so far.
=COUNTIFS([Agent (Username)]:[Agent (Username)], "Alexis Braxton (ag05ZjnuQISJOOsB63_XyffA)", Period:Period, TODAY(-1), Media:Media, <>"Chat")
Best Answers
-
=COUNTIFS([Agent (Username)]:[Agent (Username)], "Alexis Braxton (ag05ZjnuQISJOOsB63_XyffA)", Period:Period, WEEKDAY(TODAY(), -1), Media:Media, <>"Chat") this gives an error of "#INCORRECT ARGUMENT SET."
-
My apologies. It should be a WORKDAY function.
Answers
-
Try this:
=COUNTIFS([Agent (Username)]:[Agent (Username)], "Alexis Braxton (ag05ZjnuQISJOOsB63_XyffA)", Period:Period, WEEKDAY(TODAY(), -1), Media:Media, <>"Chat")
-
=COUNTIFS([Agent (Username)]:[Agent (Username)], "Alexis Braxton (ag05ZjnuQISJOOsB63_XyffA)", Period:Period, WEEKDAY(TODAY(), -1), Media:Media, <>"Chat") this gives an error of "#INCORRECT ARGUMENT SET."
-
My apologies. It should be a WORKDAY function.
-
Thank you Paul. That worked.
-
Great. Happy to help. 👍️
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!