---
title: "Months of service with DATEDIF | PracticeExcel"
description: "Practice DATEDIF in a live spreadsheet: count the whole months of service since a hire date."
canonical_url: "https://practiceexcelonline.com/practice/datedif/datedif-months-of-service"
locale: en
meta:
  "og:description": "Practice DATEDIF in a live spreadsheet: count the whole months of service since a hire date."
  "og:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_Months%2Bof%2Bservice%2Bwith%2BDATEDIF%2Cdescription_~UHJhY3RpY2UgREFURURJRiBpbiBhIGxpdmUgc3ByZWFkc2hlZXQ6IGNvdW50IHRoZSB3aG9sZSBtb250aHMgb2Ygc2VydmljZSBzaW5jZSBhIGhpcmUgZGF0ZS4%2Ceyebrow_DATEDIF%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiLCJDIl0sInJvd3MiOlt7Im4iOjEsImNlbGxzIjpbIkhpcmVkIiwiRGF0ZSIsIk1vbnRocyJdfSx7Im4iOjIsImNlbGxzIjpbIk5vdiAxLCAyMDE5IiwiTWFyIDE1LCAyMDI0IiwiIl19XSwidGFyZ2V0IjpbMSwyXX19%2Cp_Ii9wcmFjdGljZS9kYXRlZGlmL2RhdGVkaWYtbW9udGhzLW9mLXNlcnZpY2Ui%2Cs_-kf9DKegGWjOZlVc.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Months of service with DATEDIF | PracticeExcel"
  "twitter:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_Months%2Bof%2Bservice%2Bwith%2BDATEDIF%2Cdescription_~UHJhY3RpY2UgREFURURJRiBpbiBhIGxpdmUgc3ByZWFkc2hlZXQ6IGNvdW50IHRoZSB3aG9sZSBtb250aHMgb2Ygc2VydmljZSBzaW5jZSBhIGhpcmUgZGF0ZS4%2Ceyebrow_DATEDIF%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiLCJDIl0sInJvd3MiOlt7Im4iOjEsImNlbGxzIjpbIkhpcmVkIiwiRGF0ZSIsIk1vbnRocyJdfSx7Im4iOjIsImNlbGxzIjpbIk5vdiAxLCAyMDE5IiwiTWFyIDE1LCAyMDI0IiwiIl19XSwidGFyZ2V0IjpbMSwyXX19%2Cp_Ii9wcmFjdGljZS9kYXRlZGlmL2RhdGVkaWYtbW9udGhzLW9mLXNlcnZpY2Ui%2Cs_-kf9DKegGWjOZlVc.png"
---

> Index of every page on this site: [llms.txt](https://practiceexcelonline.com/llms.txt)

# **Months of service with DATEDIF**

**Premium**

In C2, use DATEDIF to count the whole months of service from the hire date in A2 to the date in B2.

C2fx

|  | A | B | C | D | E | F |
| --- | --- | --- | --- | --- | --- | --- |
| 1 | Hired | Date | Months |  |  | |
| 2 | Nov 1, 2019 | Mar 15, 2024 |  |  |  | |
| 3 |  |  |  |  |  | |
| 4 |  |  |  |  |  | |
| 5 |  |  |  |  |  | |
| 6 |  |  |  |  |  | |
| 7 |  |  |  |  |  | |
| 8 |  |  |  |  |  | |

**Premium lesson**

## **Unlock DATEDIF and every other lesson**

This is a premium lesson. Premium lets you solve it and every other lesson, take the timed mock tests, and earn certificates you can share on LinkedIn.

Next with premium:**Week numbers and weekends****Loans: PMT and NPER**

[**See plans, from $5/month**](https://practiceexcelonline.com/pricing) [**Already premium? Sign in**](https://practiceexcelonline.com/login?next=/practice/datedif/datedif-months-of-service)

Need help?

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://practiceexcelonline.com/#identity","@type":"Organization","name":"PracticeExcel","url":"https://practiceexcelonline.com/","logo":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/#website","@type":"WebSite","inLanguage":"en-US","name":"PracticeExcel","url":"https://practiceexcelonline.com/","alternateName":["Practice Excel Online","PracticeExcelOnline.com"],"publisher":{"@id":"https://practiceexcelonline.com/#identity"},"workTranslation":{"@id":"https://excelopgaver.dk/#website"}},{"@id":"https://practiceexcelonline.com/practice/datedif/datedif-months-of-service#webpage","@type":"WebPage","description":"Practice DATEDIF in a live spreadsheet: count the whole months of service since a hire date.","name":"Months of service with DATEDIF","url":"https://practiceexcelonline.com/practice/datedif/datedif-months-of-service","breadcrumb":{"@id":"https://practiceexcelonline.com/practice/datedif/datedif-months-of-service#breadcrumb"},"isPartOf":{"@id":"https://practiceexcelonline.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://practiceexcelonline.com/practice/datedif/datedif-months-of-service"]}],"primaryImageOfPage":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/practice/datedif/datedif-months-of-service#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://practiceexcelonline.com","position":1},{"@type":"ListItem","name":"Excel practice exercises","item":"https://practiceexcelonline.com/practice","position":2},{"@type":"ListItem","name":"DATEDIF","item":"https://practiceexcelonline.com/practice/datedif","position":3},{"@type":"ListItem","name":"Months of service with DATEDIF","position":4}]},{"@id":"https://practiceexcelonline.com/practice/datedif/datedif-months-of-service#/schema/learning-resource/1","@type":"LearningResource","description":"Practice DATEDIF in a live spreadsheet: count the whole months of service since a hire date.","educationalLevel":"intermediate","isAccessibleForFree":false,"learningResourceType":"exercise","name":"Months of service with DATEDIF","teaches":"DATEDIF"},{"@id":"https://practiceexcelonline.com/#logo","@type":"ImageObject","caption":"PracticeExcel","contentUrl":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png","inLanguage":"en-US","url":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png"}]}
```

## Sitemap

See the full [sitemap](https://practiceexcelonline.com/sitemap.md) for all pages.
