---
title: "Count the orders between two dates | PracticeExcel"
description: "Practice COUNTIFS with dates in a live spreadsheet: count the orders between two dates."
canonical_url: "https://practiceexcelonline.com/practice/countifs/countifs-between-two-dates"
locale: en
meta:
  "og:description": "Practice COUNTIFS with dates in a live spreadsheet: count the orders between two dates."
  "og:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_Count%2Bthe%2Borders%2Bbetween%2Btwo%2Bdates%2Cdescription_~UHJhY3RpY2UgQ09VTlRJRlMgd2l0aCBkYXRlcyBpbiBhIGxpdmUgc3ByZWFkc2hlZXQ6IGNvdW50IHRoZSBvcmRlcnMgYmV0d2VlbiB0d28gZGF0ZXMu%2Ceyebrow_COUNTIFS%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiLCJDIiwiRiJdLCJyb3dzIjpbeyJuIjoxLCJjZWxscyI6WyJPcmRlciBkYXRlIiwiQ3VzdG9tZXIiLCJBbW91bnQiLCJNYXIgMSwgMjAyNCJdfSx7Im4iOjIsImNlbGxzIjpbIkZlYiAyNywgMjAyNCIsIk5vcnRod2luZCIsIjY0MCIsIk1hciAzMSwgMjAyNCJdfSx7Im4iOjMsImNlbGxzIjpbIk1hciAxLCAyMDI0IiwiT2FrbGluZSIsIjMxMCIsIiJdfSx7Im4iOjQsImNlbGxzIjpbIk1hciA4LCAyMDI0IiwiTm9ydGh3aW5kIiwiODIwIiwiIl19LHsibiI6NSwiY2VsbHMiOlsiTWFyIDE1LCAyMDI0IiwiUGluZWNyZXN0IiwiMTUwIiwiIl19LHsibiI6NiwiY2VsbHMiOlsiTWFyIDIyLCAyMDI0IiwiT2FrbGluZSIsIjQ3MCIsIiJdfV0sInRhcmdldCI6WzIsM119fQ%2Cp_Ii9wcmFjdGljZS9jb3VudGlmcy9jb3VudGlmcy1iZXR3ZWVuLXR3by1kYXRlcyI%2Cs_zn2g6OXZzv36413Y.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Count the orders between two dates | PracticeExcel"
  "twitter:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_Count%2Bthe%2Borders%2Bbetween%2Btwo%2Bdates%2Cdescription_~UHJhY3RpY2UgQ09VTlRJRlMgd2l0aCBkYXRlcyBpbiBhIGxpdmUgc3ByZWFkc2hlZXQ6IGNvdW50IHRoZSBvcmRlcnMgYmV0d2VlbiB0d28gZGF0ZXMu%2Ceyebrow_COUNTIFS%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiLCJDIiwiRiJdLCJyb3dzIjpbeyJuIjoxLCJjZWxscyI6WyJPcmRlciBkYXRlIiwiQ3VzdG9tZXIiLCJBbW91bnQiLCJNYXIgMSwgMjAyNCJdfSx7Im4iOjIsImNlbGxzIjpbIkZlYiAyNywgMjAyNCIsIk5vcnRod2luZCIsIjY0MCIsIk1hciAzMSwgMjAyNCJdfSx7Im4iOjMsImNlbGxzIjpbIk1hciAxLCAyMDI0IiwiT2FrbGluZSIsIjMxMCIsIiJdfSx7Im4iOjQsImNlbGxzIjpbIk1hciA4LCAyMDI0IiwiTm9ydGh3aW5kIiwiODIwIiwiIl19LHsibiI6NSwiY2VsbHMiOlsiTWFyIDE1LCAyMDI0IiwiUGluZWNyZXN0IiwiMTUwIiwiIl19LHsibiI6NiwiY2VsbHMiOlsiTWFyIDIyLCAyMDI0IiwiT2FrbGluZSIsIjQ3MCIsIiJdfV0sInRhcmdldCI6WzIsM119fQ%2Cp_Ii9wcmFjdGljZS9jb3VudGlmcy9jb3VudGlmcy1iZXR3ZWVuLXR3by1kYXRlcyI%2Cs_zn2g6OXZzv36413Y.png"
---

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

# **Count the orders between two dates**

**Premium**

In F3, count the orders dated from F1 to F2, both days included. Use the date column twice in COUNTIFS and join each operator to its cell: ">="&F1 and "<="&F2.

F3fx

|  | A | B | C | D | E | F | G |
| --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | Order date | Customer | Amount |  | From | Mar 1, 2024 | |
| 2 | Feb 27, 2024 | Northwind | 640 |  | To | Mar 31, 2024 | |
| 3 | Mar 1, 2024 | Oakline | 310 |  | Orders |  | |
| 4 | Mar 8, 2024 | Northwind | 820 |  |  |  | |
| 5 | Mar 15, 2024 | Pinecrest | 150 |  |  |  | |
| 6 | Mar 22, 2024 | Oakline | 470 |  |  |  | |
| 7 | Mar 31, 2024 | Brightside | 290 |  |  |  | |
| 8 | Apr 2, 2024 | Northwind | 560 |  |  |  | |
| 9 | Apr 9, 2024 | Pinecrest | 380 |  |  |  | |
| 10 |  |  |  |  |  |  | |

**Premium lesson**

## **Unlock COUNTIFS 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:**Summary tables****SUMPRODUCT**

It comes up in this mock test: [**Excel test for job interviews**](https://practiceexcelonline.com/tests/excel-test-for-job-interview)

[**See plans, from $5/month**](https://practiceexcelonline.com/pricing) [**Already premium? Sign in**](https://practiceexcelonline.com/login?next=/practice/countifs/countifs-between-two-dates)

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/countifs/countifs-between-two-dates#webpage","description":"Practice COUNTIFS with dates in a live spreadsheet: count the orders between two dates.","name":"Count the orders between two dates","url":"https://practiceexcelonline.com/practice/countifs/countifs-between-two-dates","@type":["WebPage","FAQPage"],"breadcrumb":{"@id":"https://practiceexcelonline.com/practice/countifs/countifs-between-two-dates#breadcrumb"},"isPartOf":{"@id":"https://practiceexcelonline.com/#website"},"mainEntity":[{"@id":"https://practiceexcelonline.com/practice/countifs/countifs-between-two-dates#/schema/question/1"}],"potentialAction":[{"@type":"ReadAction","target":["https://practiceexcelonline.com/practice/countifs/countifs-between-two-dates"]}],"primaryImageOfPage":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/practice/countifs/countifs-between-two-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":"COUNTIFS","item":"https://practiceexcelonline.com/practice/countifs","position":3},{"@type":"ListItem","name":"Count the orders between two dates","position":4}]},{"@id":"https://practiceexcelonline.com/practice/countifs/countifs-between-two-dates#/schema/question/1","@type":"Question","inLanguage":"en-US","name":"How do I count dates in a range in Excel?","acceptedAnswer":{"@type":"Answer","text":"=COUNTIFS(A2:A9,\">=\"&F1,A2:A9,\"\u003C=\"&F2), with the first date in F1 and the last in F2."}},{"@id":"https://practiceexcelonline.com/practice/countifs/countifs-between-two-dates#/schema/learning-resource/1","@type":"LearningResource","description":"Practice COUNTIFS with dates in a live spreadsheet: count the orders between two dates.","educationalLevel":"intermediate","isAccessibleForFree":false,"learningResourceType":"exercise","name":"Count the orders between two dates","teaches":"COUNTIFS"},{"@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.
