Logic Based Auto-Number
We have a request form that generates an auto-number for each request. We want to open up the request form to handle different types of requests that generate a unique Prefix based on which value they select in one of the fields. Has anyone successfully done this? Here's an example:
Form asks if you want to eat a Sandwich, Salad or Soup for lunch?
If "Sandwich" is selected, the request ID is SAND-001
If "Salad" is selected, the request ID is SALAD-002
If "Soup" is selected, the request ID is SOUP-003
We are trying to avoid having multiple request forms for the same type of request but need a way to differentiate the IDs. Open to suggestions!
Answers
-
Formula:
=IF(Lunch@row = "Sandwich", "SAND-" + [Auto Number]@row, IF(Lunch@row = "Salad", "SALAD-" + [Auto Number]@row, IF(Lunch@row = "Soup", "SOUP-" + [Auto Number]@row)))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!