![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| 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: * 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 |
|
|||||||
| Microsoft Office support MS Office support forum |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
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 |
|
|
|
| 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 |
|
|
#2 (permalink) |
|
Registered User
|
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. |
|
|
|
|
|
#3 (permalink) |
|
Registered User
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 |
|
|
|
|
|
#4 (permalink) |
|
Registered User
|
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 |
|
|
|
|
|
#5 (permalink) |
|
Registered User
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 |
|
|
|
|
|
#6 (permalink) |
|
Registered User
|
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. |
|
|
|
|
|
#7 (permalink) |
|
Registered User
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 |
|
|
|
|
|
#9 (permalink) |
|
Registered User
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 |
|
|
|
|
|
#11 (permalink) |
|
Registered User
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 |
|
|
|
![]() |
| Thread Tools | |
|
|