There are times when it can be useful to see all of the events in your calendar at once. Outlook lets you export all of the events between two dates into a single CSV file. Here’s how it all works.

Want to know how many pointless meetings Chad from Marketing has invited you to in the last year? Wondering when the last time your supervisor had a one-to-one with you was? Maybe you just want to do some analytics on your time spent so you can see where the days go?

Whatever the reason, a spreadsheet that can be searched, sorted, and filtered—or pumped into an analytics app like Power BI—is often the best way to analyze data and find the information you’re looking for.

Outlook makes it easy to export your calendar into a comma-separated values (CSV) file that can be opened in Excel, Google Sheets, or any data analysis package.

To export your calendar, open Outlook and then click File > Open & Export.

Choose the “Import/Export” option.

In the Import and Export Wizard that opens, select “Export to a file” and then click “Next”.

Select “Comma Separated Values” and click “Next”.

Now, select the “Calendar” option in the folder list and click the “Next” button.

Choose a location and filename for your CSV file and then click “Next”.

Finally, click the “Finish” button. This is the end of the export wizard, but because you’re exporting a calendar, you’ll be given the option to choose the start and end dates for the data you want before the export starts.

Choose a date range and then click the “OK” button. Every appointment within that date range will be exported.

A panel with a progress bar will open. Depending on the length of the date range and the number of appointments, the export could take anything from a few seconds to a few minutes.

Once the progress panel has closed, the export will be finished. Navigate to where you saved the CSV and open it in your desired program. You’ll see data on every appointment in your calendar within the date range you chose.

The data includes more than we’ve shown here. Meeting organizer, Attendees, Location, Category, Sensitivity, and other information are all included. Now you can do all the data analysis you want.