VBA Rank Update

emerskey21

New Member
Joined
Dec 21, 2020
Messages
4
Office Version
  1. 365
  2. 2016
  3. 2013
Platform
  1. Windows
Help!

I wanted to automatically adjust the ranking of existing range once I click a button.

Picture3.png


Thank you and regards,
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

StephenCrump

MrExcel MVP
Joined
Sep 18, 2013
Messages
4,124
Office Version
  1. 365
Platform
  1. Windows
Your post has been here a while with no response - often a sign that people don't understand the question.

Here's a simplistic interpretation:

ABC
1Old RankNew rank
21--->10
321
432
543
654
765
876
987
1098
11109
Sheet2
Cell Formulas
RangeFormula
C2:C11C2=IF(A2=1,10,A2-1)

Presumably there's more to it than this? Can you please elaborate, including why you envisage needing to click a button?
 

Watch MrExcel Video

Forum statistics

Threads
1,129,499
Messages
5,636,684
Members
416,935
Latest member
Atulcp

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
Top