Android Century
  • Home
  • Android Zone
    • Android Apps
    • Android Games
    • Apps APk Files
    • Games Apk Files
    • Apps Hack Tricks
  • Reviews
  • Fantasy Zone
    • Entertainment
    • Quotes and Status
    • Life Style
    • Home Made Tips
    • Hair Care
    • Skin Care
    • Fantasy Tips
  • Tricks
    • Free Recharge
    • Free Internet
    • shopping Cashback
    • Recharge Cashback
  • Tech
  • Mobiles
  • Gadgets
  • News
  • How To's
  • Software
Breaking
Loading...

Featured post

How to Take Great Photos With Apple's iPhone X

Recent Posts

Labels

  • Android Apk Files
  • Android Apps
  • Android Games
  • Apps Apk Files
  • Entertainment
  • Fantasy Tips
  • Gadgets
  • Hair Care
  • HomeMade Tips
  • How To's
  • News
  • Quotes
  • Quotes & Status
  • Recharge Cashback
  • Recharge Promo Codes
  • Shopping Cashback
  • Technology
  • skin care
Home / How To's / Meet DATEDIF(), Excel’s secret Date & Time function that's still handy

Meet DATEDIF(), Excel’s secret Date & Time function that's still handy

Latest Govt. Jobs 23:02:00 How To's Edit
microsoft excel logo primary

DATEDIF(), which means Date + Dif, is a compatibility function left over from Lotus 1-2-3 that Microsoft adopted in Excel version 2000, which is the only version that explains how this function works. It’s operational in all Excel versions, but it’s not on the Formulas menu or in the Help menus after Excel 2000. If your spreadsheet experiences began with Lotus, which is true for many thousands of users, you’ll be happy to know that this old Lotus function is still alive and kicking.
The purpose of this function is to calculate the time between a user-specified starting and ending date in days, months, or years. The arguments for this function are:
Start_date: start date in Excel date serial number format
Your new PC needs these 15 free, excellent programs
End_date: end date in Excel date serial number format
Unit: the time unit to use (years, months, or days)
And the syntax looks like this: =DATEDIF(start_date,end_date,unit)
The “unit” is specified using the unit argument, which is a text code. For example, the following codes explain how these values are used in the function’s syntax:
Use the letter “Y” to specify the difference in full years
Use the letter “M” to specify the difference in full months
Use the letter “D” to specify the difference in days
Use the letters “MD” to show the difference in days, and ignore months and years
Use the letters “YM” to show the difference in months, and ignore days and years
Use the letters “YD” to show the difference in days, and ignore years
You can use the DATEDIF() function to determine someone’s age in years, months, and days; to calculate your corporate anniversary date; to find out how old your appliances are or the age of your computer equipment; to determine the number of days, months, or years between two dates; to countdown the number of days before Christmas; and so much more.

Date formats

You can enter dates for this formula four different ways:
1. As serial numbers, which is Microsoft Excel’s unique method of storing dates so you can use them in calculations. When you enter a date, then use the General format, it displays as an Excel serial number.
01 use the general format to view dates as an excel serial numberJD Sartain
For example, to find the number of months between June 16, 2016 (start_date) and Oct 31, 2016 (end_date), write this formula: =DATEDIF(42537,42674,”m”). The result for this formula is four months.
02 use serial numbers for the start and end datesJD Sartain
Note: Excel cannot calculate dates before January 1, 1900 on Windows PCs, and January 1, 1904 on Apple Mac systems.
2. As cell references: that is, you can point to or enter the cell address. For example, the number of days between 10/10/2010 (in cell A5) and 11/11/2011 (in cell B5). The formula for this example is =DATEDIF(A5,B5,”d”). The result of this formula is 397 days.
03 use cell references for the start and end datesJD Sartain
3. As text strings: that is, dates inside of quotation marks. You can enter the date in any format you like. Note, however, that if you enter the month and day with no year, Excel assumes the current year. The formula for this example is =DATEDIF(“12/12/2012”, “12/25/2015”, “y”). The result of this formula is three full years.
04 use text strings for the start and end datesJD Sartain
4. Or, as a response to other functions such as the TODAY() function or the NOW() function. For example, how many days between NOW() and Christmas? Use this formula to find out: =DATEDIF(NOW(),”12/25/2016”,”d”). The answer is 70 days.
Note : Remember, when using the NOW() or TODAY() function, the answer changes every day. So, if you open this spreadsheet tomorrow, the answer will be one day fewer.
05 use other functions such as today or now for the start dateJD Sartain

