Ana içeriğe atla

Excel'de kiralama tarihinden itibaren hizmet süresini nasıl hesaplayabilirim?

Çalışan isimleri ve bir çalışma sayfasında şirketinize katılma tarihleri ​​dahil olmak üzere bir dizi veriniz varsa, şimdi, hizmet sürelerini hesaplamak isteyebilirsiniz, bu, bir çalışanın şirketiniz için kaç yıl ve ay çalıştığını öğrenmek anlamına gelir. Bu yazıda, bu işi sizin için çözmenin hızlı yönteminden bahsedeceğim.

YEARFRAC işlevi ile işe alım tarihinden itibaren hizmet süresini hesaplayın

DATEDIF işlevi ile işe alma tarihinden itibaren hizmet süresini hesaplayın

DATEDIF işlevi ile işe alma tarihinden bugüne kadar olan hizmet süresini hesaplayın

Harika bir özellikle işe alma tarihinden itibaren hizmet süresini hesaplayın


YEARFRAC işlevi ile işe alım tarihinden itibaren hizmet süresini hesaplayın

İşe alma tarihinden ve belirli bir tarihten itibaren hizmet süresini hesaplamak için YEARFRAC işlevi size yardımcı olabilir.

Lütfen aşağıdaki formülü boş bir hücreye girin veya kopyalayın:

=INT(YEARFRAC(B2,C2))

not: Yukarıdaki formülde, B2 kiralama tarihi hücresidir ve C2 bitiş tarihi hücresidir.

Ardından, toulayı ihtiyacınız olan diğer hücrelere kopyalamak için doldurma tutamacını sürükleyin ve kişinin hizmet süresini yıllar içinde alacaksınız.


DATEDIF işlevi ile işe alma tarihinden itibaren hizmet süresini hesaplayın

Hizmet süresini aylar ve günler olarak tam olarak hesaplamanız gerekiyorsa, Excel'deki DATEDIF işlevi size bir iyilik yapabilir.

Yıl olarak hizmet süresini hesaplayın:

Lütfen aşağıdaki formülü boş bir hücreye girin veya kopyalayın:

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


Hizmet süresini yıl ve ay olarak hesaplayın:

Lütfen aşağıdaki formülü uygulayın:

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


Yıl, ay ve gün olarak hizmet süresini hesaplayın:

Aşağıdaki formülü uygulayın:

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

not: Yukarıdaki formülde, B2 kiralama tarihi hücresidir ve C2 bitiş tarihi hücresidir.


DATEDIF işlevi ile işe alma tarihinden bugüne kadar olan hizmet süresini hesaplayın

Bazıları, kiralama tarihinden bugüne kadar hizmet süresini hesaplamak isteyebilirsiniz, bu nedenle, çalışma sayfasını her açtığınızda hizmetin uzunluğu otomatik olarak güncellenecektir. Bu durumda, BUGÜN işlevini TARİHLİ işlevi içinde birleştirmelisiniz.

Lütfen ihtiyacınıza aşağıdaki formüllerden herhangi birini uygulayın:

=DATEDIF(B4, TODAY(), "y")& " Years"
= ETARİHLİ (B4, BUGÜN (), "y") & "Yıllar" & DATEDIF (B4, BUGÜN (), "ym") & "Aylar"
= ETARİHLİ (B6, BUGÜN (), "y") & "Yıllar" & DATEDIF (B4, BUGÜN (), "ym") & "Aylar" & DATEDIF (B4, BUGÜN (), "md") & "Günler"


Harika bir özellikle işe alma tarihinden itibaren hizmet süresini hesaplayın

Bu kadar çok formülü hatırlamak sizin için biraz zor, ancak eğer varsa Kutools for Excel, Onun ile Tarih ve Saat Yardımcısı özelliği sayesinde, hizmet süresini yıllar, aylar, günler, yıllar + aylar + günler veya ihtiyaç duyduğunuz diğer formatlarda hızlıca hesaplayabilirsiniz.

Not:Bunu uygulamak için Tarih ve Saat Yardımcısıöncelikle Kutools for Excelve ardından özelliği hızlı ve kolay bir şekilde uygulayın.

Kurduktan sonra Kutools for Excellütfen şunu yapın:

1. Sonucu bulmak istediğiniz bir hücreye tıklayın ve ardından KutoolsFormül Yardımcısı > Tarih ve Saat yardımcısı, ekran görüntüsüne bakın:

2. In Tarih ve Saat Yardımcısı iletişim kutusunda aşağıdaki işlemleri yapın:

  • Kontrol Fark seçeneği Tip Bölüm;
  • içinde Bağımsız değişken girişi metin kutuları, işe alma tarihini ve bitiş tarihini ayrı ayrı içeren hücreleri seçin;
  • Ardından, ihtiyacınız olan çıktı sonucu türünü seçin. Örneğin, hizmet süresini yıl, ay, yıl + ay + gün, yıl + ay vb. Olarak alabilirsiniz.

