# Conditional Math Difference

Options

Great Morning, I would like to create a condition to apply a basic math difference to identify savings in a project. Ex: Original Budget minus (if there is a value on the estimate column only, and not actual expenses yet, deduct the estimate amount BUT if the actual expense column has a value different than \$0, use this column instead of the estimate column). in other words to replace the information once the actual expenses column is filled out; in the meantime, use the estimate column to provide preliminary savings. I hope I made myself clear (screenshot attached)

REVISED BUDGET - EITHER REQUISITIONS OR ACTUAL EXPENSES COLUMN (whichever has a value different than \$0).

Options

Hello @Paul Newcome , it does not work. I used your sample to create it like this but it is not working

properly neither: =IF([ACTUAL EXPENSES]@row <> "\$0.00", [INT. - FY 22 REVISED BUDGET]@row - [ACTUAL EXPENSES]@row, [INT. - FY 22 REVISED BUDGET]@row - [FY22 REQUISITIONS]@row)

I was expecting (on the green cell) the difference of \$4,231.30.

Thank you for your assistance Paul :)

• ✭✭✭✭✭✭
Options

I hope you're well and safe!

Try something like this.

```=
IF([ACTUAL EXPENSES]@row <> 0,
[INT. - FY 22 REVISED BUDGET]@row - [ACTUAL EXPENSES]@row,
[INT. - FY 22 REVISED BUDGET]@row - [FY22 REQUISITIONS]@row
```

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 support the Community by marking it Insightful/Vote Up or/and as the accepted answer. 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.

• ✭✭✭✭✭✭
Options

Excellent!

Happy to help!

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

Try somethign like this...

=[Revised Budget]@row - IF([Actual Expenses]@row <> 0, [Actual Expenses]@row, Requisitions@row)

Options

Hello @Paul Newcome , it does not work. I used your sample to create it like this but it is not working

properly neither: =IF([ACTUAL EXPENSES]@row <> "\$0.00", [INT. - FY 22 REVISED BUDGET]@row - [ACTUAL EXPENSES]@row, [INT. - FY 22 REVISED BUDGET]@row - [FY22 REQUISITIONS]@row)

I was expecting (on the green cell) the difference of \$4,231.30.

Thank you for your assistance Paul :)

• ✭✭✭✭✭✭
Options

I hope you're well and safe!

Try something like this.

```=
IF([ACTUAL EXPENSES]@row <> 0,
[INT. - FY 22 REVISED BUDGET]@row - [ACTUAL EXPENSES]@row,
[INT. - FY 22 REVISED BUDGET]@row - [FY22 REQUISITIONS]@row
```

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 support the Community by marking it Insightful/Vote Up or/and as the accepted answer. 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.

• Options

Yassssssssssss @Andrée Starå , it worked! Thank you very much! I appreciate you taking the time to assist me :) Have a great week!

• ✭✭✭✭✭✭
Options

Excellent!

Happy to help!

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.

## Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!