Sorting out of many similar

soumen21

New Member
Joined
Aug 16, 2019
Messages
29
Dear Experts,

I have a some data as shown below

PartManufacturerStatusCode
123-456AAObsolete6
123-456BBActive3
123-456CCActive2
123-456DDActive3
123-456AAActive3
123-456BBActive3

<colgroup><col span="2"><col><col></colgroup><tbody>
</tbody>

I want to look for part 123-456 and if any of the part among the many listed is active, I want to display the part 123-456 as 'active' in a cell with code smallest of all in another cell else Obsolete with code 6.
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
How about

Book1
ABCDEF
1PartManufacturerStatusCode123-456
2123-456AAObsolete6Active 2
3123-456BBActive3
4123-456CCActive2
5123-458DDActive3
6123-459AAActive3
7123-460BBActive3
Watched
Cell Formulas
RangeFormula
F2=IFERROR("Active "&AGGREGATE(15,6,$D$2:$D$7/(($A$2:$A$7=$F$1)*($C$2:$C$7="Active")),1),"Obsolete 6")
 
Upvote 0
My pleasure & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,214,523
Messages
6,120,034
Members
448,940
Latest member
mdusw

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