3. Ayarları tamamladıktan sonra OK düğmesini tıklarsanız, ilk hesaplanan sonucu alırsınız, ardından hücreleri test etmek için bu formülü doldurmak için doldurma tutamacını sürüklemeniz yeterlidir ve şimdi ihtiyacınız olan aşağıdaki sonucu alacaksınız:

Kutools for Excel'i indirmek için tıklayın ve Şimdi ücretsiz deneme!


Daha ilgili makaleler:

  • İki Tarih Arasındaki Gün / İş Günü / Hafta Sonunu Sayma
  • Excel'de iki tarih arasındaki gün sayısını saymanız hiç gerekmedi mi? Bazen sadece iki tarih arasındaki iş günlerini hesaplamak istersiniz ve bazen hafta sonu günlerini yalnızca iki tarih arasında saymanız gerekir. Belli bir durumda iki tarih arasındaki günlerin sayısını nasıl sayarsınız?
  • İki Tarih Arasındaki Gün Saat ve Dakikaları Hesapla
  • Diyelim ki, iki tarih saat hücresi sütununuz var ve şimdi, gösterilen aşağıdaki ekran görüntüsü gibi bu iki tarih saat hücresi arasındaki gün, saat ve dakika farkını hesaplamak istiyorsunuz. Bu yazıda, bu görevi sizin için çözmek için bazı yöntemlerden bahsedeceğim.

En İyi Ofis Üretkenlik Araçları

🤖 Kutools AI Yardımcısı: Aşağıdakilere dayalı olarak veri analizinde devrim yaratın: Akıllı Yürütme   |  Kodunu oluşturun  |  Özel Formüller Oluşturun  |  Verileri Analiz Edin ve Grafikler Oluşturun  |  Kutools İşlevlerini Çağır...
Popüler Özellikler: Yinelenenleri Bul, Vurgula veya Tanımla   |  Boş Satırları Sil   |  Veri Kaybı Olmadan Sütunları veya Hücreleri Birleştirin   |   Formülsüz Tur ...
Süper Arama: Çoklu Ölçütlü VLookup    Çoklu Değer VLookup  |   Birden Çok Sayfada VLookup   |   Bulanık Arama ....
Gelişmiş Açılır Liste: Hızla Açılır Liste Oluşturun   |  Bağımlı Açılır Liste   |  Çoklu Seçim Açılır Liste ....
Sütun Yöneticisi: Belirli Sayıda Sütun Ekleme  |  Sütunları Taşı  |  Gizli Sütunların Görünürlük Durumunu Değiştir  |  Aralıkları ve Sütunları Karşılaştırın ...
Öne Çıkan Özellikler: Izgara Odağı   |  Tasarım görünümü   |   Büyük Formül Çubuğu    Çalışma Kitabı ve Sayfa Yöneticisi   |  Kaynak Kütüphanesi (Otomatik metin)   |  Tarih Seçici   |  Çalışma Sayfalarını Birleştirin   |  Hücreleri Şifrele/Şifresini Çöz    E-postaları Listeye Göre Gönder   |  Süper Filtre   |   Özel Filtre (kalın/italik/üstü çizili filtre...) ...
En İyi 15 Araç Seti12 Metin Tools (Metin ekle, Karakterleri Kaldır, ...)   |   50+ Grafik Türleri (Gantt şeması, ...)   |   40+ Pratik Formüller (Yaşı doğum gününe göre hesapla, ...)   |   19 sokma Tools (QR Kodunu Girin, Yoldan Resim Ekle, ...)   |   12 Dönüştürme Tools (Sayılardan Kelimelere, Para Birimi Dönüştürme, ...)   |   7 Birleştir ve Böl Tools (Gelişmiş Kombine Satırları, Bölünmüş hücreler, ...)   |   ... ve dahası

Kutools for Excel ile Excel Becerilerinizi Güçlendirin ve Daha Önce Hiç Olmadığı Gibi Verimliliği Deneyimleyin. Kutools for Excel, Üretkenliği Artırmak ve Zamandan Tasarruf Etmek için 300'den Fazla Gelişmiş Özellik Sunar.  En Çok İhtiyacınız Olan Özelliği Almak İçin Buraya Tıklayın...

Açıklama


Office Tab, Office'e Sekmeli Arayüz Getirir ve İşinizi Çok Daha Kolay Hale Getirir

  • Word, Excel, PowerPoint'te sekmeli düzenlemeyi ve okumayı etkinleştirin, Publisher, Access, Visio ve Project.
  • Yeni pencereler yerine aynı pencerenin yeni sekmelerinde birden çok belge açın ve oluşturun.
  • Üretkenliğinizi% 50 artırır ve her gün sizin için yüzlerce fare tıklamasını azaltır!
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