PC Review


Reply
Thread Tools Rate Thread

Conditioned formatting

 
 
sgdgr
Guest
Posts: n/a
 
      20th Oct 2003
I have a conditional format based on this formula:

="OR(WEEKDAY(A1)=6;WEEKDAY(A1)=7)"

How do I copy this conditinal format to other cells and have the cell
reference change to the appropriate cell address. If I just copy the format,
using the format painter, it does not update the cell reference!

Jan



 
Reply With Quote
 
 
 
 
sgdgr
Guest
Posts: n/a
 
      20th Oct 2003
I maybe should add, that I cant just coipy the cell, as the cells, that
should use the conditional format already contains different formulas. The
only thing they have in common is that they create a date.

Jan
"sgdgr" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> I have a conditional format based on this formula:
>
> ="OR(WEEKDAY(A1)=6;WEEKDAY(A1)=7)"
>
> How do I copy this conditinal format to other cells and have the cell
> reference change to the appropriate cell address. If I just copy the

format,
> using the format painter, it does not update the cell reference!
>
> Jan
>
>
>



 
Reply With Quote
 
Peo Sjoblom
Guest
Posts: n/a
 
      20th Oct 2003
What are the quotes for? It works for me using the format painter (as I
would expect),
maybe the cell where you copy the format to isn't a numeric?

--

Regards,

Peo Sjoblom


"sgdgr" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> I have a conditional format based on this formula:
>
> ="OR(WEEKDAY(A1)=6;WEEKDAY(A1)=7)"
>
> How do I copy this conditinal format to other cells and have the cell
> reference change to the appropriate cell address. If I just copy the

format,
> using the format painter, it does not update the cell reference!
>
> Jan
>
>
>



 
Reply With Quote
 
sgdgr
Guest
Posts: n/a
 
      20th Oct 2003
I put the quotes here by mistake, they are not in the actula spreadsheet,
but even without them, I cant get it to work When I use the format painter
to paint the format on another cell, it still refers to A1, not fx C17. And
yes, the cell IS numeric, or rather contains a formula with a numeric
output.

Jan

"Peo Sjoblom" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> What are the quotes for? It works for me using the format painter (as I
> would expect),
> maybe the cell where you copy the format to isn't a numeric?
>
> --
>
> Regards,
>
> Peo Sjoblom
>
>
> "sgdgr" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
> > I have a conditional format based on this formula:
> >
> > ="OR(WEEKDAY(A1)=6;WEEKDAY(A1)=7)"
> >
> > How do I copy this conditinal format to other cells and have the cell
> > reference change to the appropriate cell address. If I just copy the

> format,
> > using the format painter, it does not update the cell reference!
> >
> > Jan
> >
> >
> >

>
>



 
Reply With Quote
 
sgdgr
Guest
Posts: n/a
 
      20th Oct 2003
Sorry, got it working now. Almost. Now I can copy the conditional format and
have it change cell reference. I dont know what error i made before, but
anyway it works.

Now I just have created another problem. The Format painter copis all format
to the next cell, but I only need to copy the conditional formatting. Is
there any way to circumvent thus problem?

Jan


"sgdgr" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I put the quotes here by mistake, they are not in the actula spreadsheet,
> but even without them, I cant get it to work When I use the format painter
> to paint the format on another cell, it still refers to A1, not fx C17.

And
> yes, the cell IS numeric, or rather contains a formula with a numeric
> output.
>
> Jan
>
> "Peo Sjoblom" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > What are the quotes for? It works for me using the format painter (as I
> > would expect),
> > maybe the cell where you copy the format to isn't a numeric?
> >
> > --
> >
> > Regards,
> >
> > Peo Sjoblom
> >
> >
> > "sgdgr" <(E-Mail Removed)> wrote in message
> > news:%(E-Mail Removed)...
> > > I have a conditional format based on this formula:
> > >
> > > ="OR(WEEKDAY(A1)=6;WEEKDAY(A1)=7)"
> > >
> > > How do I copy this conditinal format to other cells and have the cell
> > > reference change to the appropriate cell address. If I just copy the

> > format,
> > > using the format painter, it does not update the cell reference!
> > >
> > > Jan
> > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
Peo Sjoblom
Guest
Posts: n/a
 
      20th Oct 2003
