LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 55
Default Conditional format row by column date

the AND(YEAR($E1)1975,YEAR($E1)<2050) returns #VALUE if there is text or
blank but using the CELL("format", E1) then doing a logic function if D4 came
out correct. Thanks for putting me on the right track.


"Jacob Skaria" wrote:

The below should point you in the right direction. Select rows to be
formatted and use the below CF formula which would check whether the year
returned from the cell is above 1975 and less than 2050....Please note that
this can only be used if you are sure if the numbers in your range are not
more than 27759. Since excel stores date as numbers a number like 27760 is
treated as 1/1/1976..

=OR(AND(YEAR($E1)1975,YEAR($E1)<2050),AND(YEAR($G 1)1975,YEAR($G1)<2050),AND(YEAR($K1)1975,YEAR($K 1)<2050))

PS: Refer help on CELL(info_type,reference) if you are looking for cell
format..


If this post helps click Yes
---------------
Jacob Skaria


"PhilosophersSage" wrote:

I need to conditional format a row based on whither a column (E, G, or K) has
a date (not text or number) is there a way to do this? I can get based on
blank, or number but not just date.

 
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
Conditional Format - Date + 7 JDB Excel Discussion (Misc queries) 2 April 28th 08 02:21 PM
Conditional Format is date is Sat or Sun Sunnyskies Excel Discussion (Misc queries) 1 February 1st 07 12:40 PM
Conditional format when date is near tommcbrny Excel Worksheet Functions 2 December 15th 06 04:16 PM
Date Conditional Format jk Setting up and Configuration of Excel 3 September 25th 06 03:17 PM
Conditional Format - Date R.C. New Users to Excel 1 July 13th 06 06:50 PM


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