Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Less than or Greater than

Hi
I am trying to write a formula that will flag when a date is exceeded by a
set number of days:
I.E. a specified date =<7days or 7days = "NO"
a specified date =<8days or 8days = "YES"

Is this possible and to colour the YES and NO red and green?
Thanks
Andy
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default Less than or Greater than

Your criteria is in conflict! The two options, <= 7 or 7 includes
everything, thus how can you get to your 2nd criteria.

As a start, you need something like
=IF(TODAY()=B2+7,"Yes","No")
where B2 contains your speicfied date.
Also, as for the coloring, take a look at conditional formatting
(Format-Conditional Format)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Andy B" wrote:

Hi
I am trying to write a formula that will flag when a date is exceeded by a
set number of days:
I.E. a specified date =<7days or 7days = "NO"
a specified date =<8days or 8days = "YES"

Is this possible and to colour the YES and NO red and green?
Thanks
Andy

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
greater than less than Rene Excel Discussion (Misc queries) 7 November 2nd 08 01:16 PM
Greater Than and less than HELP PLEASE Chris In Need Excel Discussion (Misc queries) 4 May 8th 08 10:56 PM
If sum greater than 12 use 12 Smudge Excel Discussion (Misc queries) 7 April 26th 07 12:22 PM
greater than but less than Aaron Excel Discussion (Misc queries) 5 April 21st 07 09:00 PM
if greater then 99 then 1 if greater then 199 then two N.R. Excel Worksheet Functions 2 June 23rd 05 06:14 PM


All times are GMT +1. The time now is 03:36 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"