Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Microsoft Support > Microsoft Office support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Microsoft Office support MS Office support forum

Reply
 
LinkBack Thread Tools
Old 01-03-2006, 11:45 AM   #1 (permalink)
Registered User
 
texboy's Avatar
 
Join Date: Nov 2003
Posts: 136
OS: WinXP MCE Pro


Excel Formula - Return Expired Dates

Hello guys,

I'd like a formula that can return expired (past) dates and perhaps with a message such; "expired" or something that flags that date.



Please help!
__________________
Asus A8N Sli Dx. AMD Opty 165@2400. XP-90 S/Fan. 1 Raptor HD 10Krpm, 250gb Seagate.
2 DVD+/-RW Sata Plextor Drive. 1 XFX 7800GT
OCZ 2GB (2 x 1GB)DDR SDRAM Dual Ch.Plat. Logitech
THX Z-2300 3PC Spk. Navigator Case 500W Antec Dell 2405FPW 24 in. LCD Monitor
texboy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 01-03-2006, 10:23 PM   #2 (permalink)
Registered User
 
darkwood's Avatar
 
Join Date: May 2005
Location: Indianapolis, IN
Posts: 77
OS: Windows XP Pro


Send a message via Yahoo to darkwood
Probably go with an IF statement...but my suggestion would be to include a cell that shows the current date, as in =TODAY() in whatever cell you wish, so that everytime you open the spreadsheet, that cell will default to the current date.

Then..say the current date is in A1 and your date is in B2

=IF(B2<$A$1, "Expired","")

You could even play with conditional formatting and make the Expired part turn red or another color when it appears, to make it more noticeable to the eye.

Hope that helps.
darkwood is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-06-2006, 02:46 PM   #3 (permalink)
Registered User
 
texboy's Avatar
 
Join Date: Nov 2003
Posts: 136
OS: WinXP MCE Pro


Thank you darwood,

Sorry I didn't reply before, but I got really busy at work.

The IF and the Conditional Formatting worked great.

What about a formula that can flag the date 30 days before it expires... I'd like to be able to notify the licensed personnel that their license is about to expire and that they need to renew it.

Thanks for the help.
__________________
Asus A8N Sli Dx. AMD Opty 165@2400. XP-90 S/Fan. 1 Raptor HD 10Krpm, 250gb Seagate.
2 DVD+/-RW Sata Plextor Drive. 1 XFX 7800GT
OCZ 2GB (2 x 1GB)DDR SDRAM Dual Ch.Plat. Logitech
THX Z-2300 3PC Spk. Navigator Case 500W Antec Dell 2405FPW 24 in. LCD Monitor
texboy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-08-2006, 06:32 PM   #4 (permalink)
Registered User
 
darkwood's Avatar
 
Join Date: May 2005
Location: Indianapolis, IN
Posts: 77
OS: Windows XP Pro


Send a message via Yahoo to darkwood
On your date fields , do a conditional format that says

If cell value is less than or equal to (the cell number of your current date) minus 60. So in my above example in B2, you select conditional formatting, and If cell value is less than or equal to =$D$1-60, then format as you wish.

Try that and let me know if it suits your needs.

Regards,

darkwood
darkwood is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-11-2006, 05:26 PM   #5 (permalink)
Registered User
 
texboy's Avatar
 
Join Date: Nov 2003
Posts: 136
OS: WinXP MCE Pro


I'm confused...
I must be doing something wrong.
Let's see:
A1 =TODAY()
B2 = Expiration dates

I did the conditional formatting as you mentioned.
Am I supposed to add another column to get the date that will expire within 30 days? or do I add another formula in another cell?

Thanks
__________________
Asus A8N Sli Dx. AMD Opty 165@2400. XP-90 S/Fan. 1 Raptor HD 10Krpm, 250gb Seagate.
2 DVD+/-RW Sata Plextor Drive. 1 XFX 7800GT
OCZ 2GB (2 x 1GB)DDR SDRAM Dual Ch.Plat. Logitech
THX Z-2300 3PC Spk. Navigator Case 500W Antec Dell 2405FPW 24 in. LCD Monitor
texboy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-12-2006, 03:33 PM   #6 (permalink)
Registered User
 
darkwood's Avatar
 
Join Date: May 2005
Location: Indianapolis, IN
Posts: 77
OS: Windows XP Pro


