Updating rank order while cutting and pasting rows

dll77

New Member
Joined
Oct 11, 2023
Messages
2
Office Version
  1. 365
Platform
  1. Windows
I have a spreadsheet with column headings and column A is rank order. The spreadsheet is always in order beginning with 1. How do I reorder the list by cutting and pasting rows and have column A automatically re-rank them? For example if I want to move the person that is ranked 100 up to number 6, how do I move their row of data but have their column A change to #6 and all those below 6 update to their new rank since someone was inserted above them? I can do it in 2-3 steps, but it needs to be done quickly and on the fly so I was wondering if anyone knew how to do it automatically?
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Assuming you have headers in row 1, put the following formula in column A (in as many cells as your data range requires)
Excel Formula:
=IF(B2<>"",ROW()-1,"")
 
Upvote 0
Solution
Assuming you have headers in row 1, put the following formula in column A (in as many cells as your data range requires)
Excel Formula:
=IF(B2<>"",ROW()-1,"")
Thank you so much! I appreciate your help!
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,954
Members
449,096
Latest member
Anshu121

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top