Number lower than 0 to show 0 using IF
I have a column called "Days worked", which I get using: =NETWORKDAY([Start date]143; TODAY()).
I use this for all tasks, including future. Therefore it shows a negative number when it is a future project that has not started yet.
I want it instead to say 0.
I tried with: =NETWORKDAY([Start date]143; TODAY()), IF([Days worked]143<0,"0"
This does not work. Does anyone know how to do it properly?
Thank you in advance.
Best Answers
-
I hope you're well and safe!
Try something like this.
=IF(NETWORKDAY([Start Date]@row; TODAY()) < 0; 0; NETWORKDAY([Start Date]@row; TODAY()))
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 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.
-
Excellent!
You're more than welcome!
I've answered in your other question, but here it is as well.
=IF(NETWORKDAY([Start Date]@row; TODAY()) > Duration@row; 0; IF(NETWORKDAY([Start Date]@row; TODAY()) < 0; 0; NETWORKDAY([Start Date]@row; 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.
Answers
-
I hope you're well and safe!
Try something like this.
=IF(NETWORKDAY([Start Date]@row; TODAY()) < 0; 0; NETWORKDAY([Start Date]@row; TODAY()))
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 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 @Andrée Starå
I works perfectly.
Is there also a way to cap it. That is to say set a max number. I have a "duration" column and would like for the "days worked" not to exceed the "duration" column.
-
Excellent!
You're more than welcome!
I've answered in your other question, but here it is as well.
=IF(NETWORKDAY([Start Date]@row; TODAY()) > Duration@row; 0; IF(NETWORKDAY([Start Date]@row; TODAY()) < 0; 0; NETWORKDAY([Start Date]@row; 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.
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