Only perform calculation if cell is not blank
I currently have a sheet and one of the functions I want is to check a box if the Date Won/Lost is older than 365 days.
My current formula is: =IF([Date Final (Won/Lost)]@row < TODAY(-365), 1, 0)
However, when the Date Won/Lost cell is blank (because the contract hasn't closed or been abandoned yet), the formula returns a "check" as if the blank cell is older than 365 days.
I've read through a number of threads and tried a bunch of ISBLANK, NOT ISBLANK, multiple IFs, IF/AND, etc. and either get no result, the wrong result, or UNPARSEABLE.
Help!
Comments
-
Hi,
Try something like this.
=IF([Date Final (Won/Lost)]@row = ""; 0; IF([Date Final (Won/Lost)]@row < TODAY(365); 1))
The same version but with the below changes for your and others convenience.
=IF([Date Final (Won/Lost)]@row = "", 0, IF([Date Final (Won/Lost)]@row < TODAY(365), 1))
Depending on your country you’ll need to exchange the comma to a period and the semi-colon to a comma.
Did it work?
Have a fantastic week!
Best,
Andrée Starå
Workflow Consultant @ Get Done Consulting
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.
-
YES!!! Thank you!! (Me jumping up and down for joy)
-
Excellent!
Happy to help!
Best,
Andrée
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.
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.9K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 458 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives