Date , time formula

subrosumon

Board Regular
Joined
Mar 20, 2014
Messages
124
Hi Experts,
Sorry for wastage you valuable time for my critical issues! as a HR staff, i need to calculate actual staying time if he intermittent input in my organization

for example
Name of Organization
Period

ABC Company
from 3 October 2010 to 25 January 2014

XYZ Company
from 28 January 2014 to 12 December 2015

ABC Company
from 13 December 2015 to 18 September December 2019


<tbody>
</tbody>
Needto calculation

  1. How many years, months and days he is working all company (total Experience)?
  2. How many years, months and days he is working of ABC company?

if it is formula it s better or me

Tanks in advance

 
Last edited:

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
are your dates in different fields. Then for the first one I would be looking at 5/7ths and if greater then 365 remove the approximate leave allocation. It would provide something rough with quite a lot of effort
 
Upvote 0
so highest minus lowest give number of days, as a first starting point, into another column, then with a sumif or similar to add each group together
 
Upvote 0
where do you intend to store the result, are your dates actually dates or just text, what do you have as examples you can show
 
Upvote 0
Dear Sir,
Here is the template f u please create to motion column and rows, I can use the formula
1
B
C
D
E
F
G
H
I
2
Joining Date
End Date
3
Day
Month
Year
Day
Month
Year
4
ABC
15
5
2011
25
9
2015
5
XYZ
28
11
2015
21
4
2018
6
ABC
22
4
2018
31
7
2019

<tbody>
</tbody>
 
Upvote 0
in i =DATEVALUE(G4&"/"&H4&"/"&I4)-DATEVALUE(C4&"/"&D4&"/"&E4)
 
Upvote 0
Try this:

=SUMPRODUCT((DATE(I4:I6,H4:H6,G4:G6)-DATE(E4:E6,D4:D6,C4:C6)+1)*(B4:B6="ABC"))
 
Upvote 0

Forum statistics

Threads
1,214,431
Messages
6,119,457
Members
448,898
Latest member
drewmorgan128

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