Invert Numbers based on multiple criteria

Galonom

New Member
Joined
Oct 26, 2017
Messages
1
Hi All,

basically I have managed to get "Drop nr" or let say unique rank by ID" in order" column but trying to get in reverse order "new drop a to z" instead. Colum D is showing what I want to achieve, Column B has following array formula
{=IF(C2<>"",SUM(IF(FREQUENCY(IF(C$2:C$2000=C2,IF(A$2:A$2000>A2,A$2:A$2000)),A$2:A$2000),1))+1,"")}

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]in order[/TD]
[TD]drop nr[/TD]
[TD]ID[/TD]
[TD]New drop a to z[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]3[/TD]
[TD]A[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]3[/TD]
[TD]A[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]20[/TD]
[TD]2[/TD]
[TD]A[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]35[/TD]
[TD]1[/TD]
[TD]A[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]5[/TD]
[TD]B[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD]4[/TD]
[TD]B[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]15[/TD]
[TD]3[/TD]
[TD]B[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]20[/TD]
[TD]2[/TD]
[TD]B[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]30[/TD]
[TD]1[/TD]
[TD]B[/TD]
[TD]5[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Hi
Welcome to the board

Looking at the formula it seems you just have to change ">" to "<"
 
Upvote 0

Forum statistics

Threads
1,224,558
Messages
6,179,512
Members
452,921
Latest member
BBQKING

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