DAYS function

DAYS function is introduced in Excel 2013 and it is very useful function to calculate the number of days between two dates.

Syntax:-

= DAYS(end_date, start_date)

Example:- If we apply DAYS function to find out the number of days between 12/31/2012 and 12/01/2012 as =DAYS(“12/31/2012″, ” 12/1/2012″), the answer would be 30.

The beauty of this function is that it will still work if one of the date among two dates, is entered as text, for example =DAYS(“12/31/2012″, “1-Dec-2012″), will still produce result as 30 because as per function property, if either one of the date is text, the formula will treat that as DATEVALUE (date_text) and still return correct result. :)

 

Users are saying about us...

  1. “hi
    dear sir,
    i just want to know that is it any formula which can we delete duplicate record in selected range of cell’s and restrict a cell does not take duplicate records.
    Thanks”

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Terms and Conditions of use

The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.

Visit Us On TwitterVisit Us On FacebookVisit Us On Google PlusVisit Us On Youtube