Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Tat
 
Posts: n/a
Default Cond Format:re color 2 cols, skip 2 cols

I would like to color 2 adjacent columns, then skip 2 columns and color the
next two in a array. I can do every other column with the mod(row) formula
but I can't quite figure out how to color any number of columns, and skip a
number of columns etc.
Thanks
  #2   Report Post  
kk
 
Posts: n/a
Default

First condition =mod(column(),4)<2
Second condition =mod(column(),4)1



"Tat" wrote in message
...
I would like to color 2 adjacent columns, then skip 2 columns and color the
next two in a array. I can do every other column with the mod(row) formula
but I can't quite figure out how to color any number of columns, and skip a
number of columns etc.
Thanks


  #3   Report Post  
Tat
 
Posts: n/a
Default

I added +1 before the 4 in the first condition. With your formula it colored
the first column only, skipped 2 then coloured the next two, skipped 2,
colored the next 2 etc.
Thanks for your input.

"kk" wrote:

First condition =mod(column(),4)<2
Second condition =mod(column(),4)1



"Tat" wrote in message
...
I would like to color 2 adjacent columns, then skip 2 columns and color the
next two in a array. I can do every other column with the mod(row) formula
but I can't quite figure out how to color any number of columns, and skip a
number of columns etc.
Thanks



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



All times are GMT +1. The time now is 04:02 PM.

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"