# Combining 2 Formulas

Options
✭✭✭✭
edited 12/09/19

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.

Tags:

• ✭✭✭✭✭✭
Options

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.

• ✭✭✭✭✭✭
Options

=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), "")

• ✭✭✭✭
Options

Thanks for the responses!

Paul, your formula at the bottom is the one I ended up using.

Thanks again!

• ✭✭✭✭✭✭
Options

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.

• ✭✭✭✭✭✭
Options

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

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!