Excel Formula - Count duplicates in Column B per Name (Column A)?

Status
Not open for further replies.

DaleVacaro

New Member
Joined
Jun 1, 2021
Messages
11
Office Version
  1. 365
Platform
  1. Windows
  2. Web
Hi All,

Sorry not good with excel formula, can you help me construct formula how can I count how many duplicates we have in Column B per Name (Column A)?

Sample result should be:

Rose - 1 (2 Red)

Joy - 1 (2 Purple)

Angel - 2 (2 Blue & 2 Red)
1623031260679.png
l
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
using a countifs() and copy down
=COUNTIFS($A$2:$A$11,A2,$B$2:$B$11,B2)

Then you will see against the cell how many found

or a pivot table may help here
 
Upvote 0
Example Excel Forum 2.xlsx
ABCDEFGH
1nameColourDuplicatesnameColourCount of Duplicates
2roseblue1angelblue2
3roseblue1roseblue2
4rosered1red2
5rosered1Grand Total6
6angelblue1
7angelblue1
8angelpink 
9 
Sheet1
Cell Formulas
RangeFormula
C2:C9C2=IF(COUNTIFS($A$2:$A$10,A2,$B$2:$B$10,B2)>1,COUNTIFS($A$2:$A$10,A2,$B$2:$B$10,B2)/2,"")
 
Last edited:
Upvote 0
Solution
Status
Not open for further replies.

Forum statistics

Threads
1,223,892
Messages
6,175,236
Members
452,621
Latest member
Laura_PinksBTHFT

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