#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default EXPIRED or DATE

Hi!

I am using Excel 2003. In cell A1 I have the Current Date.

In Column E3 ( DATE CERTIFIED) I have a date entered that shows when a
person was Certified.
Column E4 (DATE EXPIRES) I want to show the date that the person was
certified in a Mont Year Format. (No Problem, I succeeded in that part of it)
and if has been over a year using A1 or Today's Date, I want the word EXPIRED
to appear where the date once was.

I have played with many veriations of the formula and have gone to online
help etc and have had no success. I really want to use a Spreadsheet and not
a Database for other reasons,. Can what I am asking be done?

Thanks for the help

DATE CERTIFIED DATE EXPIRES

Mar 07 EXPIRED
Apr 08 Apr 09
Jun 08 Jun 09
Mar 09 Mar 10
Dec 08 Dec 09
Aug 07 EXPIRED

Thank you


--
I Have forgotten so much of what I once knew.

"A Stranger is a Friend you haven''t met yet."
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default EXPIRED or DATE

See if this is what you're looking for:

=IF(DATE(YEAR(E3)+1,MONTH(E3),DAY(E3))TODAY(),DAT E(YEAR(E3)+1,MONTH(E3),DAY(E3)),"Expired")

HTH
Elkar


"Craig A." wrote:

Hi!

I am using Excel 2003. In cell A1 I have the Current Date.

In Column E3 ( DATE CERTIFIED) I have a date entered that shows when a
person was Certified.
Column E4 (DATE EXPIRES) I want to show the date that the person was
certified in a Mont Year Format. (No Problem, I succeeded in that part of it)
and if has been over a year using A1 or Today's Date, I want the word EXPIRED
to appear where the date once was.

I have played with many veriations of the formula and have gone to online
help etc and have had no success. I really want to use a Spreadsheet and not
a Database for other reasons,. Can what I am asking be done?

Thanks for the help

DATE CERTIFIED DATE EXPIRES

Mar 07 EXPIRED
Apr 08 Apr 09
Jun 08 Jun 09
Mar 09 Mar 10
Dec 08 Dec 09
Aug 07 EXPIRED

Thank you


--
I Have forgotten so much of what I once knew.

"A Stranger is a Friend you haven''t met yet."

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default EXPIRED or DATE

EXCELLENT!!

YES! that seems to be doing the job, I want.

Thanks so much.

I wasn't even close in my formula and I had been working on it for hours.
Thanks again.
--
I Have forgotten so much of what I once knew.

"A Stranger is a Friend you haven''t met yet."


"Elkar" wrote:

See if this is what you're looking for:

=IF(DATE(YEAR(E3)+1,MONTH(E3),DAY(E3))TODAY(),DAT E(YEAR(E3)+1,MONTH(E3),DAY(E3)),"Expired")

HTH
Elkar


"Craig A." wrote:

Hi!

I am using Excel 2003. In cell A1 I have the Current Date.

In Column E3 ( DATE CERTIFIED) I have a date entered that shows when a
person was Certified.
Column E4 (DATE EXPIRES) I want to show the date that the person was
certified in a Mont Year Format. (No Problem, I succeeded in that part of it)
and if has been over a year using A1 or Today's Date, I want the word EXPIRED
to appear where the date once was.

I have played with many veriations of the formula and have gone to online
help etc and have had no success. I really want to use a Spreadsheet and not
a Database for other reasons,. Can what I am asking be done?

Thanks for the help

DATE CERTIFIED DATE EXPIRES

Mar 07 EXPIRED
Apr 08 Apr 09
Jun 08 Jun 09
Mar 09 Mar 10
Dec 08 Dec 09
Aug 07 EXPIRED

Thank you


--
I Have forgotten so much of what I once knew.

"A Stranger is a Friend you haven''t met yet."

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,104
Default EXPIRED or DATE

Your references to E3 and E4 do not seem to jibe with the table your show.
So I will work with the table
Let's say Mar 07 be in cell E3 and let it have been entered as 1/3/2007 (or
3/1/2007 if you are in USA) and formatted with mmm yy
In F3 to compute the expiry date we could use
=DATE(YEAR(E3)+1,MONTH(E3),DAY(E3))
But we want this to show text "Expired" if that date is prior to today's
date, so we use
=IF(DATE(YEAR(E4)+1,MONTH(E4),DAY(E4))<TODAY(),"Ex pired",DATE(YEAR(E4)+1,MONTH(E4),DAY(E4)))
Remember to still format this with mmm yy.

If you have many rows you might wish to experiment with conditional
formatting to make the expired data stand out in colour
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Craig A." wrote in message
...
Hi!

I am using Excel 2003. In cell A1 I have the Current Date.

In Column E3 ( DATE CERTIFIED) I have a date entered that shows when a
person was Certified.
Column E4 (DATE EXPIRES) I want to show the date that the person was
certified in a Mont Year Format. (No Problem, I succeeded in that part of
it)
and if has been over a year using A1 or Today's Date, I want the word
EXPIRED
to appear where the date once was.

I have played with many veriations of the formula and have gone to online
help etc and have had no success. I really want to use a Spreadsheet and
not
a Database for other reasons,. Can what I am asking be done?

Thanks for the help

DATE CERTIFIED DATE EXPIRES

Mar 07 EXPIRED
Apr 08 Apr 09
Jun 08 Jun 09
Mar 09 Mar 10
Dec 08 Dec 09
Aug 07 EXPIRED

Thank you


--
I Have forgotten so much of what I once knew.

"A Stranger is a Friend you haven''t met yet."



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
How do you format an auto update to delete rows with expired date Rneedshelp Excel Worksheet Functions 0 May 29th 07 04:30 PM
How can I get an expired date to automatically be highlighted? Kylee123 Excel Worksheet Functions 2 March 28th 06 04:45 PM
excel today countif over expired date JonnieP Excel Worksheet Functions 2 November 30th 05 10:38 PM
Expired date to show up automatically renate Excel Discussion (Misc queries) 3 October 28th 05 06:12 PM
Expired Date Formula Donna in Elkin, NC Excel Worksheet Functions 3 January 4th 05 04:43 PM


All times are GMT +1. The time now is 09:18 AM.

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"