J JimiH Registered User. Local time Today, 08:42 Joined Feb 5, 2004 Messages 12 Jul 9, 2009 #1 Hello Excel 2007 When I apply CF to cells containing duplicate values the selection changs to the desired colour. I want excel to alternate between two colours so the duplicate values are easily identifiable in their groups. See attached jpeg. Thanks Geoff Attachments cells.jpg 17 KB · Views: 203
Hello Excel 2007 When I apply CF to cells containing duplicate values the selection changs to the desired colour. I want excel to alternate between two colours so the duplicate values are easily identifiable in their groups. See attached jpeg. Thanks Geoff
HaHoBe Locomotive Breath Local time Today, 09:42 Joined Mar 1, 2002 Messages 233 Jul 9, 2009 #2 Hi, Geoff , if you could use another cell - use column C for this and put a 1 in C1 and the formula into the next ones: Code: =IF(B1=B2,C1,IF(C1=1,2,1)) Then you can adjust to shade the ranges according to 1 and 2 in column C. Ciao, Holger
Hi, Geoff , if you could use another cell - use column C for this and put a 1 in C1 and the formula into the next ones: Code: =IF(B1=B2,C1,IF(C1=1,2,1)) Then you can adjust to shade the ranges according to 1 and 2 in column C. Ciao, Holger
J JimiH Registered User. Local time Today, 08:42 Joined Feb 5, 2004 Messages 12 Jul 10, 2009 #3 Thanks worked perfectly Geoff
J JimiH Registered User. Local time Today, 08:42 Joined Feb 5, 2004 Messages 12 Jul 10, 2009 #4 Hi Instead of Code: =IF(B1=B2,C1,IF(C1=1,2,1)) How about if B1 was within +/- 10% of B2? Thanks Geoff
Hi Instead of Code: =IF(B1=B2,C1,IF(C1=1,2,1)) How about if B1 was within +/- 10% of B2? Thanks Geoff
HaHoBe Locomotive Breath Local time Today, 09:42 Joined Mar 1, 2002 Messages 233 Jul 10, 2009 #5 Hi, Geoff, as the value has to be inside a given range try this: Code: =IF(AND(B1>=B2*0.9,B1<=B2*1.1),C1,IF(C1=1,2,1)) HTH Holger
Hi, Geoff, as the value has to be inside a given range try this: Code: =IF(AND(B1>=B2*0.9,B1<=B2*1.1),C1,IF(C1=1,2,1)) HTH Holger
J JimiH Registered User. Local time Today, 08:42 Joined Feb 5, 2004 Messages 12 Aug 6, 2009 #6 Once again, Thank You!