Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-05-2013, 02:17 PM
Cosmo Cosmo is offline Conditional formatting question based on cell date Windows Vista Conditional formatting question based on cell date Office 2007
Competent Performer
Conditional formatting question based on cell date
 
Join Date: Mar 2012
Posts: 240
Cosmo is on a distinguished road
Default Conditional formatting question based on cell date

I need to format the text in each row in my sheet based on an expiration date entered in column E. If the expiration date is within 2 weeks of the current date (or expired), I need to highlight the entire row red & Bold.



I have it working for the first data row, using the following rule in the 'Format values where this formula is true:

=($E$2 < NOW()+14)

And in the column 'Applies To:

=$A$2:$F$2

And this works to format the first row properly when the date changes. But when I try to alter the formulas to apply to the entire document using the following, it doesn't:

Format values where this formula is true:
=($E$E < NOW()+14)

Applies to:
=$A:$F


Can someone help me with the proper formula so each row will be formatted based on the value in column E for that row? Also, I don't want to apply formatting to the first row, since that has the column headers, so I need to apply to rows 2 to the end.

Thanks
Reply With Quote
  #2  
Old 04-06-2013, 01:15 PM
Kimberly Kimberly is offline Conditional formatting question based on cell date Windows 7 64bit Conditional formatting question based on cell date Office 2010 64bit
Expert
 
Join Date: May 2010
Posts: 517
Kimberly is on a distinguished road
Default

=$e2<now()+14
Reply With Quote
  #3  
Old 04-08-2013, 12:12 PM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Conditional formatting question based on cell date Windows 7 64bit Conditional formatting question based on cell date Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,767
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

I would also recommend using TODAY() (gives a date) instead of NOW() (returns actual date AND time)
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change formula cell range based on cell value Scoth Excel 4 10-25-2012 07:51 AM
Conditional Formatting Expiration Dates Based on Text in Adjacent Cell Frogggg Excel 1 10-25-2011 08:44 PM
Conditional formatting question based on cell date Conditional color fill based on presence of data avanderh Excel 11 07-28-2011 09:10 AM
How can I fill cell color starting from Cell D5 using Conditional formatting instead Learner7 Excel 0 07-08-2010 05:50 AM
Conditional formatting question based on cell date Conditional formatting of cell, Excel 2003 Scaffold Excel 2 05-01-2010 08:56 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:10 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft