Numerical "Priority" Method
Hello,
I am in need of a method for assigning priority of a submitted row 1-10. If 1 is selected, the previous 1 needs to become a 2, the 2 becomes a 3, etc. The column needs to recalculate when a row is complete and the 'priority' column becomes blank. I don't think this would be possible without using many columns to determine what needs to be changed, so I came here to see if anyone has a better way to complete this.
Thank you for your time.
Best Answer
-
Insert an auto-number column (I called mine "Auto" in this example) with no special formatting.
Then the formula to output the adjusted priority is along the lines of...
=IF([Submitted Priority]@row <> "", COUNTIFS([Submitted Priority]:[Submitted Priority], @cell < [Submitted Priority]@row) + COUNTIFS([Submitted Priority]:[Submitted Priority], @cell = [Submitted Priority]@row, Auto:Auto, @cell >= Auto@row))
Answers
-
Insert an auto-number column (I called mine "Auto" in this example) with no special formatting.
Then the formula to output the adjusted priority is along the lines of...
=IF([Submitted Priority]@row <> "", COUNTIFS([Submitted Priority]:[Submitted Priority], @cell < [Submitted Priority]@row) + COUNTIFS([Submitted Priority]:[Submitted Priority], @cell = [Submitted Priority]@row, Auto:Auto, @cell >= Auto@row))
-
Paul,
Thank you so much! This is working perfectly.
-
Happy to help. 👍️
-
Hi @Paul Newcome I am having a hard time getting the formula above to work on my sheet. I even named my columns the same as yours for the example. Any Ideas?
Formula I'm using : =IF([Submitted Priority]@row <> "", COUNTIFS([Submitted Priority]:[Submitted Priority], @cell < [Submitted Priority]@row) + COUNTIFS([Submitted Priority]:[Submitted Priority], @cell = [Submitted Priority]@row,
Auto:Auto, @cell >= Auto@row))
Error: #Circular Reference
Is the "auto" number supposed to be my priority number, or the Submitted Priority column? Would I hide the other?
I'm missing something simple, I know it.
-
@CJTimm The Submitted Priority column is the column that houses the manually entered priorities. The formula would then go in a different column. This other column with the formula in it would be the one that shows the new priority.
-
@CJTimm Paul is correct. Check out how our sheet looks, and just ignore the string in entry 11 (You should definitely ensure that 'submitted priority' is a dropdown restricted to list values.) To reiterate @Paul Newcome's point, the formula goes in a third column.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 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!