Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
How do I use excel to subtract one age from another, for example 11 years 5
months from 14 years 3 months? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Subtract the original cells from each other and convert in the same way that
you did for these two. -- HTH Bob Phillips (there's no email, no snail mail, but somewhere should be gmail in my addy) "Rumplestiltskin" wrote in message ... How do I use excel to subtract one age from another, for example 11 years 5 months from 14 years 3 months? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi on the cells you wish to enter the dates, select them, then right mouse
click and select Format cells. Select custom from the list and type in yy"Years" mm"months" If you want to see 11 Years 5 months in the cell you have applied the custom format type 1/5/11 If you want to see 14 Years 3 Months, type in the other cell 1/3/14 In the cell you want the answer, apply the custom format the same as above, then simply do =cell-other cell, ie so if you have date of 14Y 3M in cell A1 and 11y 5m in B1 in cell C1 type = a1-b1 Hope that helps -- This post was created using recycled electrons! "Rumplestiltskin" wrote: How do I use excel to subtract one age from another, for example 11 years 5 months from 14 years 3 months? |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi this is another way and should be more accurate as the other way I said
can be out by a month on certain dates. A B C D E Cell1] Years Months Total Months Cell2] 14 3 =(A2*12)+B2 Cell3] 11 5 =(A3*12)+B3 Cell4] =ROUNDDOWN(D4,0) =C4-(A4*12) =C2-C3 =C4/12 You can then format to look exactly as you want -- This post was created using recycled electrons! "Newbeetle" wrote: Hi on the cells you wish to enter the dates, select them, then right mouse click and select Format cells. Select custom from the list and type in yy"Years" mm"months" If you want to see 11 Years 5 months in the cell you have applied the custom format type 1/5/11 If you want to see 14 Years 3 Months, type in the other cell 1/3/14 In the cell you want the answer, apply the custom format the same as above, then simply do =cell-other cell, ie so if you have date of 14Y 3M in cell A1 and 11y 5m in B1 in cell C1 type = a1-b1 Hope that helps -- This post was created using recycled electrons! "Rumplestiltskin" wrote: How do I use excel to subtract one age from another, for example 11 years 5 months from 14 years 3 months? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Convert 2 digit month to 4 digit years and months | Excel Worksheet Functions | |||
problem of calculating years months and days | Excel Discussion (Misc queries) | |||
problem of converting days months and years | Excel Worksheet Functions | |||
Calculate number of years and months employed using hire date and. | Excel Worksheet Functions | |||
To create formula to add 3 years and subtract 1 day from a date? | Excel Worksheet Functions |