Expirations dates in a worksheet-HELP!

swan08

New Member
Joined
Jun 12, 2008
Messages
5
I have a worksheet with a column of expriation dates mm/dd/yy. Once a month I need to found the ones that are expired for the current month. Can I set up a macro for excel to show ONLY the expriations dates that are expired or that will expire the next month.Kind of like a reminder or tickler.

I hope I made this clear enough.:confused:
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Hi

Simplest thing would be to use the

Autofilter > Custom options to show only the dates you want eg only those less than 01/07/08 etc
 
Upvote 0
Welcome to the board...
You can use Conditional Formatting for that...

Highlight your ranbge of expiration dates
Click Format - Conditional Formatting
Select "Value Is"
Select "Less than or Equal To"
enter =TODAY()
Click Format
Click Patterns
Select A Color to highlight the expired cells with
Click OK
Click OK

This is assuming no BLANKS in the Expiration Date Column. Blanks will get highlighted...That can be resolved if it's a problem for you...

Hope this helps..
 
Upvote 0
Thanks! Does the date have to be in a particular format? I tried another spreadsheet and the date was formatted 12-Jan-90 and it doesn't seem to work.
 
Upvote 0
That probably means they aren't Valid Excel Dates.

To test that, put this formula anywhere
=ISNUMBER(A1)
where A1 is a date
if it returns false, it's not actually a valid date, just a text string that looks like a date
 
Upvote 0

Forum statistics

Threads
1,214,624
Messages
6,120,591
Members
448,973
Latest member
ksonnia

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top