Sheet Summary - Counting number of submissions between two dates in a column
Using the Sheet Summary option, I would like to count the number of reports submitted each month. The formula I am using does not work
=COUNTIF([Event Occurrence Date]:[Event Occurrence Date], >=DATE(2021, 1, 1), <=DATE(2021, 1, 31))
I was able to count this information using a formula in another grid/sheet by using the following formula
=COUNTIFS({Aviation Safety Reports Range 1}, >=DATE(2021, 1, 1), {Aviation Safety Reports Range 1}, <=DATE(2021, 1, 31))
(where Aviation Safety Reports Range 1 refers to the column titled Event Occurrence date).
What am I doing wrong with the Sheet Summary formula to get the message Incorrect Argument Set?
All help gratefully appreciated
Best Answers
-
You would have to repeat the range for the second criteria set the same way you did with the second formula (and use a COUNTIFS with the "S" on the end).
First formula:
=COUNTIF(range, criteria, criteria)
Second formula:
=COUNTIFS(range, criteria, range, criteria)
-
Happy to help. 👍️
Answers
-
You would have to repeat the range for the second criteria set the same way you did with the second formula (and use a COUNTIFS with the "S" on the end).
First formula:
=COUNTIF(range, criteria, criteria)
Second formula:
=COUNTIFS(range, criteria, range, criteria)
-
Thank you Paul,
That worked! I thought I'd done that previously and got an error message, but maybe I hadn't!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!