If I put a formula that will return a date in A1, then use the same formula
in conditional formatting,
then select the cell, click the format painter, click on for instance C1,
then the format formula will
change from A1 to C1 as in

=OR(WEEKDAY(C1)=6;WEEKDAY(C1)=7)


of course if you are using absolute references

=OR(WEEKDAY($A$1)=6,WEEKDAY($A$1)=7)

then it won't change..



--

Regards,

Peo Sjoblom


"sgdgr" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I put the quotes here by mistake, they are not in the actula spreadsheet,
> but even without them, I cant get it to work When I use the format painter
> to paint the format on another cell, it still refers to A1, not fx C17.

And
> yes, the cell IS numeric, or rather contains a formula with a numeric
> output.
>
> Jan
>
> "Peo Sjoblom" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > What are the quotes for? It works for me using the format painter (as I
> > would expect),
> > maybe the cell where you copy the format to isn't a numeric?
> >
> > --
> >
> > Regards,
> >
> > Peo Sjoblom
> >
> >
> > "sgdgr" <(E-Mail Removed)> wrote in message
> > news:%(E-Mail Removed)...
> > > I have a conditional format based on this formula:
> > >
> > > ="OR(WEEKDAY(A1)=6;WEEKDAY(A1)=7)"
> > >
> > > How do I copy this conditinal format to other cells and have the cell
> > > reference change to the appropriate cell address. If I just copy the

> > format,
> > > using the format painter, it does not update the cell reference!
> > >
> > > Jan
> > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
Jan Kronsell
Guest
Posts: n/a
 
      21st Oct 2003
I got it working now. Thanks.

Is the a way to solve my other problem, copying only the conditional format,
not the other format in the cell?

Jan


"Peo Sjoblom" <(E-Mail Removed)> skrev i en meddelelse
news:(E-Mail Removed)...
> If I put a formula that will return a date in A1, then use the same

formula
> in conditional formatting,
> then select the cell, click the format painter, click on for instance C1,
> then the format formula will
> change from A1 to C1 as in
>
> =OR(WEEKDAY(C1)=6;WEEKDAY(C1)=7)
>
>
> of course if you are using absolute references
>
> =OR(WEEKDAY($A$1)=6,WEEKDAY($A$1)=7)
>
> then it won't change..
>
>
>
> --
>
> Regards,
>
> Peo Sjoblom
>
>
> "sgdgr" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > I put the quotes here by mistake, they are not in the actula

spreadsheet,
> > but even without them, I cant get it to work When I use the format

painter
> > to paint the format on another cell, it still refers to A1, not fx C17.

> And
> > yes, the cell IS numeric, or rather contains a formula with a numeric
> > output.
> >
> > Jan
> >
> > "Peo Sjoblom" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > What are the quotes for? It works for me using the format painter (as

I
> > > would expect),
> > > maybe the cell where you copy the format to isn't a numeric?
> > >
> > > --
> > >
> > > Regards,
> > >
> > > Peo Sjoblom
> > >
> > >
> > > "sgdgr" <(E-Mail Removed)> wrote in message
> > > news:%(E-Mail Removed)...
> > > > I have a conditional format based on this formula:
> > > >
> > > > ="OR(WEEKDAY(A1)=6;WEEKDAY(A1)=7)"
> > > >
> > > > How do I copy this conditinal format to other cells and have the

cell
> > > > reference change to the appropriate cell address. If I just copy the
> > > format,
> > > > using the format painter, it does not update the cell reference!
> > > >
> > > > Jan
> > > >
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
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
SUM conditioned to range =?Utf-8?B?UGVkcm8gQU0=?= Microsoft Excel Worksheet Functions 6 8th Feb 2007 03:55 PM
conditioned functions =?Utf-8?B?Sm9obg==?= Microsoft Excel Worksheet Functions 1 4th Jan 2006 03:55 PM
conditioned functions =?Utf-8?B?Sm9obg==?= Microsoft Excel Worksheet Functions 1 4th Jan 2006 03:15 PM
If Conditioned Macro Dave Microsoft Excel Misc 2 30th Aug 2004 02:55 PM
conditioned sum Tom Microsoft Excel Discussion 1 12th Mar 2004 02:01 PM


Features
 

Advertising
 

Newsgroups
 


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