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 Free Recharge And Money ...

How to Sync Your Contacts Between A...

How to Know a Wi-Fi Network Is Fast...
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 ...
  • Hands-on with the home windows 10 Creators update for the Xbox One: Beam recreation streaming arrives
    The Windows 10 Creators Update is here, now—yes,  now —but not (officially) on the PC. The ...
  • Taotronics TT-BH22 Headphones Review
    We make it a addiction to now not look up pricing of a product sooner than reviewing and if ...
  • Pentagon strongly condemns North Korea missile test
    The Pentagon on Monday strongly condemned North Korea’s latest missile test, adding that the ...
  • Bank wallets growing faster than e-wallets
    In the  bank  versus  e-wallets  sweepstakes,  lenders  have now gained lost ground. As of ...
  • 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 ...

Random Posts

  • Satya Nadella launches Made for India Skype Lite app and 'Project Sangam'
    Satya Nadella launches Made for India Skype Lite app and 'Project Sangam'
    22.02.2017 - 0 Comments
    Satya Nadella,, the CEO of Microsoft today announced new made for India products marking a…
  • How to Remove Hyperlinks from Microsoft Word Documents
    How to Remove Hyperlinks from Microsoft Word Documents
    11.02.2017 - 0 Comments
    If you copy text from the web and paste it into Word, it can be annoying when the hyperlinks…
  • Sony announced 3 new phones
    Sony announced 3 new phones
    22.01.2018 - 0 Comments
    Here are the different devices:Xperia XA2 5.2" 1920x1080 Snapdragon 630 3GB RAM 32GB storage +…
  • [New Code] Freecharge- Get Rs 50 Cashback On Recharge Of Rs 50 (Account
Specific) [UltimatezTrick]
    [New Code] Freecharge- Get Rs 50 Cashback On Recharge Of Rs 50 (Account Specific) [UltimatezTrick]
    25.03.2016 - 0 Comments
    Freecharge has come up with a new offer. Now get Rs 50 cashback on recharge of Rs 50. This is an amazing…
  • Here Pollseye App : Download App & Get Rs.10 Paytm Cash + Refer To Earn Unlimited [Unlimited Trick Added]
    Here Pollseye App : Download App & Get Rs.10 Paytm Cash + Refer To Earn Unlimited [Unlimited Trick Added]
    03.03.2017 - 0 Comments
    Hello readers , after a long time i am sharing a new app which is giving PayTM cash , known as…

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 & ...
  • Steam Now Supports PS4's DualShock 4 Controller
    HIGHLIGHTS ...
  • Lenovo Yoga Book launched in India at Rs 49,990: First Impressions
    Lenovo  has ...
  • This $15 stand turns your Apple Watch into a mini Macintosh
    For all those  ...
  • Grow Hair Faster: How to Make Hair Grow Faster Naturally
    Every woman wants ...
  • MobiKwik - Update E-KYC & Get Rs. 100 Supercash
    MobiKwik - Update E-KYC & Get Rs. 100 Supercash
    Mobikwik - Update ...
  • Fitbit Flex 2017 review
    Fitbit PROS ...

Random Posts

  • Freecharge Bing Rewards Offer – Get Freecharge Voucher Upto Rs 100 By Using Bing Search Engine
    Freecharge Bing Rewards Offer – Get Freecharge Voucher Upto Rs 100 By Using Bing Search Engine
    04.04.2016 - 0 Comments
    Freecharge is raining offer. Freecharge is back again with a amazing offer – “Freecharge Bing Rewards Offer”.…
  • Netflix Update on Android Adds SD Card Storage of Offline Content
    Netflix Update on Android Adds SD Card Storage of Offline Content
    07.02.2017 - 0 Comments
    Netflix pushed an update out to Android devices today that gives you some flexibility in where you…
  • Vodafone India carries out organisational change amid key exits
    Vodafone India carries out organisational change amid key exits
    08.02.2017 - 0 Comments
    Vodafone India is carrying out organisational changes at the top while dealing with a few exits,…
  • Apple 4-inch iPhone SE, 9.7-inch iPad Pro launching on 21 March event www.goandroidapps.in
    Apple 4-inch iPhone SE, 9.7-inch iPad Pro launching on 21 March event www.goandroidapps.in
    13.03.2016 - 0 Comments
    Apple 4-inch iPhone SE, 9.7-inch iPad Pro launching on 21 March event: Apple is all set for the major…
  •  TOP 20 NATURAL REMEDIES AND TIPS ON HOW TO REDUCE CELLULITE
    TOP 20 NATURAL REMEDIES AND TIPS ON HOW TO REDUCE CELLULITE
    20.03.2016 - 0 Comments
    Top 20 natural remedies and tips on how to reduce celluliteRecent research has suggested that…

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!