Rank products by date

SimWHorn

New Member
Joined
Oct 18, 2022
Messages
3
Office Version
  1. 365
Platform
  1. Windows
I have lost hope of me being able to work this one out, although sure easy for you all

I am trying to rank each product individually by date in excel, so effectively each product in the list will have its own rank by date.
For example
Tomato Sauce rank 1, 2, 3, 4 etc.
Black Bean CPU rank 1, 2, 3, 4 etc.

The list could be as small as 4 different line items, or could be for 3,000+ so finding a formula will save LOTS of time

I have tried =rank combined with countifs but not able to get it to do each product in the list individually.

Appreciate any help you can give me
 

Attachments

  • Product by Rank.PNG
    Product by Rank.PNG
    38.6 KB · Views: 20

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Hi & welcome to MrExcel.
How about
Excel Formula:
=COUNTIFS(A:A,A2,B:B,">"&B2)+1
 
Upvote 0
Hi & welcome to MrExcel.
How about
Excel Formula:
=COUNTIFS(A:A,A2,B:B,">"&B2)+1
Hi, that is excellent, only thing is I need to have it rank in ascending order, rather than descending if you would be so kind
 
Upvote 0
In that case just change the > to <
 
Upvote 0
Solution
Glad to help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,178
Members
452,615
Latest member
bogeys2birdies

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