Date Range Formula Help
Hey,
I am trying to use a formula to find the number of confirmed and requested booking status within a period of time.
So for example for finding the number of confirmed booking statuses from today until the end of the list I used the formula below which gave me the correct value:
=COUNTIFS({AZA JOURNEY - Itinerary & Booking Range 1}, "Confirmed", {AZA JOURNEY - Itinerary & Booking Range 2}, >=TODAY(0))
So my question is how the formula should be in order to find the confirmed booking status separately for 2023, 2024 and 2025?
Best Answer
-
@Ilias That does look right, and in sheet summary, you would be able to write this formula, changing the dates for the specific year and have that sum per year.
Smartsheet Community Champion and Ambassador
If my answer helped you, please be sure to mark it as Accepted to help future learners locate the information.
Answers
-
So I have just used the below and seems that it works:
=COUNTIFS({AZA JOURNEY - Itinerary & Booking Range 1}, "Confirmed", {AZA JOURNEY - Itinerary & Booking Range 2}, >=DATE(2023, 1, 1), {AZA JOURNEY - Itinerary & Booking Range 2}, <=DATE(2023, 12, 31))
Please confirm if both of them seem right.
Thanks!
-
@Ilias That does look right, and in sheet summary, you would be able to write this formula, changing the dates for the specific year and have that sum per year.
Smartsheet Community Champion and Ambassador
If my answer helped you, please be sure to mark it as Accepted to help future learners locate the information.
-
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 495 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!