#1   Report Post  
Posted to microsoft.public.excel.misc
Pat Pat is offline
external usenet poster
 
Posts: 210
Default Creating a formula

I need a formula that when a date is typed into a cell the box will turn a
color when the date is within 14 days.
--
Pat
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,726
Default Creating a formula

You need conditional formatting. See
http://www.contextures.com/xlCondFormat01.html

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"Pat" wrote in message
...
I need a formula that when a date is typed into a cell the box will turn a
color when the date is within 14 days.
--
Pat



  #3   Report Post  
Posted to microsoft.public.excel.misc
Pat Pat is offline
external usenet poster
 
Posts: 210
Default Creating a formula

Bob,
Thanks for the website but, it did not help.
--
Pat


"Bob Phillips" wrote:

You need conditional formatting. See
http://www.contextures.com/xlCondFormat01.html

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"Pat" wrote in message
...
I need a formula that when a date is typed into a cell the box will turn a
color when the date is within 14 days.
--
Pat




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,726
Default Creating a formula

Why not? Was it just a case of you could see the principle but not the
detail for your problem, or it just didn't see to apply at all to you?

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"Pat" wrote in message
...
Bob,
Thanks for the website but, it did not help.
--
Pat


"Bob Phillips" wrote:

You need conditional formatting. See
http://www.contextures.com/xlCondFormat01.html

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"Pat" wrote in message
...
I need a formula that when a date is typed into a cell the box will turn
a
color when the date is within 14 days.
--
Pat






  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 54
Default Creating a formula

I put the date entry in cell B2 and in D2 i put =TODAY(), this gives today's
date in D2. Select cell B2, select Format|Conditional Formatting and set the
first box to 'Formula Is' in the entry box write =$B$2<($D$2+14), then click
format and select the format you want when the date is within 14 days of
today or the date has passed.

"Pat" wrote:

I need a formula that when a date is typed into a cell the box will turn a
color when the date is within 14 days.
--
Pat



  #6   Report Post  
Posted to microsoft.public.excel.misc
Pat Pat is offline
external usenet poster
 
Posts: 210
Default Creating a formula

This is what I need: I put a date in cell D3-D25, it's the date someone
started the job. The date in cell E3-E25 are when the personnel are due to
leave. I want the cells E3-E25 to be highlighted red when the personnel are
2 weeks from leaving. I put the formula in the cells and they all turn red;
even the ones where they don't leave until March or July.
--
Pat


"Bob Phillips" wrote:

Why not? Was it just a case of you could see the principle but not the
detail for your problem, or it just didn't see to apply at all to you?

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"Pat" wrote in message
...
Bob,
Thanks for the website but, it did not help.
--
Pat


"Bob Phillips" wrote:

You need conditional formatting. See
http://www.contextures.com/xlCondFormat01.html

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"Pat" wrote in message
...
I need a formula that when a date is typed into a cell the box will turn
a
color when the date is within 14 days.
--
Pat






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
Creating a formula JMP Excel Worksheet Functions 2 December 8th 06 12:42 PM
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
Creating a complicated formula Cheryl Excel Worksheet Functions 3 July 19th 06 12:50 PM
need help creating formula based on cell value Brad Excel Discussion (Misc queries) 3 April 1st 05 07:51 PM
Creating a specific formula booroni New Users to Excel 3 March 26th 05 10:05 AM


All times are GMT +1. The time now is 05:48 AM.

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"