Rounding results up or down

1. The DATEDIF() function always rounds down (by default) to the nearest whole month or year.
2. If you want to calculate months or years rounded up, add half a month or half a year to the formula like this: =DATEDIF(A19,B19+15,”m”) for half a month (or 15 days) or =DATEDIF(A21,B21+183,”y”) for half a year (or 183 days). The result is now rounded up to the nearest month or year.
06 add half a month or half a year to round the results up instead of downJD Sartain

Nesting DATEDIF() functions

1. You can also nest the DATEDIF() function, combine it with other Excel functions such as TODAY() and NOW(), such as above, or nest it within itself to get all three arguments—the number of years, months, and days. For example, to get years, months, and days between March 15, 2011 and December 7, 2016, enter this formula using cell references instead of actual dates: =DATEDIF(A23,B23,”y”) &” years, “&DATEDIF(A23,B23,”ym”) &” months, “ &DATEDIF(A23,B23,”md”) &” days”. The answer is 5 years, 8 months, 22 days.
07 nested dateif function for days months years between two datesJD Sartain
Note: Using cell references is always better than hard-coding the date into the formula like this: =DATEDIF(“3/15/11”, “12/7/16”, “d”), because you can easily change the date on the spreadsheet by just entering or copying a new date on top of the old one. If the date is hard-coded into the formula, you have to open up and edit each formula one at a time. And when you copy a hard-coded formula, you end up with the same date in each of the copied cells.
2. If you want to find out exactly how old Whoopi Goldberg is today, enter her birthday (11/13/1955) in cell A24, then enter this formula in cell E24: =DATEDIF(A24,TODAY(),”y”)&” years, “&DATEDIF(A24,TODAY(),”ym”) &” months, “&DATEDIF(A24,TODAY(),”md”)&” days”. The answer (at the time I made this spreadsheet a few months ago) is 60 years, 11 months, and 3 days, and of course if I opened this spreadsheet today, it would be a longer time.
08 nested dateif function for time between whoopi goldbergs birthday todayJD Sartain
For additional information regarding DATEDIF() functions, start with this Microsoft Office Support page, or search online, or find a packrat friend who still has the Microsoft Excel 2000 reference manual.
Share on Facebook Share on Twitter Share on Google Plus

RELATED POSTS


How to get BookMyShow Instant Disco...

How To Get Free Recharge And Money ...

How to Sync Your Contacts Between A...
Meet DATEDIF(), Excel’s secret Date & Time function that's still handy Meet DATEDIF(), Excel’s secret Date & Time function that's still handy Reviewed by Latest Govt. Jobs on 23:02:00 Rating: 5

0 comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments ( Atom )

Search This Blog

TEST BOOK FOR GOVT ENTRANCE TEST

TEST BOOK FOR GOVT ENTRANCE TEST
Find All Latest book for preparation of SSC,RAILWAYBANK PO,RBI,BANK CLERK,GATE ME,GATE CE are available here in less prices, to check out the books click here

Translate

  • Popular Post
  • Random posts
  • Category

Popular Posts

  • Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Refer & Earn Offer:  Hey Guys! Today I make an article about Teen Patti Referral ...
  • Taotronics TT-BH22 Headphones Review
    We make it a addiction to now not look up pricing of a product sooner than reviewing and if ...
  • Reliance Jio to offer sharp tariff discounts for customers signing up by March-end
    Reliance Industries' Jio unit will charge a tariff for its services from April, but will offer ...
  • Pentagon strongly condemns North Korea missile test
    The Pentagon on Monday strongly condemned North Korea’s latest missile test, adding that the ...
  • Fitbit Zip 2017 review
    Fitbit PROS: Clever, accurate tracking Expandable online service Integration with 3rd ...
  • Bank wallets growing faster than e-wallets
    In the  bank  versus  e-wallets  sweepstakes,  lenders  have now gained lost ground. As of ...

