Welcome to the Smartsheet Forum Archives
The posts in this forum are no longer monitored for accuracy and their content may no longer be current. If there's a discussion here that interests you and you'd like to find (or create) a more current version, please Visit the Current Forums.
How to define a default value for a field with a formula
Hello Guys,
I am using the webform feature to create the new record for my sheet. In each record, I have cells called Created Date, Closed Date and Duration. And the Duration is equal to a formula which count the gap between Created Date and Closed Date.
f(x)=NETDAYS([Created Date]1,[Closed Date]1)
The formular is working perfectly if I manually put it in a row in the Duration cell. But the formula would be transformed into text if I compy and past it into the webform as a defualt value of cell Duration.
So my question is how to keep the formula as a formula in the webform field?
Thanks!
Comments
-
Hi Frank,
Formulas will be converted into text when entering them via a web form, and there isn't a way to use formulas with a web form in this manner.
You can, however, enter the formula in your sheet directly, and our auto-fill formatting and formulas feature will populate a new formula in the row after an entrant makes a submission. Certain restrictions apply to the auto-fill feature, check out our Help Center article for more details on this: https://help.smartsheet.com/articles/1641473-auto-filling-formulas-and-formatting
I also want to bring up that if you have the dependencies functionality enabled (see: https://help.smartsheet.com/articles/765727-enabling-dependencies-using-predecessors), formulas won't work in your Duration column.
-
Hello Shaine,
Thanks for the information! At least I know that the thing is not working like what I thought.
And sure, I will keep using auto-fill formulas feature.
Thanks a lot!
Frank.
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.1K Get Help
- 414 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives