Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Conditional Formating or IF Function

What I want to do is, when I open up excel I want a date to change colour if
it is overdue (Ie thirty-one days from the invoice date). Would I use
conditional formating or would the IF Function be better suited for this?
--
Alexa
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Conditional Formating or IF Function

You would use conditional formatting. Assuming you do not want to format the
cell if it is balnk they use a formula similar to this...

=AND(A1<=NOW() - 30, A1<"")
otherwise you can just use Cell value is and choose less than or equal to
and add
=NOW() - 30
--
HTH...

Jim Thomlinson


"Alexa M." wrote:

What I want to do is, when I open up excel I want a date to change colour if
it is overdue (Ie thirty-one days from the invoice date). Would I use
conditional formating or would the IF Function be better suited for this?
--
Alexa

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Conditional Formating or IF Function

An IF function cannot be used to change a colour, so you will have to
use conditional formatting. Select the cell(s) that you want this to
apply to and click on Format | Conditional Formatting and in the first
box choose Formula Is rather than Cell Value Is. In the next box you
will need to enter a formula something like:

=TODAY()D1+30

where I have assumed that the invoice date is in column D and the
first cell highlighted is in row 1 - adjust to suit your set-up.

Then click on the Format button, select the Patterns tab and choose
the colour you want to use. Click OK twice to exit the dialogue boxes.

Hope this helps.

Pete

On Jul 23, 4:15*pm, Alexa M. wrote:
What I want to do is, when I open up excel I want a date to change colour if
it is overdue (Ie thirty-one days from the invoice date). Would I use
conditional formating or would the IF Function be better suited for this?
--
Alexa


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 21
Default Conditional Formating or IF Function

Use conditional formating.

The formula is assuming A1 is the cell you need formatting.

Formula is =(A1-Today())<31

Make sure you format the cell in the conditional formatting menu.

"Alexa M." wrote:

What I want to do is, when I open up excel I want a date to change colour if
it is overdue (Ie thirty-one days from the invoice date). Would I use
conditional formating or would the IF Function be better suited for this?
--
Alexa

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
conditional formating Paul Excel Discussion (Misc queries) 1 September 21st 06 09:28 PM
Install dates formating using conditional formating? Jerry Eggleston Excel Discussion (Misc queries) 2 November 9th 05 05:49 PM
Conditional Formating & Rand() function BaldySlaphead Excel Discussion (Misc queries) 10 July 20th 05 03:43 PM
Conditional Formating Aviator Excel Discussion (Misc queries) 1 January 12th 05 05:37 PM
Conditional formating? ItalyTravel Excel Discussion (Misc queries) 1 December 22nd 04 07:04 PM


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