Formatting based on multiple criteria

nmgmarques

Board Regular
Joined
Mar 1, 2011
Messages
129
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

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,983
Messages
5,834,709
Members
430,311
Latest member
JAC0617

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
Top