Find Duplicate Values using a Criteria

GreyFox8991

New Member
Joined
Jul 20, 2022
Messages
21
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

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
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,223,867
Messages
6,175,062
Members
452,610
Latest member
Sherijoe

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