PC Review


Reply
Thread Tools Rate Thread

Dynamic Conditional formatting

 
 
=?Utf-8?B?RFM=?=
Guest
Posts: n/a
 
      7th Nov 2007

I am able to format every other row with conditional formatting, but I need
to take it further. The amount of rows update daily and I only want to format
if there is data in that row. (It can look at the first column for a number >
1)

So lets say my data is from A5 - N145 today, but tomorrow it may be A5 –
N205 or A5 – N20

I have no problem putting this in a macro where it will first clear all of
the formatting and then reformat accordingly.

Thanks,

 
Reply With Quote
 
 
 
 
Don Guillett
Guest
Posts: n/a
 
      7th Nov 2007
formula is>
=if $A5>0
format as desired>copy format

--
Don Guillett
Microsoft MVP Excel
SalesAid Software
(E-Mail Removed)
"DS" <(E-Mail Removed)> wrote in message
news:82E0EDE7-AD04-45C4-8546-(E-Mail Removed)...
>
> I am able to format every other row with conditional formatting, but I
> need
> to take it further. The amount of rows update daily and I only want to
> format
> if there is data in that row. (It can look at the first column for a
> number >
> 1)
>
> So lets say my data is from A5 - N145 today, but tomorrow it may be A5 –
> N205 or A5 – N20
>
> I have no problem putting this in a macro where it will first clear all of
> the formatting and then reformat accordingly.
>
> Thanks,
>


 
Reply With Quote
 
=?Utf-8?B?RFM=?=
Guest
Posts: n/a
 
      7th Nov 2007
.... but this is still not dynamic. Unless I am doing it wrong (probably am)
This will highlight every row that is >0
or
every other row that is selected if A5>0 when I add:
mod(row(),2)=1 to the second condition

I am looking for every other row to be highlighted until the end of the data.

Hope I am clear enough.

Thank you.




"Don Guillett" wrote:

> formula is>
> =if $A5>0
> format as desired>copy format
>
> --
> Don Guillett
> Microsoft MVP Excel
> SalesAid Software
> (E-Mail Removed)
> "DS" <(E-Mail Removed)> wrote in message
> news:82E0EDE7-AD04-45C4-8546-(E-Mail Removed)...
> >
> > I am able to format every other row with conditional formatting, but I
> > need
> > to take it further. The amount of rows update daily and I only want to
> > format
> > if there is data in that row. (It can look at the first column for a
> > number >
> > 1)
> >
> > So lets say my data is from A5 - N145 today, but tomorrow it may be A5 –
> > N205 or A5 – N20
> >
> > I have no problem putting this in a macro where it will first clear all of
> > the formatting and then reformat accordingly.
> >
> > Thanks,
> >

>
>

 
Reply With Quote
 
=?Utf-8?B?RFM=?=
Guest
Posts: n/a
 
      7th Nov 2007
NEVER MIND!

It is good.

Yes, the way I have it will format the row even if there is no value, but it
willn ot print it. (Not sure why, because I thought when I simply formatted
the every other row manually, it would print just a bunch of shaded blank
rows...?)

Anyway, I think we have it.

THANK YOU!

"DS" wrote:

> ... but this is still not dynamic. Unless I am doing it wrong (probably am)
> This will highlight every row that is >0
> or
> every other row that is selected if A5>0 when I add:
> mod(row(),2)=1 to the second condition
>
> I am looking for every other row to be highlighted until the end of the data.
>
> Hope I am clear enough.
>
> Thank you.
>
>
>
>
> "Don Guillett" wrote:
>
> > formula is>
> > =if $A5>0
> > format as desired>copy format
> >
> > --
> > Don Guillett
> > Microsoft MVP Excel
> > SalesAid Software
> > (E-Mail Removed)
> > "DS" <(E-Mail Removed)> wrote in message
> > news:82E0EDE7-AD04-45C4-8546-(E-Mail Removed)...
> > >
> > > I am able to format every other row with conditional formatting, but I
> > > need
> > > to take it further. The amount of rows update daily and I only want to
> > > format
> > > if there is data in that row. (It can look at the first column for a
> > > number >
> > > 1)
> > >
> > > So lets say my data is from A5 - N145 today, but tomorrow it may be A5 –
> > > N205 or A5 – N20
> > >
> > > I have no problem putting this in a macro where it will first clear all of
> > > the formatting and then reformat accordingly.
> > >
> > > Thanks,
> > >

> >
> >

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional Formatting Problem - Dynamic Formula?? GoBucks Microsoft Excel Worksheet Functions 2 3rd May 2009 04:33 AM
Applying conditional formatting to dynamic range Arup C Microsoft Excel Misc 1 17th Oct 2008 02:10 PM
Conditional Formatting No Longer Conditional in 2007 Beta =?Utf-8?B?Q2FjdHVhci1Oby1KdXRzdQ==?= Microsoft Excel Crashes 0 17th Nov 2006 10:01 PM
Conditional Formatting & Dynamic Range =?Utf-8?B?amFtZXM=?= Microsoft Excel Worksheet Functions 2 11th Oct 2005 04:25 PM
Dynamic conditional formatting =?Utf-8?B?Q2hyaXM=?= Microsoft Excel Programming 1 1st Jul 2005 06:01 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:16 PM.