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
- Customer Resources
- 65.2K Get Help
- 444 Global Discussions
- 142 Industry Talk
- 473 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!