How to only count duplicates once without removing duplicate data

Demona26

New Member
Joined
Feb 22, 2018
Messages
40
Office Version
  1. 365
Platform
  1. Windows
Hi All. I'm hoping someone can help.
I have a column of data that has duplicates. I do not want to remove duplicates as I still need the information in those rows for a sum count of the price, but I do need to identify 1 of each duplicate value in another column. So, I need the end result to look like this:

Opportunity Number
Unique Count
O-015752
1
O-015752
O-015752
O-15555
1
O-15555
O-98587
1

<tbody>
</tbody>

I have tried Conditional Formatting, with a =a1=a2 formula, but it doesn't seem to pick up all the values as some of the opportunity numbers can have up to 10 rows, and then manually enter the unique count based on color, but it doesn't sort it properly (some Opportunities are highlighted multiple times, or not at all.

Please note that I do not know VBA at all. (Some of you may recognize this is out of Salesforce - I know I can run a different type of report to only count opportunities, but I need it to do this from Excel)

Any Suggestions?
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
OMG that worked! Thank you so much. This has been bugging me all day!
 
Upvote 0

Forum statistics

Threads
1,215,528
Messages
6,125,338
Members
449,218
Latest member
Excel Master

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