메인 컨텐츠로 가기

Excel에서 고용 날짜부터 서비스 기간을 계산하는 방법은 무엇입니까?

직원 이름과 회사 입사 날짜를 포함한 다양한 데이터가 워크 시트에있는 경우 이제 직원의 근속 기간을 계산할 수 있습니다. 즉, 직원이 회사에서 근무한 연수와 월을 계산할 수 있습니다. 이 기사에서는이 작업을 해결하는 빠른 방법에 대해 설명합니다.

YEARFRAC 기능을 사용하여 고용 일로부터 근속 기간 계산

DATEDIF 함수를 사용하여 고용 일로부터 근속 기간 계산

DATEDIF 함수를 사용하여 고용 일부터 오늘까지의 근속 기간을 계산합니다.

놀라운 기능으로 고용 날짜부터 서비스 기간을 계산하십시오.


YEARFRAC 기능을 사용하여 고용 일로부터 근속 기간 계산

고용 날짜와 특정 날짜로부터 서비스 기간을 계산하려면 YEARFRAC 함수가 도움이 될 수 있습니다.

다음 수식을 빈 셀에 입력하거나 복사하십시오.

=INT(YEARFRAC(B2,C2))

주의 사항: 위의 공식에서 B2 고용 날짜 셀이고 C2 종료 날짜 셀입니다.

그런 다음 채우기 핸들을 끌어서 fromula를 필요한 다른 셀로 복사하면 몇 년 안에 그 사람의 서비스 기간을 얻을 수 있습니다.


DATEDIF 함수를 사용하여 고용 일로부터 근속 기간 계산

정확한 연도 및 일수로 근속 기간을 계산해야하는 경우 Excel의 DATEDIF 함수가 도움이 될 수 있습니다.

서비스 기간을 년 단위로 계산하십시오.

다음 수식을 빈 셀에 입력하거나 복사하십시오.

=DATEDIF(B2, C2, "y")& " Years"


근속 기간을 년과 월로 계산하십시오.

다음 공식을 적용하십시오.

=DATEDIF(B2,C2,"y")&" Years, "&DATEDIF(B2,C2,"ym")&" Months"


서비스 기간을 년, 월, 일로 계산하십시오.

다음 공식을 적용하십시오.

=DATEDIF(B2,C2,"y") & " Years, " & DATEDIF(B2,C2,"ym") & " Months, " & DATEDIF(B2,C2,"md") & " Days"

주의 사항: 위의 공식에서 B2 고용 날짜 셀이고 C2 종료 날짜 셀입니다.


DATEDIF 함수를 사용하여 고용 일부터 오늘까지의 근속 기간을 계산합니다.

고용 일부터 오늘까지의 근속 기간을 계산할 수 있으므로 매일 워크 시트를 열면 근속 기간이 자동으로 업데이트됩니다. 이 경우 DATEDIF 함수 내에서 TODAY 함수를 결합해야합니다.

필요에 따라 아래 공식 중 하나를 적용하십시오.

=DATEDIF(B4, TODAY(), "y")& " Years"
= DATEDIF (B4, TODAY (), "y") & "년,"& DATEDIF (B4, TODAY (), "ym") & "개월"
= DATEDIF (B6, TODAY (), "y") & "년,"& DATEDIF (B4, TODAY (), "ym") & "월,"& DATEDIF (B4, TODAY (), "md") & "일"


놀라운 기능으로 고용 날짜부터 서비스 기간을 계산하십시오.

너무 많은 공식을 기억하는 것은 다소 어렵지만 Excel 용 Kutools그와 날짜 및 시간 도우미 기능을 사용하면 서비스 기간을 년, 월, 일, 년 + 월 + 일 또는 필요에 따라 다른 형식으로 빠르게 계산할 수 있습니다.

참고 :이것을 적용하려면 날짜 및 시간 도우미, 먼저 Excel 용 Kutools을 클릭 한 다음 기능을 빠르고 쉽게 적용하십시오.

설치 후 Excel 용 Kutools, 다음과 같이하십시오.

1. 결과를 찾을 셀을 클릭 한 다음 쿠툴수식 도우미 > 날짜 및 시간 도우미, 스크린 샷 참조 :

2. 에서 날짜 및 시간 도우미 대화 상자에서 다음 작업을 수행하십시오.

  • 체크 차이 옵션에서 타입 섹션;
  • . 인수 입력 텍스트 상자에서 고용 날짜와 종료 날짜를 별도로 포함하는 셀을 선택하십시오.
  • 그런 다음 필요에 따라 출력 결과 유형을 선택합니다. 예를 들어 서비스 기간을 년, 월, 년 + 월 + 일, 년 + 월 등으로 가져올 수 있습니다.

