Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / May 2006

Tip: Looking for answers? Try searching our database.

Results of conditional formatting not what desired.  How do I corr

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Clyde - 11 May 2006 15:34 GMT
My formula produces a dd-mmm-yyyy result which is correct.

Cell L55 formula results are: 17-May-2006

Conditional formatting is set to: Formula is: =L55<=TODAY()

With background pattern set to red.

My problem is that the conditional formatting doesn’t produce the results I
desire which is that if the date in L55 falls within the month and year that
the background will be red.

How do I get the conditional formatting to do this?
Barb Reinhardt - 11 May 2006 15:46 GMT
I'm still not exactly sure what you mean.   If you want it to highlight if
the date and month are in the current month try this in your formula for
conditional formatting.
=AND(MONTH(A1)=MONTH(TODAY()),YEAR(A1)=YEAR(TODAY()))

> My formula produces a dd-mmm-yyyy result which is correct.
>
[quoted text clipped - 9 lines]
>
> How do I get the conditional formatting to do this?
Clyde - 11 May 2006 17:42 GMT
Hi Barb,

Thank you very much your solution worked perfectly.

Clyde

> I'm still not exactly sure what you mean.   If you want it to highlight if
> the date and month are in the current month try this in your formula for
[quoted text clipped - 14 lines]
> >
> > How do I get the conditional formatting to do this?
Bernard Liengme - 11 May 2006 15:49 GMT
Try =AND(MONTH(L55)=MONTH(TODAY()), YEAR(L55)=YEAR(TODAY()))
best wishes
Signature

Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

> My formula produces a dd-mmm-yyyy result which is correct.
>
[quoted text clipped - 11 lines]
>
> How do I get the conditional formatting to do this?
Clyde - 11 May 2006 17:43 GMT
Bonjour Bernard,

    Thank you very much for your help with my Excel question. It worked
perfectly.
    Another question, if you don't mind, and I hope I'm not imposing on your
time.
    Let's say that the results of the cell are less than this month and year.  
How could I get that to show up with whatever color I desire? Or, vice versa,
results are greater than current month and year?
    Thank you again.

A la prochaine, Clyde Barney

> Try =AND(MONTH(L55)=MONTH(TODAY()), YEAR(L55)=YEAR(TODAY()))
> best wishes
[quoted text clipped - 13 lines]
> >
> > How do I get the conditional formatting to do this?
Bernard Liengme - 12 May 2006 13:35 GMT
You can have up to 3 conditional formats in a cell without using VBA
Look for the Add button on the Conditional Formatting button
You could try, for example
cond 1: =AND(MONTH(L55)=MONTH(TODAY()), YEAR(L55)=YEAR(TODAY()))
cond 2: =AND(MONTH(L55)<MONTH(TODAY()), YEAR(L55)=YEAR(TODAY()))
cond 3: =AND(MONTH(L55)>MONTH(TODAY()), YEAR(L55)=YEAR(TODAY()))
best wishes
Signature

Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

> Bonjour Bernard,
>
[quoted text clipped - 28 lines]
>> >
>> > How do I get the conditional formatting to do this?
Clyde - 12 May 2006 14:00 GMT
Hello Bernard,

Thank you again for your help.

I tried your suggestion and changed the date in the column that the L55
formula runs off of, but the results weren't right.  I used a date of
22-Mar-2004 in cell K55 (L55 reference cell) but L55 didn't change to the
color I desired.

What am I doing wrong?

I'm sorry but I'm very new at this stuff.

> You can have up to 3 conditional formats in a cell without using VBA
> Look for the Add button on the Conditional Formatting button
[quoted text clipped - 35 lines]
> >> >
> >> > How do I get the conditional formatting to do this?
Bernard Liengme - 12 May 2006 14:59 GMT
Send me (my private email) the file
Signature

Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

> Hello Bernard,
>
[quoted text clipped - 51 lines]
>> >> >
>> >> > How do I get the conditional formatting to do this?
Clyde - 12 May 2006 15:18 GMT
Hello Bernard,

I sent you my file at the stfx email addy without the truenorth because it
came back as undeliverable when I tried it with truenorth.

I hope you get my file.

Sincerely, Clyde

> Send me (my private email) the file
> > Hello Bernard,
[quoted text clipped - 52 lines]
> >> >> >
> >> >> > How do I get the conditional formatting to do this?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.