Random Posts

  • New Huawei Watch 2 with Android Wear 2.0 to be showcased 2017: Report
    New Huawei Watch 2 with Android Wear 2.0 to be showcased 2017: Report
    24.02.2017 - 0 Comments
    Huawei’s second-generation watch is codenamed Leo. It will run the new Android Wear 2.0 and have a slot for…
  • Facebook announces ‘Friends Awards’
    Facebook announces ‘Friends Awards’
    05.02.2018 - 0 Comments
    Facebook Friends Day on February 4: This time give out ‘Friends Awards’ to those on your…
  • Here's the worst from Mobile World Congress 2017
    Here's the worst from Mobile World Congress 2017
    04.03.2017 - 0 Comments
    Mobile World Congress is the biggest annual event for smartphone makers and technology giants across…
  • 11 methods To Transition returned To work After a vacation
    11 methods To Transition returned To work After a vacation
    26.05.2016 - 0 Comments
    If there's anything more heart wrenching than going back to work after a vacation, please let me know.…
  • Hyve Pryme specifications and brief review
    Hyve Pryme specifications and brief review
    13.11.2016 - 0 Comments
    Hyve Pryme smartphone was launched in November 2016. The phone comes with a 5.70-inch touchscreen display…

Labels

Android Apk Files Android Apps Android Games Apps Apk Files Apps Hack Tricks Entertainment Free Internet Freecharge Gadgets Games Apk Files How To's Laptops Guide Mobiles Reviews Technology Viral's android zone free recharge

Entertainment

Tricks

Popular Posts

  • Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Refer & ...
  • Taotronics TT-BH22 Headphones Review
    We make it a ...
  • Hands-on with the home windows 10 Creators update for the Xbox One: Beam recreation streaming arrives
    The Windows ...
  • Pentagon strongly condemns North Korea missile test
    The Pentagon on ...
  • Reliance Jio to offer sharp tariff discounts for customers signing up by March-end
    Reliance Industries' Jio unit will charge a tariff for its services from April, but will offer ...
  • Fitbit Zip 2017 review
    Fitbit PROS ...
  • Bank wallets growing faster than e-wallets
    In the  bank ...

Random Posts

  • ew Nokia 6 is flagship device for Google’s Android One
    ew Nokia 6 is flagship device for Google’s Android One
    25.02.2018 - 0 Comments
    Nokia 6 is the company’s first smartphone to join Google’s Android One programme. HMD Global announced…
  •  iPhone 8 face-unlocking mounts, as Apple acquires facial recognition startup
    iPhone 8 face-unlocking mounts, as Apple acquires facial recognition startup
    20.02.2017 - 0 Comments
    Recently, it’s been speculated that Apple may forgo its Touch ID feature on the upcoming iPhone…
  • 5 Best Paid Android Games to Buy in 2016
    5 Best Paid Android Games to Buy in 2016
    20.02.2016 - 0 Comments
    5 Best Paid Android Games to Buy in 2016: If you really love to play android games in your device then…
  • Paytm Promo Code And Coupons 12th February-2016
    Paytm Promo Code And Coupons 12th February-2016
    12.02.2016 - 0 Comments
    Paytm Promo Code And Coupons 12th February-2016[Last Updated 12th February] Here are some lastest and…
  • Thousands of FedEx customer records exposed
    Thousands of FedEx customer records exposed
    16.02.2018 - 0 Comments
    Global package delivery company FedEx Corp said on Thursday it has secured some of the customer…

Most Popular

  • Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Refer & ...
  • SAMSUNG GALAXY J7 (2016) REVIEWS
    SAMSUNG GALAXY J7 (2016) REVIEWS
    SAMSUNG GALAXY J ...
  • Top 5 Best SmartPhones under 7000 Rs (March 2017)
    Looking for the ...
  • Apple, IBM, Cisco are huge because of Indians, do not deny them H-1B visa: RBI Governor Urjit Patel
    ...
  • SAMSUNG GALAXY J7 (2016) Specifications
    SAMSUNG GALAXY J ...
  • BlackBerry Teases Marshmallow Beta Testing for Priv by Next Week
    Blackberry ...
  • LG Q6 Review
    LG Q6 Review
    2017 is ...

Contact Form

Name

Email *

Message *

Offers Zone

Created By Android Century Distributed by Android Century
  • Home
  • About us
  • Contact us
  • Privacy policy
  • Terms of use
  • Advertise here
Subscribe Via Email Subscribe To Android Century By Email And Get Free Updates. ;-)


Your email address is safe with us!