How to differentiate duplicates using logic

Nerd1

New Member
Joined
Jul 2, 2018
Messages
3
Hi all! I'm having trouble figuring out how to differentiate duplicates serials, using cell formulas.
Link to file: https://1drv.ms/x/s!ArRB1Ah3M1ZqgpkM7iAAPtt5I9FNvg

- For all INSPECT items, (FOR A SERIAL) , a comment will be inserted in the ACTION 2 column ... following the below behaviour

SERIAL(1) .. ERASURE .... ACTION.... ACTION 2 (refer to screen shot)

- IF ALL ERASURE states are the same, then >> DELETE ONE

ZBHLLSZF .. failed INSPECT DELETE ONE
ZBHLLSZF .. failed INSPECT DELETE ONE
ZBHLLSZF .. failed INSPECT DELETE ONE
ZBHLLSDF .. Successful INSPECT DELETE ONE
ZBHLLSDF .. Successful INSPECT DELETE ONE
ZBHLLS0F .. (blank cell) INSPECT DELETE ONE
ZBHLLS0F .. (BLank cell) INSPECT DELETE ONE

- IF THere's a failed and successful ERASURE, ......
ZBHLLSAF .. Failed INSPECT DELETE
ZBHLLSAF .. Successful INSPECT GOOD

- IF THere's a BLANK CELL and FAILED......
ZBHLLSAF .. Failed INSPECT BAD
ZBHLLSAF ..BLANK CELL INSPECT DELETE

IF THere's a blank cell(empty) and successful ERASURE...

ZBHLLSMF .. (Blank cell) INSPECT DELETE
ZBHLLSMF .. Successful INSPECT GOOD


IF there's two BLANK and a FAILED,....

ZBHLLSJF .. (blank cell) INSPECT DELETE
ZBHLLSJF .. (BLank cell) INSPECT DELETE
ZBHLLSJF .. Failed INSPECT BAD

IF there's a blank, failed and a successful....
ZBHLLSJF .. (BLank cell) INSPECT REMOVE
ZBHLLSJF .. Failed INSPECT REMOVE
ZBHLLSMF .. Successful INSPECT GOOD

GllHwQD.png
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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