3. 설정을 마친 후 OK 버튼을 클릭하면 첫 번째 계산 결과가 표시됩니다. 그런 다음 채우기 핸들을 드래그하여이 수식을 채워 셀을 테스트하면 이제 필요에 따라 다음 결과를 얻을 수 있습니다.

Excel 용 Kutools 및 무료 평가판을 지금 다운로드하려면 클릭하십시오!


더 많은 관련 기사 :

  • 두 날짜 사이의 일 / 근무일 / 주말 수 계산
  • Excel에서 두 날짜 사이의 일수를 계산해야했던 적이 있습니까? 때로는 두 날짜 사이의 근무일 만 계산하고 싶을 때도 있고 두 날짜 사이의 주말 만 계산해야하는 경우도 있습니다. 특정 조건에서 두 날짜 사이의 일수를 어떻게 계산할 수 있습니까?
  • 두 날짜 사이의 일 시간 및 분 계산
  • 두 개의 날짜 시간 셀 열이 있다고 가정하면 다음 스크린 샷과 같이이 두 날짜 시간 셀 간의 일, 시간 및 분 차이를 계산하려고합니다. 이 기사에서는이 작업을 해결하는 몇 가지 방법에 대해 설명합니다.

최고의 사무 생산성 도구

🤖 Kutools AI 보좌관: 다음을 기반으로 데이터 분석을 혁신합니다. 지능형 실행   |  코드 생성  |  사용자 정의 수식 만들기  |  데이터 분석 및 차트 생성  |  Kutools 기능 호출...
인기 기능: 중복 항목 찾기, 강조 표시 또는 식별   |  빈 행 삭제   |  데이터 손실 없이 열이나 셀 결합   |   수식없이 반올림 ...
슈퍼 조회: 다중 기준 VLookup    다중 값 VLookup  |   여러 시트에 걸친 VLookup   |   퍼지 조회 ....
고급 드롭다운 목록: 드롭다운 목록을 빠르게 생성   |  종속 드롭다운 목록   |  다중 선택 드롭 다운 목록 ....
열 관리자: 특정 개수의 열 추가  |  열 이동  |  Toggle 숨겨진 열의 가시성 상태  |  범위 및 열 비교 ...
특색 지어진 특징: 그리드 포커스   |  디자인보기   |   큰 수식 바    통합 문서 및 시트 관리자   |  리소스 라이브러리 (자동 텍스트)   |  날짜 선택기   |  워크 시트 결합   |  셀 암호화/해독    목록으로 이메일 보내기   |  슈퍼 필터   |   특수 필터 (굵게/기울임꼴/취소선 필터링...) ...
상위 15개 도구 세트12 본문 도구 (텍스트 추가, 문자 제거,...)   |   50+ 거래차트 유형 (Gantt 차트,...)   |   40+ 실용 방식 (생일을 기준으로 나이 계산,...)   |   19 삽입 도구 (QR 코드 삽입, 경로에서 그림 삽입,...)   |   12 매출 상승 도구 (숫자를 단어로, 환율,...)   |   7 병합 및 분할 도구 (고급 결합 행, 셀 분할,...)   |   ... 그리고 더

Excel용 Kutools로 Excel 기술을 강화하고 이전과는 전혀 다른 효율성을 경험해 보세요. Excel용 Kutools는 생산성을 높이고 시간을 절약하기 위해 300개 이상의 고급 기능을 제공합니다.  가장 필요한 기능을 얻으려면 여기를 클릭하십시오...

상품 설명


Office Tab은 Office에 탭 인터페이스를 제공하여 작업을 훨씬 쉽게 만듭니다.

  • Word, Excel, PowerPoint에서 탭 편집 및 읽기 사용, Publisher, Access, Visio 및 Project.
  • 새 창이 아닌 동일한 창의 새 탭에서 여러 문서를 열고 만듭니다.
  • 생산성을 50% 높이고 매일 수백 번의 마우스 클릭을 줄입니다!
Comments (20)
Rated 5 out of 5 · 1 ratings
This comment was minimized by the moderator on the site
First, thank you very much for helping us!

