Combining 2 Formulas
Hi, I am having trouble combining these 2 formulas:
=NETDAYS([Date Sent To Rep]@row, TODAY() - 1)
=IFERROR([Over Calc]@row, "")
Right now I have 2 separate columns calculating, but would like to have just 1.
Is it possible to combine these 2 formulas?
I want it to calculate the net days, but if there is not a date inputted i want the output to be a blank.
Comments
-
Hi Kyle,
Try something like this.
=IF(ISBLANK([Over Calc]@row); ""; NETDAYS([Date Sent To Rep]@row; TODAY() -1))
The same version but with the below changes for your and others convenience.
=IF(ISBLANK([Over Calc]@row), "", NETDAYS([Date Sent To Rep]@row, TODAY() -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?
Hope that helps!
Have a fantastic day!
Best,
Andrée Starå
Workflow Consultant / CEO @ WORK BOLD
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.
-
=NETDAYS([Date Sent To Rep]@row, TODAY() - 1)
=IFERROR([Over Calc]@row, "")
I assume the [Over Calc]@row is a reference to the cell holding the NETDAYS function.
If this is the case, just take the formula that is in that cell (minus the and drop it in where you have the cell reference in the IFERROR. I do this quite frequently when building out multi-part formulas.
So if the above assumption is true, then it would look like this...
=IFERROR([Over Calc]@row, "")
*insert formula from [Over Calc]@row in place of the cell reference without the =*
=IFERROR(NETDAYS([Date Sent To Rep]@row, TODAY() - 1), "")
-
Thanks for the responses!
Paul, your formula at the bottom is the one I ended up using.
Thanks again!
-
Happy to help! (even if I misunderstood)
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!
The formula at the bottom of my post was the finalized solution. The formulas before that were entered as examples to follow along with my explanations.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.1K Get Help
- 380 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 450 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 289 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!