Formatting based on multiple criteria

nmgmarques

Board Regular
Joined
Mar 1, 2011
Messages
133
Office Version
  1. 365
Platform
  1. Windows
Hi all:

Consider:

Book1
ABCDEFGH
1N InternoAnoECMAplicvelAssuntoResponsvelDataConcluso
212016500000011599Specification 784_0048Test User2016.02.102016.02.17
322016500000011234Specification 123_54687Test User2016.03.102016.03.17
432016500000011599Specification 784_0048Test User2016.03.112016.03.18
512016500000011599Specification 784_0048Test User2016.03.122016.03.19
612016500000011599ASpecification 784_0048Test User2016.03.132016.05.11
722016500000011234NASpecification 123_54687Test User2016.03.13-
Index


This table is updated automatically from another workbook. Whenever a new copy of the other workbook is created, it pushes data to this one, filling in the columns.

When a ECM is created, nothing is highlighted. My issue is when duplicates start to arise. I need to format them based on the case.

  • If the ECM exists and data in columns A through E are identical, the C cell should highlight red. This indicates a duplicate entry. Rows 2 and 5.
  • If the ECM exists and data in columns C through E are identical and A and B differ, cells A,B and C should highlight red. This indicates someone tried to create a new number for an existing ECM. Rows 2 and 4.
  • If the ECM exists and data in columns A through E (with the exception of D) are identical, the C cell should highlight green. This indicates the ECM has been either approved or rejected. Rows 2 and 6; 3 and 7.


The very first occurrence of the ECM number will always be either no fill (in case there is no other mention of the ECM in C) or green. Only the 2nd and following references should trigger the formatting above.

Is this at all possible? I don't believe conditional formatting will cover this.
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

Forum statistics

Threads
1,214,830
Messages
6,121,834
Members
449,051
Latest member
excelquestion515

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