COUNTIFS with FIND and ISDATE
Hello,
I'm trying to create a COUNTIFS formula to count cells in a separate sheet that contain 000 in their 6 digit ID number column and have a date in a different column.
The formula below is giving an error:
=COUNTIFS(({Dashboard Source Sheet Store #}, FIND("000", @cell) > 0), {Dashboard Source Sheet AIC Date}, ISDATE(@cell))
Thanks in advance!
Answers
-
Are you getting an error message or an incorrect count?
-
Hi @EmilyG
I hope you're well and safe!
Try something like this. (you had one too many parentheses after COUNTIFS.
=COUNTIFS({Dashboard Source Sheet Store #}, FIND("000", @cell) > 0), {Dashboard Source Sheet AIC Date}, ISDATE(@cell)
Did that work/help?
I hope that helps!
Be safe, and have a fantastic week!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up, Awesome, or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
@Andrée Starå I don't think there were too many parenthesis at the end. There should be 2. One to close out the ISDATE function and another to close out the COUNTIFS.
It looks like the post was edited to include it is outputting an error after I asked about that, so I am guessing that if it is parenthesis related it would be with the set surrounding the first range/criteria set.
=COUNTIFS({Dashboard Source Sheet Store #}, FIND("000", @cell) > 0, {Dashboard Source Sheet AIC Date}, ISDATE(@cell))
@EmilyG If the above does not work, can you provide the exact error you are getting?
-
It was after the COUNTIFS. There were two. I usually remove all except one at the end to minimize the risk of issues.
=COUNTIFS(({Dashboard Source Sheet Store #}, FIND("000", @cell) > 0), {Dashboard Source Sheet AIC Date}, ISDATE(@cell))
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
@Andrée Starå Sorry about that. I thought you meant the one on the end and didn't even notice that you had removed the one immediately after the COUNTIFS. I still think the one after the FIND function needs removed as well though.
-
No worries!
Yes, I think you're right that the one after the FIND part should also be removed.
Let's see what @EmilyG answers.
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Hi @Paul Newcome and @Andrée Starå, thank you both for your feedback! I removed the extra parenthesis and now my formula is returning the correct value. Thanks again & have a great week!
-
Excellent!
You're more than welcome!
✅Please support the Community by marking the post(s) that helped or answered your question or solved your problem with the accepted answer/helpful, Insightful/Vote Up/Awesome. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Happy to help. 👍️
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!