Sort unique items

meamuka

New Member
Joined
Aug 27, 2016
Messages
25
Office Version
  1. 365
Platform
  1. Windows
Hi there,

I have a table like this:

DateConsumerSorting
27-Nov-17Consum 11
27-Nov-17Consum 12
27-Nov-17Consum 21
27-Nov-17Consum 13
27-Nov-17Consum 31
28-Nov-17Consum 31
28-Nov-17Consum 11
28-Nov-17Consum 32
28-Nov-17Consum 21

<colgroup><col><col><col></colgroup><tbody>
</tbody>

I would like the "Sorting" column to be automatic. I should do some sorting of unique values for each day/each customer. I don't have a clue on it. Anyone can help?
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Is this, copied down, what you mean?
If not please give further explanation/examples.


Book1
ABC
1DateConsumerSorting
227-Nov-17Consum 11
327-Nov-17Consum 12
427-Nov-17Consum 21
527-Nov-17Consum 13
627-Nov-17Consum 31
728-Nov-17Consum 31
828-Nov-17Consum 11
928-Nov-17Consum 32
1028-Nov-17Consum 21
Sorting
Cell Formulas
RangeFormula
C2=COUNTIFS(A$2:A2,A2,B$2:B2,B2)
 
Upvote 0
Solution
Hi Sir,

I just tried your formula and it works. Thanks a lot and sorry for late reply.
 
Upvote 0

Forum statistics

Threads
1,214,985
Messages
6,122,606
Members
449,089
Latest member
Motoracer88

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