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
- Customer Resources
- 64.8K Get Help
- 437 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives