Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 30
Default Conditional format based off of a logical if statement

hello,
I need cell H5 to turn red, if I5="y" and H5 is less than 90 days from today
date. I could get it to work for the =i5="y" but I cant seem to get the
second piece to work,(=H5-today()<91) I tired it as a second condition and
also trying to put it all as one condition. Any suggestions. I am using
Exel 03
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Conditional format based off of a logical if statement

You want to use an AND statement something like this...

=and(i5="y", H5-today()<91)
--
HTH...

Jim Thomlinson


"cyndi" wrote:

hello,
I need cell H5 to turn red, if I5="y" and H5 is less than 90 days from today
date. I could get it to work for the =i5="y" but I cant seem to get the
second piece to work,(=H5-today()<91) I tired it as a second condition and
also trying to put it all as one condition. Any suggestions. I am using
Exel 03
Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 347
Default Conditional format based off of a logical if statement

Hi,

Try something like this:

=AND(I5="yes",H5-TODAY()<=90)

HTH
Jean-Guy

"cyndi" wrote:

hello,
I need cell H5 to turn red, if I5="y" and H5 is less than 90 days from today
date. I could get it to work for the =i5="y" but I cant seem to get the
second piece to work,(=H5-today()<91) I tired it as a second condition and
also trying to put it all as one condition. Any suggestions. I am using
Exel 03
Thanks

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 30
Default Conditional format based off of a logical if statement

you guys are the best, it worked, figures I was just putting the and in the
wrong place!! Thank for all your help!

"pinmaster" wrote:

Hi,

Try something like this:

=AND(I5="yes",H5-TODAY()<=90)

HTH
Jean-Guy

"cyndi" wrote:

hello,
I need cell H5 to turn red, if I5="y" and H5 is less than 90 days from today
date. I could get it to work for the =i5="y" but I cant seem to get the
second piece to work,(=H5-today()<91) I tired it as a second condition and
also trying to put it all as one condition. Any suggestions. I am using
Exel 03
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
IF Statement based on Conditional format Hendrik[_2_] Excel Discussion (Misc queries) 6 March 28th 07 10:14 AM
Logical Statement Harley Excel Discussion (Misc queries) 1 January 4th 07 02:37 AM
If statement based on currency format juliejg1 Excel Worksheet Functions 4 September 19th 06 03:40 PM
Conditional formatting based on if statement. kevin Excel Worksheet Functions 2 January 12th 05 03:07 AM
How do I set a Conditional Format for ROWs based on the value of . Wes T Excel Discussion (Misc queries) 3 December 29th 04 06:10 PM


All times are GMT +1. The time now is 12:21 PM.

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

About Us

"It's about Microsoft Excel"