Unique data count sequence

Remalay

New Member
Joined
Oct 27, 2006
Messages
12
Hey guys,

is there a formula I can use that will look at the data in col.A & col.B then in col.C numerically sequence each time there is match for each occurrence?
eg

Mar Mon 1
Mar Tue 1
Mar Mon 2
Apr Mon 1
Mar Tue 2
Mar Mon 3
Mar Mon 4
Apr Mon 2
Mar Tue 3
etc

Thanks in advance.
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
It's important to post the version of Excel that you are using so we can offer solutions that are compatible with your environment.

With your sample data beginning in cell A1...

Excel 2007 and later
This regular formula begins the count of occurrences
Code:
C1: =COUNTIFS(A$1:A1,A1,B$1:B1,B1)

Pre-Excel 2007
Code:
C1: =SUMPRODUCT(--(A$1:A1=A1),--(B$1:B1=B1))

Copy either formula down as far as you need.

Does that help?
 
Upvote 0
Re: Unique data count sequence - SOLVED

Ooops, sorry about the oversight.

I'm running 2007 and it works a treat, thanks Ron.

rgds
Remalay
 
Upvote 0

Forum statistics

Threads
1,224,503
Messages
6,179,134
Members
452,890
Latest member
Nikhil Ramesh

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