Generating a column value until another column is filled in
Good afternoon, I am looking to see if there is even a formula for what we are looking to do. We have an "HRS Left" column that projects the hours left on a scope item with this formula
=SUM(BAC@row - HTD@row)
However!, until we actually start working on that scope we have a "BAE"column that carries our Budget At Estimate hours for that scope item.
Is there a formula that will tell smartsheet to carry the "BAE" column value in the "HRS Left" column UNTIL the "BAC" and "HTD" columns have values?
Please reference attached PDF
Best Answers
-
Hi @BESP10 ,
You BAC and HTD columns have 0s in them so they're not blank. Change your formula to look for ISBLANK or =0.
Help?
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
-
Try:
=IF(OR(ISBLANK(BAC@row), ISBLANK( HTD@row), BAC@row=0, HTD@row=0), BAE@row, BAC@row-HTF@row)
The OR(...) says that if BAC or HTD are blank or =0, then return BAE. Otherwise return BAC-HTF.
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
Answers
-
Hi @BESP10 ,
Try:
=IF(OR(ISBLANK(bac@row), ISBLANK(htd@row)), bae@row, SUM(BAC@row - HTD@row))
Work?
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
-
Hi @Mark Cronk
This one is giving me a value of 0 in the "HRS Left" column even though the "BAE" is showing a value of 16 and no work has been done yet.
Thoughts?
Thanks
-
Hi @Mark Cronk
Sorry to bother , just checkin in to see if you any insight as to what could be giving a value of 0 instead of 16?
Thank you
-
Hi @BESP10 ,
You BAC and HTD columns have 0s in them so they're not blank. Change your formula to look for ISBLANK or =0.
Help?
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
-
Thank you
I have been trying for the last hour ... I am struggling with formulas @Mark Cronk
But thank you for your help on this
-
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
-
I did not,
I have no idea where to out the or =0, I am very novice on the formulas and their syntax
I understand the logic but the actual placement is getting to me
Thank you for checking in @Mark Cronk
I actually posted another topic looking for the formula, did not want to bother you again! #truestory!
-
Try:
=IF(OR(ISBLANK(BAC@row), ISBLANK( HTD@row), BAC@row=0, HTD@row=0), BAE@row, BAC@row-HTF@row)
The OR(...) says that if BAC or HTD are blank or =0, then return BAE. Otherwise return BAC-HTF.
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
-
-
Glad you finally found a solution. Thank you for being patient and persistent
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
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!