Need help for a formula
Hello everyone, I am pretty new to smartsheet so thanks in advance for your help. I am creating budget template sheet, and I have a BUDGET COST column, an ACTUAL COST column and a DIFFERENCE column. When my actual cost column is blank, the difference automatically calculated like if it's at 0.
Let's say I have an estimated cost of 500.00$, and my actual cost is unknown at the moment, so I leave the cell blank. In the difference column, it shows 500.00$. But the reality is it shouldn't be calculated because we are not in the positive or negative yet, we don't know.
Is there any way I can add a IF formula to my =[Budget Cost]1-[Actual Cost]1 so it's only calculating if the actual cost is not blank ?
Comments
-
Hi,
Yes, it is.
Try this.
=IF(ISBLANK([ACTUAL COST]@row); ""; [BUDGET COST]@row - [ACTUAL COST]@row)
The same version but with the below changes for your and others convenience.
=IF(ISBLANK([ACTUAL COST]@row), "", [BUDGET COST]@row - [ACTUAL COST]@row)
Depending on your country you’ll need to exchange the comma to a period and the semi-colon to a comma.
Did it work?
Happy New Year & have a fantastic weekend!
Best,
Andrée Starå
Workflow Consultant @ Get Done Consulting
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
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!