Hi all,
I have a list of items with a priority order with 1 being the highest priority. Sometimes, the priority will change and 1 will become 3.
Is there a way to auto renumber the cells so that when a priority changes (for example: #1 becomes #3 ), the list will automatically shift and readjust the priorities so that when I manually change #1 to #3 , #2 becomes 1 and #3 becomes 2 ?
I've seen an older thread with a similar problem but there wasn't any solutions.
Thanks in advance for the help.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Order/priority[/TD]
[TD]Items[/TD]
[TD]Price[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]A[/TD]
[TD]100[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]B[/TD]
[TD]50[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]C[/TD]
[TD]35[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]D[/TD]
[TD]30[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]E[/TD]
[TD]65[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]F[/TD]
[TD]10[/TD]
[/TR]
</tbody>[/TABLE]
I have a list of items with a priority order with 1 being the highest priority. Sometimes, the priority will change and 1 will become 3.
Is there a way to auto renumber the cells so that when a priority changes (for example: #1 becomes #3 ), the list will automatically shift and readjust the priorities so that when I manually change #1 to #3 , #2 becomes 1 and #3 becomes 2 ?
I've seen an older thread with a similar problem but there wasn't any solutions.
Thanks in advance for the help.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Order/priority[/TD]
[TD]Items[/TD]
[TD]Price[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]A[/TD]
[TD]100[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]B[/TD]
[TD]50[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]C[/TD]
[TD]35[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]D[/TD]
[TD]30[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]E[/TD]
[TD]65[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]F[/TD]
[TD]10[/TD]
[/TR]
</tbody>[/TABLE]