Help me to define rank

Robyrubyjane

New Member
Joined
Feb 8, 2023
Messages
13
Office Version
  1. 365
Platform
  1. Windows
hi guys I need help, so i have data like this..
Screenshot_20230208_101743.png

and if I filter one of data in sitename column, it'll be like this..
Screenshot_20230208_102026.png

as we can see there is 4 sitename that has same name and SiteID but each them have different sonumb, so in the column tenant rank i want it'll rank based on the oldest date, like this
Screenshot_20230208_102635.png

if we clear the filter, it'll be like this...
Screenshot_20230208_103233.png

and if I sorted by SiteName, It'll be like this..
Screenshot_20230208_103519.png

there is 15k data in my masterlist, and it'll take lots of time if I input tenant rank one by one which is that I have to filter each siteID to see is there only 1 siteName or maybe more that actually has different sonumb. so do you guys know the formulas or VBA for this problem, I've been looking for answer like a week and still haven't find the answer :'(


TIA!!
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Are sonumb generated by date and are ascending? And are they numeric?
I think you can sort first by sonumb, then your site ID and they will be grouped in the sort siteid, then sonumb.
 
Upvote 0

Forum statistics

Threads
1,223,895
Messages
6,175,257
Members
452,625
Latest member
saadat28

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