Counting duplicates

robert0803

Board Regular
Joined
Aug 3, 2005
Messages
115
Here is what I have:

Seq# Route# #of Stops
20 200 ?
30 200 ?
30 200 ?
40 200 ?
20 201 ?
30 201 ?
40 201 ?
40 201 ?
30 202 ?


I am trying to calculate the # of stops on a route sheet for each particular route#. Some entries have duplicate sequence #'s and I would like for those duplicates to count as one. Any help would be great!!
 
Last edited:

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

texasalynn

Well-known Member
Joined
May 19, 2002
Messages
8,458
does this work?

Excel Workbook
ABC
1Seq#Route##of Stops
2202003
3302003
4302003
5402003
6202013
7302013
8402013
9402013
10302021
Sheet5
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,871
Messages
5,834,150
Members
430,261
Latest member
quangtinator

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
Top