---
title: "Days between two dates | PracticeExcel"
description: "Practice date arithmetic in a live spreadsheet: count the days between an order and a delivery."
canonical_url: "https://practiceexcelonline.com/practice/dates/days-between-dates"
locale: en
meta:
  "og:description": "Practice date arithmetic in a live spreadsheet: count the days between an order and a delivery."
  "og:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_Days%2Bbetween%2Btwo%2Bdates%2Cdescription_~UHJhY3RpY2UgZGF0ZSBhcml0aG1ldGljIGluIGEgbGl2ZSBzcHJlYWRzaGVldDogY291bnQgdGhlIGRheXMgYmV0d2VlbiBhbiBvcmRlciBhbmQgYSBkZWxpdmVyeS4%2Ceyebrow_Dates%2Band%2BDATE%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiLCJDIl0sInJvd3MiOlt7Im4iOjEsImNlbGxzIjpbIk9yZGVyZWQiLCJEZWxpdmVyZWQiLCJEYXlzIl19LHsibiI6MiwiY2VsbHMiOlsiTWFyIDQsIDIwMjQiLCJNYXIgMTUsIDIwMjQiLCIiXX1dLCJ0YXJnZXQiOlsxLDJdfX0%2Cp_Ii9wcmFjdGljZS9kYXRlcy9kYXlzLWJldHdlZW4tZGF0ZXMi%2Cs_qvlj3lLd7QTIYn0I.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Days between two dates | PracticeExcel"
  "twitter:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_Days%2Bbetween%2Btwo%2Bdates%2Cdescription_~UHJhY3RpY2UgZGF0ZSBhcml0aG1ldGljIGluIGEgbGl2ZSBzcHJlYWRzaGVldDogY291bnQgdGhlIGRheXMgYmV0d2VlbiBhbiBvcmRlciBhbmQgYSBkZWxpdmVyeS4%2Ceyebrow_Dates%2Band%2BDATE%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiLCJDIl0sInJvd3MiOlt7Im4iOjEsImNlbGxzIjpbIk9yZGVyZWQiLCJEZWxpdmVyZWQiLCJEYXlzIl19LHsibiI6MiwiY2VsbHMiOlsiTWFyIDQsIDIwMjQiLCJNYXIgMTUsIDIwMjQiLCIiXX1dLCJ0YXJnZXQiOlsxLDJdfX0%2Cp_Ii9wcmFjdGljZS9kYXRlcy9kYXlzLWJldHdlZW4tZGF0ZXMi%2Cs_qvlj3lLd7QTIYn0I.png"
---

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

# **Days between two dates**

1.
2.
3.

Step 1 of 3

Excel stores a date as a **number of days**. Mar 15, 2024 is day 45366; the cell only shows it as a date. Because dates are numbers, you can subtract them.

Click **Continue** when you're ready.

Already know it? Type the formula straight into C2.

C2fx

|  | A | B | C | D | E | F |
| --- | --- | --- | --- | --- | --- | --- |
| 1 | Ordered | Delivered | Days |  |  | |
| 2 | Mar 4, 2024 | Mar 15, 2024 |  |  |  | |
| 3 |  |  |  |  |  | |
| 4 |  |  |  |  |  | |
| 5 |  |  |  |  |  | |
| 6 |  |  |  |  |  | |
| 7 |  |  |  |  |  | |
| 8 |  |  |  |  |  | |

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/dates/days-between-dates#webpage","description":"Practice date arithmetic in a live spreadsheet: count the days between an order and a delivery.","name":"Days between two dates","url":"https://practiceexcelonline.com/practice/dates/days-between-dates","@type":["WebPage","FAQPage"],"breadcrumb":{"@id":"https://practiceexcelonline.com/practice/dates/days-between-dates#breadcrumb"},"isPartOf":{"@id":"https://practiceexcelonline.com/#website"},"mainEntity":[{"@id":"https://practiceexcelonline.com/practice/dates/days-between-dates#/schema/question/1"},{"@id":"https://practiceexcelonline.com/practice/dates/days-between-dates#/schema/question/2"}],"potentialAction":[{"@type":"ReadAction","target":["https://practiceexcelonline.com/practice/dates/days-between-dates"]}],"primaryImageOfPage":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/practice/dates/days-between-dates#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":"Dates and DATE","item":"https://practiceexcelonline.com/practice/dates","position":3},{"@type":"ListItem","name":"Days between two dates","position":4}]},{"@id":"https://practiceexcelonline.com/practice/dates/days-between-dates#/schema/question/1","@type":"Question","inLanguage":"en-US","name":"How do I count the days between two dates in Excel?","acceptedAnswer":{"@type":"Answer","text":"Subtract the earlier date from the later one, for example =B2-A2, or use =DAYS(B2,A2)."}},{"@id":"https://practiceexcelonline.com/practice/dates/days-between-dates#/schema/question/2","@type":"Question","inLanguage":"en-US","name":"Why does my date show as a number like 45366?","acceptedAnswer":{"@type":"Answer","text":"The cell is formatted as General. A date is stored as a number of days; format the cell as a date to see it as one."}},{"@id":"https://practiceexcelonline.com/practice/dates/days-between-dates#/schema/learning-resource/1","@type":"LearningResource","description":"Practice date arithmetic in a live spreadsheet: count the days between an order and a delivery.","educationalLevel":"beginner","isAccessibleForFree":true,"learningResourceType":"exercise","name":"Days between two dates","teaches":"Dates and DATE"},{"@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.
