Conditional Formatting Help (Another one!)

marcolupo

New Member
Joined
Sep 20, 2006
Messages
1
Hi All..
Great forum. Wondering if one of you could help me too. Here goes!

I have 3 rows and 2 columns of numbers:
1 1
2 1
2 3

Now you'll see if you SUM those numbers up the total is 5 in both cases, but I need to indicate that this total is made up from a different series of numbers.
I.e. what I want to do with the Cond. Format is to show 3 colours (RAG rating). Now the 1st column's SUM of 5 has two number '2's in it therefore I want it to be Green......but as the 2nd column's SUM of 5 has two number '1's in it I want it to be Amber. Oh, and as a side note.... if there were three number '1's then the format would be red.

P.s. I tried to install the HTML cretor to help you help me but I've not been able to add the Addin yet. Doh. Will keep trying though.
Many thanks in advance for any help you guys/girls can offer.
 

Excel Facts

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

fairwinds

MrExcel MVP
Joined
May 15, 2003
Messages
8,638
Welcome to the board!

Try these 3 formulas in the "Formula is" option in CF:

=COUNTIF(A1:A3,MAX(A1:A3))=2
=COUNTIF(A1:A3,MAX(A1:A3))=1
=COUNTIF(A1:A3,MAX(A1:A3))=3
 

Forum statistics

Threads
1,170,943
Messages
5,872,875
Members
432,950
Latest member
ALeXceLBr

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