formula if date entered into a different cell if not left blank instead of invalid data type.
Hi I am using a formula which works really well to calculate worked days based on dates entered in two different columns, however if dates in those columns have not yet been entered, the cell showing the calculation shows invalid data type, i want the formula to work if date is in a column and show nothing if the date is yet to be entered.
cheers
Rob
hope this makes sense.
Answers
-
Hi @rob.begley
Try something like this. (replace the column names with yours)
=IF(OR([Date 1]@row = ""; [Date 2]@row = ""); "")
The same version but with the below changes for convenience.
=IF(OR([Date 1]@row = "", [Date 2]@row = ""), "")
Depending on your country/region, you'll need to exchange the comma to a period and the semi-colon to a comma
Did that work?
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 help the Community by marking it as the accepted answer/helpful. 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.
-
Thank you so much for the reply
I will check this out as soon as I get back to the office later today
-
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 Andree
cant quite get it to work
the formula I am using in the working days including termination and relet column is =NETWORKDAYS(Termination4, Relet4, $[Bank holidays 2020]$1:$[Bank holidays 2020]$8)
I want it to show as nothing if a date is not entered into Termination and relet columns
many thanks
Rob
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!