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

  • Thread starter Thread starter Sanjeev
  • Start date Start 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..
 
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
 
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
 
Back
Top