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

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
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,221,539
Messages
6,160,412
Members
451,644
Latest member
hglymph

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