Counting Monthly Intakes per Segment
Hi all I am trying to figure out why my formula isn't running correctly. I want to count how many times a specific segment put in a request per month. For Example if the nurse team made 10 request in January and 12 in February. I have about 10 other segments to fit in. I also only need to count Parent rows which are identified as "TOP".
I am counting the total completed work and current intakes hence the "+".
=COUNTIFS({Completed - Create Date}, IFERROR(MONTH(@cell), 0) = MONTH(1), {Completed - Create Date}, IFERROR(YEAR(@cell), 0) = YEAR(TODAY()), {Completed - Parent ID}, ="TOP", {Request - Segment}, ="Nurse") + COUNTIFS({Request - Create Date}, IFERROR(MONTH(@cell), 0) = MONTH(1), {Request - Create Date}, IFERROR(YEAR(@cell), 0) = YEAR(TODAY()), {Request - Parent ID}, ="TOP", {Request - Segment}, ="Nurse")
I feel like the problem is with the Month(1) section but I'm not certain.
Thanks!
Best Answer
-
You should be able to replace MONTH(1) with 1. The MONTH formula will simply return the number of the month in the associated date (1-12). There is no need to wrap the month number in the MONTH formula again.
Answers
-
You should be able to replace MONTH(1) with 1. The MONTH formula will simply return the number of the month in the associated date (1-12). There is no need to wrap the month number in the MONTH formula again.
-
Thank you for teaching me how to use that correctly @David Tutwiler!
I knew it had to be something silly.
-
No problem. Glad it's working for you.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!