Find Duplicate Values using a Criteria

GreyFox8991

New Member
Joined
Jul 20, 2022
Messages
23
Office Version
  1. 2016
Platform
  1. Windows
Hello Excel Community,

Wondering if someone might have some insight into the following. I am trying to find duplicate values based on a criteria which i will explain below. I am attempting to use the countifs formula to review but i keep getting an error and I cannot figure out what might be the exact issue. I have a Hierarchy column which shows the following, with "1" being considered the "TRUE" Request value:

1 = Complete
2 = Open
3 = Cancel

What I am trying to accomplish is a formula showing the 1 hierarchy value as the "True Request" while pinpointing the hierarchy values 2 and 3 as duplicates. Does anyone have a better way to show this possibly? Any insight would be greatly appreciated!

The formula I am attempting is =COUNTIFS(B3:B5|B3|$D$2|D3)

Book14
ABCDE
1IDOrderIDStatusHierarchyDuplicate?
29999999123456Cancel3#VALUE!
3999999978910112Complete1#VALUE!
4999999913141516Open2#VALUE!
Sheet3
Cell Formulas
RangeFormula
E2:E4E2=COUNTIFS(B2:B4,B2,$D$2,D2)
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Hello, would this work for you:

Excel Formula:
=IF(D2=AGGREGATE(15,6,($D$2:$D$4)/($A$2:$A$4=A2),1),"True Request","Duplicate")
 
Upvote 0

Forum statistics

Threads
1,224,809
Messages
6,181,075
Members
453,020
Latest member
mattg2448

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