looking for a formula to mark colour on expired medicines

learning_grexcel

Active Member
Joined
Jan 29, 2011
Messages
319
Hi guys,
We got a stock of medicines. Basically, the data contains purchased date and expiry date of the medicines.
I'm looking for a formula that should automatically mark a color say "red" when the medicine is expired.
Say the expiry date is 11th April, the formula should automatically mark red colour on 11th on all the medicines which expires on 11th....
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
you could use conditional format

Code:
=ISBLANK(L2)*(K2<=TODAY()+14)
Applied to column K
This says if column L is empty (you obviously want to write destruction date or disposal date in here)
and the date is within the next 14 days then I used a green format, medication could be a three month expiry widow to get the opportunity to use them up

a second line this shows 7 days, although a month would be better in amber
Code:
=ISBLANK(L2)*(K2<=TODAY()+7)

and the third cf
Code:
=ISBLANK(L2)*(K2<=TODAY())
set in red, unless you have marked as disposed
 
Upvote 0
for effective medicine control, you should have a destruction, removed from stock date, as well as the expiry date

if you change the K to a D (mine was just an example), and have a column that that either states in words, or just a date when it was removed, then that would be the L column, just needs adjusting
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,730
Members
452,939
Latest member
WCrawford

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