What is the formula for calculating the age (Expiry Date)

S

Sanjeev

If an product is created on 5th of April and after 5 days i.e., on 10th of
April it is considered as out of standard what is the excel based formula i
can use..
 
C

Chip Pearson

Dates are just numbers (number of days since 0-Jan-1900) so you can do
simple subtractions. E.g,

=IF(TODAY()-DATE(2010,4,5)>=5,"Out Of Spec","OK")

Cordially,
Chip Pearson
Microsoft Most Valuable Professional,
Excel, 1998 - 2010
Pearson Software Consulting, LLC
www.cpearson.com
 
E

Eduardo

Hi,
you have the production dates on columnB and in C you want a formula to tell
you if product is out of standard , so enter

=IF(TODAY()-B2>10,"OUT OF STANDARD","")

copy formula
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top