sum of various period of gained experiences

SanjayaGarg

New Member
Joined
Nov 10, 2017
Messages
22
Office Version
  1. 2013
Platform
  1. Windows
Dear all,

I have some data where a particular person gained experiences in various organizations. I want to get total experience he gained so far. For this, please refer to below table and help to sum up column 'C' :

A​
B​
C​
D​
1
FROM
TO
EXPERIENCE
Formula to get
experience
2​
24-07-198127-06-19820 Years, 11 Months, 3 Days=IF(A2="","",DATEDIF(A2,B2,"Y")&" Years, "&DATEDIF(A2,B2,"YM")&" Months, "&DATEDIF(A2,B2,"MD")&" Days")
3​
18-11-198530-10-19882 Years, 11 Months, 12 Days
4​
04-12-198902-05-19933 Years, 4 Months, 29 Days
5​
03-05-199311-10-19985 Years, 5 Months, 8 Days
6​
12-10-199816-09-20012 Years, 11 Months, 4 Days
7​
17-09-200131-10-20021 Years, 1 Months, 14 Days

I want to get total of experience in column 'C' in this format only. Please help.
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Try this one.
Close it with ctrl+shift+return(array formula)

Excel Formula:
=SUM(DATEDIF(A3:A8,B3:B8,"Y"))+INT(SUM(DATEDIF(A3:A8,B3:B8,"YM"))/12)&" Years, "&MOD(SUM(DATEDIF(A3:A8,B3:B8,"YM")),12)+INT(SUM(DATEDIF(A3:A8,B3:B8,"MD"))/30)&" Months, "&MOD(SUM(DATEDIF(A3:A8,B3:B8,"MD")),30)&" Days"
 
Upvote 0
Try this one.
Close it with ctrl+shift+return(array formula)

Excel Formula:
=SUM(DATEDIF(A3:A8,B3:B8,"Y"))+INT(SUM(DATEDIF(A3:A8,B3:B8,"YM"))/12)&" Years, "&MOD(SUM(DATEDIF(A3:A8,B3:B8,"YM")),12)+INT(SUM(DATEDIF(A3:A8,B3:B8,"MD"))/30)&" Months, "&MOD(SUM(DATEDIF(A3:A8,B3:B8,"MD")),30)&" Days"
 
Upvote 0
Thanks, you're welcome!
 
Upvote 0

Forum statistics

Threads
1,214,527
Messages
6,120,058
Members
448,940
Latest member
mdusw

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top