Can you assign a random value based on a list?
I am trying to automate the task of assigning a person to an assignment.
Users can submit a form, which generates a row on my sheet. The row then has to be manually assigned to someone to complete it. There are no values that can be used to really assign it to one given person- these are submission for setting up new items.
Is there a way to create a list of potential assignees and randomly assign it to one of them when a new submission comes in?
Best Answer
-
@reiem87, Smartsheet doesn't have a random function, unfortunately. You could generate a list of random numbers in Excel, upload that list into a sheet, and then just go down the list grabbing the next value. You would need an auto-generated row number column in both sheets that start with the same value to have a reference. This assumes you have a set number of people you are assigning to -- you would have to recreate the Excel list based off the new number of people. The function in Excel looks like this:
=INT(RAND()*N)
where "N" is the number of people you are assigning things to.
Don't tell anyone there's a list, the magic of random will melt away for them.
Answers
-
@reiem87, Smartsheet doesn't have a random function, unfortunately. You could generate a list of random numbers in Excel, upload that list into a sheet, and then just go down the list grabbing the next value. You would need an auto-generated row number column in both sheets that start with the same value to have a reference. This assumes you have a set number of people you are assigning to -- you would have to recreate the Excel list based off the new number of people. The function in Excel looks like this:
=INT(RAND()*N)
where "N" is the number of people you are assigning things to.
Don't tell anyone there's a list, the magic of random will melt away for them.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.9K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 458 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!