Why is this formula #invalid operation
=COUNTIFS(Flight:Flight, "FSC", [Date of Award]:[Date of Award], >1 / 1 / 2023, [Date of Award]:[Date of Award], <3 / 30 / 2023)
If I put the dates in parenthesizes it yeilds 0 even though I have "FSC" in the Flight column. If I take them away it becomes #invalid.
Ricky T
Gov Contractor for USSF
Best Answer
-
Try it with the Date function:
=COUNTIFS(Flight:Flight, "FSC", [Date of Award]:[Date of Award], > DATE(2023, 1, 1), [Date of Award]:[Date of Award], < DATE(2023, 3, 30)
Answers
-
Try it with the Date function:
=COUNTIFS(Flight:Flight, "FSC", [Date of Award]:[Date of Award], > DATE(2023, 1, 1), [Date of Award]:[Date of Award], < DATE(2023, 3, 30)
-
Hi Ricky,
I believe it is because of your date formatting. I would try the below:
=COUNTIFS([Flight]:[Flight] "FSC", [Date of Award]:[Date of Award], AND(@cell >= DATE(2023, 01, 01), @cell <= DATE(2023, 03, 31)))
Hope that helps!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!