Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default What is the formula for calculating the age (Expiry Date)

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..
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7,247
Default What is the formula for calculating the age (Expiry Date)

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


On Thu, 8 Apr 2010 10:04:01 -0700, Sanjeev
wrote:

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..

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default What is the formula for calculating the age (Expiry Date)

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()-B210,"OUT OF STANDARD","")

copy formula

"Sanjeev" wrote:

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..

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to calculate expiry date Justina New Users to Excel 6 August 19th 11 07:20 PM
VBA For Expiry date Alam Excel Discussion (Misc queries) 1 November 18th 07 11:36 AM
Expiry date Martina Excel Worksheet Functions 6 February 11th 07 09:57 PM
Date Expiry function Aleks Excel Discussion (Misc queries) 6 December 18th 06 07:59 PM
Date of expiry - warning? Jonas Excel Worksheet Functions 5 January 27th 06 08:21 PM


All times are GMT +1. The time now is 04:00 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"