Attempting COUNTIF(AND
Hello! I am trying to create a formula to count inspections created by a specific driver each month. I keep getting "Incorrect Argument". Do I need to separate the columns differently?
=COUNTIF(AND({Vehicle Inspection Checklist Management Sh Range 3}, IFERROR(MONTH(@cell), 0) = 1, {Vehicle Inspection Checklist Management Sh Range 2}, "John Smith"))
Any guidance would be a huge help! Thank you!
Answers
-
Hi @Kim Fearno ,
Try:
=COUNTIFS({Vehicle Inspection Checklist Management Sh Range 2}, "John Smith"), {Vehicle Inspection Checklist Management Sh Range 3}, IFERROR(MONTH(@cell), 0) = 1)
Work?
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
-
Thanks Mark,
Unfortunately It is now giving me an #UNPARSEABLE error.
I got the formulas to work separately:
=COUNTIF({Vehicle Inspection Checklist Management Sh Range 2}, "John Smith")
=COUNTIFS({Vehicle Inspection Checklist Management Sh Range 3}, IFERROR(MONTH(@cell), 0) = 1)
Just can't seem to get them to work together...
-
There was an extra paren. Try:
=COUNTIFS({Vehicle Inspection Checklist Management Sh Range 2}, "John Smith", {Vehicle Inspection Checklist Management Sh Range 3}, IFERROR(MONTH(@cell), 0) = 1)
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
-
Back to "Incorrect Argument" :(
-
Hi again Kim,
You need to check your ranges. Best to recreate them. They should be the entire single column you want examined. Additionally, confirm that column this formula is in and your Range 2 are formatted as text/number and that Range 3 is formatted as date.
Work this time?
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 423 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!