Formula to create a number assignment catalog
Hello,
I am trying to create a number assignment catalog that is automated to speak to a smartsheet that has my full collection of products. The goal is when creating a new product anyone could fill out a form select the category numbers that will define the department and then select a a number that will identify the specific product. A lot of numbers are already in use so the formula needs to reference a sheet that has existing numbers in use and only allow available numbers to be selected. I have attached a screenshot of what the number assignment could look like but am lost as to how to write the formula that will communicate to the broader sheet. The first 4 digits are the category assignments and the last four are the numbers in question. In this instance there is a letter that will be common in each selection. Any options would be super helpful. Thanks, Aaron
Best Answer
-
You can do this by creating a primary column which combines values from two other columns. I would likely create a Product List sheet that automatically assigns the proper number to a new product. The Product List would have a Create New Product form which asks for the category.
In the Product List sheet, create an
AUTOID
column with this structure.Create a column of type
Dropdown (Single Select)
with each potential category. In this caseXX01
,XX02
, and so forth.For the primary column, I'd rename it to Product ID and put a column formula in it:
=Category@row + "-" + AUTOID@row
Populate the Product List sheet with all the existing products.
Create a form for users to add a new product.
Because you populated the product list already, adding a new product with the form will automatically assign a unique and new product number
Answers
-
You can do this by creating a primary column which combines values from two other columns. I would likely create a Product List sheet that automatically assigns the proper number to a new product. The Product List would have a Create New Product form which asks for the category.
In the Product List sheet, create an
AUTOID
column with this structure.Create a column of type
Dropdown (Single Select)
with each potential category. In this caseXX01
,XX02
, and so forth.For the primary column, I'd rename it to Product ID and put a column formula in it:
=Category@row + "-" + AUTOID@row
Populate the Product List sheet with all the existing products.
Create a form for users to add a new product.
Because you populated the product list already, adding a new product with the form will automatically assign a unique and new product number
-
Thank you! I started on this track but couldn't figure it out. This is very helpful I appreciate your level of detail.
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!