COUNTIFS using Dates and IFERROR
I'm trying to replace some formulas in a summary sheet that I accidentally wiped but I cant seem to get them to work and I know I'm missing something but I'm not sure what. What I'm trying to count is all the dates listed in the year 2020 from another sheet. However, some of the rows in that column are blank. The formula ive created so far that doesn't work is: =COUNTIFS({MAC's Date Added 20}, ISDATE(@cell), IFERROR(YEAR(@cell) = 1, " 1"))
I think that if I can get the first one right and working, I should be able to do the rest which have slightly different parameters such as month or week instead of year.
@Paul Newcome Sorry for tagging you bud but from all the community stuff I've read, you seem to be a wizard at this
Best Answer
-
If you look through the activity log, it should actually list out the formulas which can then be copy/pasted from the activity log back into the sheet. That should help minimize having to completely rewrite everything especially if you had some really complex formulas in there.
Answers
-
Hi @Chris Sims
Hope you are fine, Please add a copy of your sheet or a screenshot (after removing or replacing any sensitive information). This will make it easier for me to provide the appropriate answer to your question.
bassam.khalil2009@gmail.com
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
-
Hi @Chris Sims
I hope you're well and safe!
Try something like this.
=COUNTIFS(MAC's Date Added 20}, IFERROR(YEAR(@cell), 0) = 2021)
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 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.
-
If you look through the activity log, it should actually list out the formulas which can then be copy/pasted from the activity log back into the sheet. That should help minimize having to completely rewrite everything especially if you had some really complex formulas in there.
-
@Paul Newcome you sir, are my new personal hero. Thank you sooo much
-
@Bassam Khalil @Andrée Starå Thanks guys, Paul gave me a way to retrieve the original formulas but your help is very much appreciated. You guys rock
-
You're more than welcome!
✅Remember! Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up 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.
-
Happy to help. 👍️
I've done the same thing before with formulas that were extremely complex that also involved a little bit of luck and I couldn't seem to figure back out.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.7K Get Help
- 433 Global Discussions
- 136 Industry Talk
- 468 Announcements
- 4.9K Ideas & Feature Requests
- 143 Brandfolder
- 147 Just for fun
- 64 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 298 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!