#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default Expiry date

Dear experts,
I have columns with expiry dates for first aid certificates. How do I
change the colour of the cell to alert me to the fact that the date for
renewal has arrived.
kind regards
Martina
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default Expiry date

Hi experts again,
I did find the TODAY function which I can use in the conditional formatting
area. Works fine. It does raise another question though. What if I want to
have another cell somewhere else on the sheet (say A4) which looks at the
cell with the date in it (Z4) and if Z4 has expired A4 will turn red also.

I have tried to make it happen, and it does but I get the date displayed in
A4 aswell. I only want the cell to turn red, I don't want any text in it.
I want it to be like an alert button to say that a date has expired in
another part of the sheet. Is this possible?

regards
Martina
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 329
Default Expiry date

Hi Martina,

You can do this with conditional formatting:
.. Select any cell with an expiry date
.. Choose Format|Conditional Formatting, then
. select 'less than' from the second drop-down box
. enter '=TODAY()' in the third box
. click Format|Patterns and choose the colour you want
. click OK, OK
.. Copy the cell
.. Select the other cells with expiry dates
.. Choose Edit|Paste SpecialFormatsOK

Cheers

--
macropod
[MVP - Microsoft Word]


"Martina" wrote in message ...
| Dear experts,
| I have columns with expiry dates for first aid certificates. How do I
| change the colour of the cell to alert me to the fact that the date for
| renewal has arrived.
| kind regards
| Martina


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default Expiry date


Hi Macropod,

Thank you the TODAY function works fine. It does raise another question
though. What if I want to have another cell somewhere else on the sheet (say
A4) which looks at the cell with the expiry date in it (Z4) and if Z4 has
expired A4 will turn red also.

I have tried to make it happen, and it does but I get the date displayed in
A4 aswell. I only want the cell to turn red, I don't want any text in it.
I want it to be like an alert button to say that a date has expired in
another part of the sheet. Is this possible?

Can a cell in the sheet adopt the formatting settings of another cell in the
sheet without taking on the text/numeric entry?

regards
Martina
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 903
Default Expiry date

You can use Conditional Formatting
http://www.mvps.org/dmcritchie/excel/condfmt.htm

---
HTH,
David McRitchie, Microsoft MVP - Excel
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Martina" wrote in message ...

Hi Macropod,

Thank you the TODAY function works fine. It does raise another question
though. What if I want to have another cell somewhere else on the sheet (say
A4) which looks at the cell with the expiry date in it (Z4) and if Z4 has
expired A4 will turn red also.

I have tried to make it happen, and it does but I get the date displayed in
A4 aswell. I only want the cell to turn red, I don't want any text in it.
I want it to be like an alert button to say that a date has expired in
another part of the sheet. Is this possible?

Can a cell in the sheet adopt the formatting settings of another cell in the
sheet without taking on the text/numeric entry?

regards
Martina





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 329
Default Expiry date

Hi Martina,

You can do this too with conditional formatting:
.. Select any cell that you want to change (even one with an expiry date)
.. Choose Format|Conditional Formatting, then
. select 'formula is' from the first drop-down box
. enter '=A1=TODAY()' in the second box
. click Format|Patterns and choose the colour you want
. click OK, OK
.. Copy the cell
.. Select the other cells with expiry dates
.. Choose Edit|Paste SpecialFormatsOK
In the above example, 'A1' is the address of the cell with the expiry date. You can also use absolute row/column referencing if you
want (eg if you want to apply the formatting to a number of columns on the same row, based on the value in A1, you might use '$A1').

BTW, with both examples I've posted, if you change '=TODAY()' to '<=TODAY()', cells with expiry dates on or before today will active
the conditional formatting.

Cheers


--
macropod
[MVP - Microsoft Word]


"Martina" wrote in message ...
|
| Hi Macropod,
| Thank you the TODAY function works fine. It does raise another question
| though. What if I want to have another cell somewhere else on the sheet (say
| A4) which looks at the cell with the expiry date in it (Z4) and if Z4 has
| expired A4 will turn red also.
|
| I have tried to make it happen, and it does but I get the date displayed in
| A4 aswell. I only want the cell to turn red, I don't want any text in it.
| I want it to be like an alert button to say that a date has expired in
| another part of the sheet. Is this possible?
|
| Can a cell in the sheet adopt the formatting settings of another cell in the
| sheet without taking on the text/numeric entry?
|
| regards
| Martina


  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default Expiry date

Thank you very much. It's working:) All looks very pretty.
regards
Martina


"macropod" wrote:

Hi Martina,

You can do this too with conditional formatting:
.. Select any cell that you want to change (even one with an expiry date)
.. Choose Format|Conditional Formatting, then
. select 'formula is' from the first drop-down box
. enter '=A1=TODAY()' in the second box
. click Format|Patterns and choose the colour you want
. click OK, OK
.. Copy the cell
.. Select the other cells with expiry dates
.. Choose Edit|Paste SpecialFormatsOK
In the above example, 'A1' is the address of the cell with the expiry date. You can also use absolute row/column referencing if you
want (eg if you want to apply the formatting to a number of columns on the same row, based on the value in A1, you might use '$A1').

BTW, with both examples I've posted, if you change '=TODAY()' to '<=TODAY()', cells with expiry dates on or before today will active
the conditional formatting.

Cheers


--
macropod
[MVP - Microsoft Word]


"Martina" wrote in message ...
|
| Hi Macropod,
| Thank you the TODAY function works fine. It does raise another question
| though. What if I want to have another cell somewhere else on the sheet (say
| A4) which looks at the cell with the expiry date in it (Z4) and if Z4 has
| expired A4 will turn red also.
|
| I have tried to make it happen, and it does but I get the date displayed in
| A4 aswell. I only want the cell to turn red, I don't want any text in it.
| I want it to be like an alert button to say that a date has expired in
| another part of the sheet. Is this possible?
|
| Can a cell in the sheet adopt the formatting settings of another cell in the
| sheet without taking on the text/numeric entry?
|
| regards
| Martina



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
Date format issue CindyLF1 New Users to Excel 3 June 12th 06 06:18 PM
Insert Automatic, Non-Updating Date Stamp Ken Zenachon Excel Discussion (Misc queries) 8 January 18th 06 06:52 PM
Need to Improve Code Copying/Pasting Between Workbooks David Excel Discussion (Misc queries) 1 January 6th 06 03:56 AM
Another Date issue. TimM Excel Worksheet Functions 1 November 17th 05 01:58 AM
Cond Format: Expiry Date Alert ChrisTMI Excel Discussion (Misc queries) 4 November 4th 05 12:09 PM


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