Formula to calculate number of tour requests in the current month and year, not over multiple years
I'm trying to calculate the number of tour requests I receive in a month. This sheet has dates that go back two years. Each tour is listed as an individual line item with date format MM/DD/YY. I tried the formula =COUNTIFS({Tour Request Range 7}, IFERROR(MONTH(@cell), 0) = MONTH(TODAY())) but it is showing the number of tours for the month of November in 2022 and 2023 combined, not just in 2023. Is there a different formula to only show the number of tours this current month only?
Best Answer
-
Hello @SOmalley1124
Hope you are well. Try this:
=COUNTIF({Tour Request Date}, AND(IFERROR(MONTH(@cell), 0) = MONTH(TODAY()), IFERROR(YEAR(@cell), 0) = YEAR(TODAY())))
Where:
{Tour Request Date} is the column that lists the dates of each individual tour.
Let me know if this helps.
Peggy
Answers
-
Hello @SOmalley1124
Hope you are well. Try this:
=COUNTIF({Tour Request Date}, AND(IFERROR(MONTH(@cell), 0) = MONTH(TODAY()), IFERROR(YEAR(@cell), 0) = YEAR(TODAY())))
Where:
{Tour Request Date} is the column that lists the dates of each individual tour.
Let me know if this helps.
Peggy
-
It worked! Thank you so much!!
-
@SOmalley1124 - awesome! Have a great rest of your week!
Peggy
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!