I am trying to use the formula for years and months of service (=DATEDIF(B2,C2,"y")&" Years, "&DATEDIF(B2,C2,"ym")&" Months") which works great, but I would like to add that line and another line that just has numbers in it. Is that possible? For instance: The formula =DATEDIF(B2,C2,"y")&" Years, "&DATEDIF(B2,C2,"ym")&" Months" is located in D2 and I would like to add number of years and months of service from another agency in E2 with the total sum in F2.

All assistance is great appreciated.
Rated 5 out of 5
This comment was minimized by the moderator on the site
If I have a mixed list of employees still with the company (with start date only) and employees no longer with the company (with start and end date), is there a formula for calculating length of service using current date unless there is an end date, in which case the end date would be used in place of the current date to calculate total length of service from start to end?
This comment was minimized by the moderator on the site
what version of Excel can i get this? I am unable to get the function on Excel 2016
This comment was minimized by the moderator on the site
Hello,
The Excel version in the example is Excel 2010. The DATEDIF function is not available in Excel 2013 and later versions.
DATEDIF is not a standard function and hence not part of functions library and so no documentation. Microsoft doesn't promote to use this function as it gives incorrect results in few circumstances.

This function does not appear in the 'Insert Function' dialog box and is not recognised in the 'Function Arguments' dialog box.
The accuracy of this function was improved slightly in Excel 2010 but some of the bugs were never fixed.

Hope it helps. Have a nice day.
Sincerely,
Mandy
This comment was minimized by the moderator on the site
After the years of service has been determined. How do you calculate the persons service computation date (SCD). Is there a formula to subtract the years of service from the persons new appointment date to get their SCD leave date?
This comment was minimized by the moderator on the site
i m in problem; I am new joining to Govt. dept. as Junior Clerk in Accounts site: I want to calculate to make service end period, and after to add extra months years days in service period given by government relaxation period to complete service 9 to 10 years as (the total service is 8 year, 8 months, 18 days) but govt. give 10 months and 28 days to compile the service period for allowing the come in to as pensioner. Thanks to you for solve that problem.
This comment was minimized by the moderator on the site
Dear have a good health to you. I requesting for adjust more months days year in less service length 9 years to make complet 10 years. please tell about it.
This comment was minimized by the moderator on the site
How can I just highlight the cells if the yearly anniversary is within a week? For example They started on 01/10/2020 and I want the start date to be highlighted yellow if the date is 24/09 in each year and then turn red if the anniversary has passed, so turn red 7 days after the 1st?
This comment was minimized by the moderator on the site
Work Services Calculation 1 month different in formula
This comment was minimized by the moderator on the site
If service is 25 Year 07 Months 05 Days than i calculate no. of year and the result is 25, but need to calculate/consider full year if months is equal to 06 months or exceed. After calculation
This comment was minimized by the moderator on the site
For calculating the length of services in years, months and days with start date and end date, I noted that the result for James is 20 days. I would like to confirm if the end date means separation effective date (Day 1 after termination/separation) or last employment date.
Both start (hire date) and end date (last employment date "LED") should be inclusive in the calculation. It is expected to return 21 days but not 20 days as it counted no. of days from 12/11/2025 to 12/31/2025.
How to change the formula? Or should it be used termination effective date (LED + 1 day) as cell C2, instead of input "LED" as end date?
This comment was minimized by the moderator on the site
Florence, you are correct, and the tutorial above is simply wrong. When calculating years of service/length of service, the calculation must be inclusive of the last day worked. Using basic date subtraction formulas tell the *difference* between 2 dates (which will short the length of service by 1 day). For example, if someone stated the 1st, and ended the following day (2nd), taking the date difference would be 1 day (when they actually worked 2 days). Another example: If you use the method above for someone who started work on January 1st, and their last day was December 31st, it will not show that they've worked a complete year -- which is of course an error. The way to get the correct answer is to add +1 to the end date. So, everywhere you see C2 above should be C2+1. This is a significant problem where people everywhere are using this incorrect formula for calculating years of service. The formula is typically correct except the edge case of the last day of employment being the exact day before their start day. I'm in a dispute with my former employer over this very issue. Formulas like this should always be checked for edge cases like worked 1 day, 2 days, worked exactly 1 year, the anniversary date, day before/after, etc. When doing this, you will see all sorts of problems like the one you described.
This comment was minimized by the moderator on the site
Hi, Florence,If you want to include both the start date and end date when calculating, you just need add 1 after the days part as below formula:=DATEDIF(B2,C2,"y") & " Years, " & DATEDIF(B2,C2,"ym") & " Months, " & DATEDIF(B2,C2,"md")+1 & " Days"
Please try, hope it can help you!
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations