Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Conditional Formatting with Colours / Colors

It should work fine. Perhaps something might have gone astray in your
implementation. Try it again, here's some elaboration on the steps

Select the col headers "A" to "C"
Click Format Conditional Formatting
Under Condition 1, make the settings as:
Formula is:
=AND($A1<"",OR(OFFSET($A1,1,)=$A1,OFFSET($A1,-1,)=$A1))
Click Format button Patterns tab Light brown? OK
Click OK at the main dialog

(Remember that row1 is presumed left empty)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
wrote in message
ups.com...
This is not working. Do I need to put something in the "" or the <?



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Conditional Formatting with Colours / Colors

Here's a working construct to illustrate:
http://www.savefile.com/files/259026
CF to color rows for identical successive col A values.xls
(with CF dialog screenshot)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Conditional Formatting with Colours / Colors

Thank you for the construct, but even when I use as template it's not
working. Also, there is an error, because what I am looking for would
be for:

Tree: shaded
Tree: shaded
Rose: unshaded
Moon: shaded
Star: unshaded
Star: unshaded
Horse: shaded


Max wrote:
Here's a working construct to illustrate:
http://www.savefile.com/files/259026
CF to color rows for identical successive col A values.xls
(with CF dialog screenshot)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Conditional Formatting with Colours / Colors

Sorry, I had misread the required alternating shading earlier. My error.

Try David McRitchie's excellent page at:
http://www.mvps.org/dmcritchie/excel/condfmt.htm

Scroll down about a 3rd of the page to:
Color Grouping with alternating colors (#grouping)

Applying it to your situation ..

Use a helper col D
In D1: 0
In D2, copied down:
=MOD(OFFSET($D2,-1,0)+OR($A2<OFFSET($A2,-1,0)),2)

Then CF formula applied with cols A to C selected:
=$D1=1
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
wrote in message
ups.com...
Thank you for the construct, but even when I use as template it's not
working. Also, there is an error, because what I am looking for would
be for:

Tree: shaded
Tree: shaded
Rose: unshaded
Moon: shaded
Star: unshaded
Star: unshaded
Horse: shaded



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Conditional Formatting with Colours / Colors

Thank you so much. This is beautiful! Perfect!

Max wrote:
Sorry, I had misread the required alternating shading earlier. My error.

Try David McRitchie's excellent page at:
http://www.mvps.org/dmcritchie/excel/condfmt.htm

Scroll down about a 3rd of the page to:
Color Grouping with alternating colors (#grouping)

Applying it to your situation ..

Use a helper col D
In D1: 0
In D2, copied down:
=MOD(OFFSET($D2,-1,0)+OR($A2<OFFSET($A2,-1,0)),2)

Then CF formula applied with cols A to C selected:
=$D1=1
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
wrote in message
ups.com...
Thank you for the construct, but even when I use as template it's not
working. Also, there is an error, because what I am looking for would
be for:

Tree: shaded
Tree: shaded
Rose: unshaded
Moon: shaded
Star: unshaded
Star: unshaded
Horse: shaded




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Conditional Formatting with Colours / Colors

Great to hear that !
Thanks for the feedback
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
wrote in message
ps.com...
Thank you so much. This is beautiful! Perfect!



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
sorting a range with conditional formatting renie Excel Worksheet Functions 2 June 2nd 06 10:43 PM
conditional formatting glitches Kat Excel Discussion (Misc queries) 2 May 26th 06 08:16 PM
Keeping conditional formatting when sorting Andrea A Excel Discussion (Misc queries) 0 April 4th 06 03:00 PM
conditional formatting Rich Excel Discussion (Misc queries) 2 April 1st 06 10:27 AM
enhanced conditional formatting Stuart Excel Discussion (Misc queries) 13 November 13th 05 07:20 PM


All times are GMT +1. The time now is 08:55 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"