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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!