"IF" formula using dates and check boxes
I am looking to set up a count to see how many people are scheduled for an appointment verses how many have come in.
I have an appointment date column and a check box that is clicked when someone comes in. I want this to be a summary formula not a cell. Could someone help?
What I messed around with was =COUNTIF(Name:Name,AND(Date:Date>=TODAY(),Check:Check=0))
I also tried an =IF(AND(Date:Date>=TODAY(),Check:Check=0),Count(Name:Name))
Best Answer
-
To see the count for scheduled future events you would use...
=Countifs(Date:Date, >=Today())
Answers
-
It looks like you're trying to count how many were scheduled for TODAY and how many came in. Is that correct? If so, try this:
=COUNTIFS(Date:Date, Today(), Check:Check, 1)
Based on my sample only the two highlighted rows would be counted. You can see I am getting 2.
-
@Mike Wilday Good Morning Mike,
I am also looking to count events in the future as well. Just not anything in the past.
-
To see the count for scheduled future events you would use...
=Countifs(Date:Date, >=Today())
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 422 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!