Send a message via Yahoo to darkwood
Actually, you can do multiple formulas within conditional formatting. Click the "add" button, to input a second formula. Use the first formula as the 30 day one, and the last formula as the initial one I gave you for the expired ones. Make the 30 day yellow, and the expired, red, for example.

Try that, and hopefully that will fix everything. If not, I'd be glad to create a brief example and send it to you.
darkwood is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-13-2006, 02:19 PM   #7 (permalink)
Registered User
 
texboy's Avatar
 
Join Date: Nov 2003
Posts: 136
OS: WinXP MCE Pro


Can you post an example.

Texboy
__________________
Asus A8N Sli Dx. AMD Opty 165@2400. XP-90 S/Fan. 1 Raptor HD 10Krpm, 250gb Seagate.
2 DVD+/-RW Sata Plextor Drive. 1 XFX 7800GT
OCZ 2GB (2 x 1GB)DDR SDRAM Dual Ch.Plat. Logitech
THX Z-2300 3PC Spk. Navigator Case 500W Antec Dell 2405FPW 24 in. LCD Monitor
texboy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-14-2006, 10:58 AM   #8 (permalink)
Registered User
 
darkwood's Avatar
 
Join Date: May 2005
Location: Indianapolis, IN
Posts: 77
OS: Windows XP Pro


Send a message via Yahoo to darkwood
Sorry texboy...I typed it wrong in the previous message..here is the example I quickly wrote.
Attached Files
File Type: zip Book1.zip (1.6 KB, 82 views)
darkwood is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-17-2006, 10:35 AM   #9 (permalink)
Registered User
 
texboy's Avatar
 
Join Date: Nov 2003
Posts: 136
OS: WinXP MCE Pro


Hey darkwood,

I example you attached is fine, however, this had already worked fine for me. What I was wondering is if for example on your spreadsheet, the date "2-5-06" if I could get a result of, let say: will expire within 30 days or even better: "20 day" (date will expire in 20 days from today).

For example, if one of the licenses will expire on 2-17-06 and today is 1-17-06, when I open the spreadsheet, I want to be able to identify this date that it will be expiring in 31 days from today. And tomorrow (1-18-06), it can show that it will expire in 30 days etc...

We want to know when a specific date will expire 30-31 days before they do.

Thanks for you help. I hope this is not too confusing.
__________________
Asus A8N Sli Dx. AMD Opty 165@2400. XP-90 S/Fan. 1 Raptor HD 10Krpm, 250gb Seagate.
2 DVD+/-RW Sata Plextor Drive. 1 XFX 7800GT
OCZ 2GB (2 x 1GB)DDR SDRAM Dual Ch.Plat. Logitech
THX Z-2300 3PC Spk. Navigator Case 500W Antec Dell 2405FPW 24 in. LCD Monitor
texboy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-18-2006, 04:20 AM   #10 (permalink)
Superhuman Computer
 
ReeKorl's Avatar
 
Join Date: Mar 2005
Location: 6th Circle, The City of Dis, Hell
Posts: 1,610
OS: WinXP Pro SP2

My System

Is this what you are after?
Attached Files
File Type: zip Book1.zip (2.1 KB, 142 views)
__________________
"Sorry, the number you have dialled is imaginary. Please rotate dial by 90 degrees and try again."
ReeKorl is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-18-2006, 11:41 AM   #11 (permalink)
Registered User
 
texboy's Avatar
 
Join Date: Nov 2003
Posts: 136
OS: WinXP MCE Pro


That's exactly what I needed.

Thanks again Reekorl.

Thanks to you too dardwood.
__________________
Asus A8N Sli Dx. AMD Opty 165@2400. XP-90 S/Fan. 1 Raptor HD 10Krpm, 250gb Seagate.
2 DVD+/-RW Sata Plextor Drive. 1 XFX 7800GT
OCZ 2GB (2 x 1GB)DDR SDRAM Dual Ch.Plat. Logitech
THX Z-2300 3PC Spk. Navigator Case 500W Antec Dell 2405FPW 24 in. LCD Monitor
texboy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-17-2008, 10:44 AM   #12 (permalink)
Registered User
 
Join Date: Oct 2008
Posts: 1
OS: Windows XP


Send a message via Skype™ to zoesadler
Re: Excel Formula - Return Expired Dates

Just to say thanks for your thread!

It's really helped me out!!

zoesadler is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 02:02 AM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85