skip to main | skip to sidebar

Anil nain

I am a software engineer. Currently working as a 'Web Developer' in Eastern Horizion Soliution Pvt. Ltd. We are working on a web site named as http://www.gharexpert.com/.

Friday, June 14, 2013

How to calculate age in Excel


How to calculate age in Excel


1. If we want his age in whole number years only, e.g. 40 years, then we can use this formula: =YEAR(TODAY())-YEAR(A1) 2. If we want his age in whole numbers and a fraction of a year, e.g. 40.5 years, then we can use this formula: =(TODAY()-A1)/365.25 3. If we want his age in years and months, then we can use a formula like this one: =INT((TODAY()-A1)/365.25) & ” years and ” & INT(MOD((TODAY()-A1)/365.25;1)*12) & ” months”The output of this formula will be as follows: 40 years and 2 months. 4. If we want to extend the previous formula to include days, then we can use a complex formula like this one: =INT((TODAY()-A1)/365.25) & ” years , ” & INT(MOD((TODAY()-A1)/365.25;1)*12) & ” months and ” & INT(MOD((TODAY()-A1)/30.4375;1)*30.4375) & ” days”The output of this formula will be as follows: 40 years, 2 months and 18 days. - See more at: http://www.exceldigest.com/myblog/2012/11/16/how-to-calculate-age-in-excel-2010/#sthash.8DlELHdN.dpuf
 




Posted by Anil Nain at 1:31 PM

No comments:

Post a Comment

Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2008 (2)
    • ►  February (1)
    • ►  November (1)
  • ►  2009 (11)
    • ►  January (1)
    • ►  May (3)
    • ►  August (3)
    • ►  September (3)
    • ►  October (1)
  • ►  2010 (6)
    • ►  February (1)
    • ►  March (2)
    • ►  May (1)
    • ►  August (1)
    • ►  December (1)
  • ►  2011 (5)
    • ►  May (1)
    • ►  July (2)
    • ►  December (2)
  • ►  2012 (1)
    • ►  September (1)
  • ▼  2013 (3)
    • ►  January (1)
    • ►  April (1)
    • ▼  June (1)
      • How to calculate age in Excel

About Me

My photo
Anil Nain
to b vry frank,, i`m a very dominating character..... i speak the truth..... i hate lies n liars..... well life means all abt lovin the correct person..... There are two kinds of players.The most of them safely play for the crowd to clap; but the rest few of them are more interested in enjoying the GAME.(Unfortunately, I belong to the second kind.) The safer side is "safe" because there you need to destroy ONLY your enemies to win the crowd.I am not at all trying to say that it is easy, but still it is safe. Being on the the other side, you are supposed to enjoy the game.This is possible only when you are able to satisfy YOURSELF.To do what you think is right, you need to fight against not only your foes, sometimes even against your fellow team-mates.And how possibly you can hurt your own ones without hurting yourself? So, is there no way to satisfy ourselves??? sweet/naughty/innovative/active/funny/stylish/churpy/talkative/
View my complete profile