All writing

Turn an Excel expense sheet into a document you can give to AI

Convert a small expense workbook, reopen the Markdown, and check every amount. Includes real output from two Korean sheets and a formula test that produced NaN.

Last updated

Menus and supported features can change. Compare the source-check date below with your current app version.

App · APP
Hands-on test Sources checked: · 0.1.9

You copy an Excel table into an AI chat, and the labels no longer line up with the amounts. One way to prepare the table is to turn it into a text file with headings and rows first. You can open that file, check its contents, and then decide what to share.

We’ll use MarkItDown, an open-source Microsoft tool for converting documents into Markdown for AI and text-processing workflows. Markdown uses simple marks such as ## for headings and | between table cells. Our aim here is to extract text and numbers from a small workbook. The original colors and column widths are outside this exercise. Official overview

I ran this test on November 27, 2026, using Linux, Python 3.12.14, and MarkItDown 0.1.9. Two Korean sheets, three expenses, and the CAD 51.50 total survived conversion. No separate model or API key was used. A second workbook, containing a formula without a saved calculated result, produced NaN in its total cell. You’ll see both results below. The Windows and macOS instructions follow the documented installation approach; I did not execute them on those operating systems.

Prepare the practice workbook

You need a computer and Python. This is a command-line tool: you type instructions into a terminal. It isn’t a phone-based web app. Installation requires an internet connection. This XLSX conversion does not require a MarkItDown account or a paid model connection. Sending the result to an AI service is a separate, later action.

Start with the fictional data below rather than personal transactions. The currency is Canadian dollars. It is included in the column name so the unit stays with the numbers.

항목 분류 금액_CAD
노트 문구 25.50
펜 문구 18.75
우표 배송 7.25
합계 전체 51.50

The headings mean item, category, and amount in CAD. The entries are notebook, pen, and stamps. The last row is the total. Keep these Korean labels for this exercise so you can compare your output with the actual test.

Enter the table starting at A1 in a new workbook and name that sheet 지출 (expenses). Add a second sheet named 메모 (notes), with these two columns. Save the workbook as Excel Workbook (.xlsx) under the name expenses-values.xlsx. For the first exercise, type 51.50 as a number in the total cell rather than entering a formula.

메모 내용
용도 연습용 가상 지출표
통화 CAD
주의 실제 거래 내역 아님

These notes say that the workbook is fictional practice data, the currency is CAD, and the entries are not real transactions. You can also use the exact workbook I tested. Whichever route you choose, check the input before converting it. Knowing what should be present makes missing cells easier to spot. Finish saving the workbook in your spreadsheet editor before continuing.

Install the tool and open your folder

MarkItDown 0.1.9 officially supports Python 3.10 through 3.14. Use a supported version from the official Python downloads page. If you are installing Python now, the 3.14 series is one option. The newest version advertised on that page may be outside this tool’s stated range. If Python is already installed, check its version with the command below first.

Create a new folder called markitdown-practice, perhaps in Documents, and put expenses-values.xlsx inside it. Open PowerShell from the Windows Start menu, or the Terminal application on macOS. A terminal is a place to give your computer written instructions.

Type cd , including the space, followed by your folder’s full path in double quotes. Then press Enter. For example: cd "C:\Users\YourName\Documents\markitdown-practice". Replace that example with the real path on your computer. The cd command changes the folder where subsequent commands look for files. Enter dir on Windows or ls on macOS/Linux and check that the workbook’s name appears.

In Windows PowerShell, run these lines one at a time. Continue only if the first command reports Python 3.10–3.14.

python --version
python -m venv .venv
.\.venv\Scripts\python.exe -m pip install "markitdown[xlsx]==0.1.9"
.\.venv\Scripts\python.exe -m pip show markitdown

On macOS or Linux, use these lines. The same Python version range applies.

python3 --version
python3 -m venv .venv
.venv/bin/python -m pip install "markitdown[xlsx]==0.1.9"
.venv/bin/python -m pip show markitdown

The .venv folder holds the programs installed for this exercise. Keep the workbook and output files outside it. The [xlsx] part requests the components for XLSX conversion; ==0.1.9 selects the version tested here. In the final command’s output, look for Name: markitdown and Version: 0.1.9. These commands use each program’s explicit location, so you do not need a separate environment-activation step. Installation options · Python virtual environments

Convert one workbook

In Windows PowerShell, enter:

.\.venv\Scripts\markitdown.exe "expenses-values.xlsx" -o "expenses-values.md"

On macOS or Linux, enter:

.venv/bin/markitdown "expenses-values.xlsx" -o "expenses-values.md"

The .xlsx name identifies the input. The name following -o is the output to save. Using a different extension and file keeps your original workbook available for comparison. If an existing Markdown file needs to be preserved, choose a new output name, such as expenses-values-2.md.

The document does not have to appear in the terminal. This command saves it to a file. Once the input prompt returns, check your working folder for expenses-values.md. If the terminal reports an error, use the troubleshooting table below before continuing. Processing time varies by computer and was not measured in this test.

Actual Linux terminal showing the XLSX conversion command and the saved Korean expense and notes sheets, including a total of 51.50
Captured by BumbleV on 2026-11-27. Linux / Python 3.12.14 / MarkItDown 0.1.9. This is actual output from the fictional workbook. The first line converts it; the content below the cat command is the saved file read back from disk. CC BY 4.0. Select the image to view its original size.

Reopen and check the saved document

A .md file is plain text. Use File → Open in a text editor such as Notepad and select expenses-values.md. If the file picker does not show it, change its file-type filter to all files. Exact menu labels can vary between editors.

For a formatted table view, open the file in Visual Studio Code and press Ctrl+Shift+V, or Command+Shift+V on macOS. That preview shortcut comes from the official VS Code documentation. The image above shows the Linux terminal used for this test, not VS Code. Markdown preview documentation

Here is the expense sheet taken directly from the saved conversion output:

## 지출
| 항목 | 분류 | 금액\_CAD |
| --- | --- | --- |
| 노트 | 문구 | 25.50 |
| 펜 | 문구 | 18.75 |
| 우표 | 배송 | 7.25 |
| 합계 | 전체 | 51.50 |

The sheet name became the heading ## 지출. The backslash in 금액\_CAD escapes the underscore so it is treated as a character. It does not indicate a changed amount. You should also find ## 메모 and its notes table later in the file. Compare your file with the complete actual output.

Check four things against the workbook: both sheets are present, there are three expense entries, each amount matches, and the total is 51.50. Creating a file is only the first check; its contents still need inspection. To edit colors or spreadsheet formulas later, reopen the original .xlsx workbook.

If your total says NaN

For the second test, I put =SUM(C2:C4) in the total cell instead of a number. The workbook was created with Python’s openpyxl package and had not been opened in a spreadsheet application to calculate and save that formula’s result. Conversion kept the individual amounts but returned NaN in the total cell.

Check Workbook with a numeric total Formula workbook without a saved result
Two sheets and Korean text Preserved Preserved
Three individual amounts 25.50 / 18.75 / 7.25 25.50 / 18.75 / 7.25
Total cell 51.50 NaN
Actual Linux terminal output with NaN in the total row after converting an XLSX formula cell without a saved calculated result
Captured by BumbleV on 2026-11-27 using MarkItDown 0.1.9. Look for NaN in the total row. This specific test does not establish how every formula workbook behaves. CC BY 4.0. Select the image to view its original size.

Here, NaN is neither zero nor a calculated total. Treat that cell as a missing usable number. An AI service might add the other amounts itself, but that would not mean the workbook’s original total had been transferred correctly. The official XLSX converter reads sheets and makes tables; it does not run an Excel calculation step. Converter source

If this happens to your file, open the original in a spreadsheet application and check that the total actually appears. Recalculate, save a separate copy under a different name, and convert that copy. Check the new total against the workbook again. I did not test that spreadsheet-application recovery procedure in this session. If the value is still missing, consider a separate copy containing verified values. Preserve the original with its formulas. The workbook containing the directly entered number 51.50 did retain its total in this test.

Use your own file and fix common problems

Replace the input filename in the command with your own .xlsx name. Keep the quotes around names containing spaces, for example "monthly expenses.xlsx" -o "monthly expenses.md". A small copy containing only the table you need is easier to inspect than a complex workbook. Merged cells, charts, hidden sheets, date formatting, and macro-enabled workbooks were not tested here; inspect those separately rather than assuming they transfer intact.

Problem First thing to check
Python cannot be found Confirm that a supported Python version is installed, then reopen the terminal. Get the version command working before continuing.
Installation fails Check for Python 3.10–3.14 and an internet connection. Read the final error instead of continuing past it.
Input file cannot be found Use dir or ls to check your working folder. Check for a doubled extension such as .xlsx.xlsx.
XLSX support is missing Confirm that you installed “markitdown[xlsx]==0.1.9” using the Python inside the same .venv folder.
Cells are missing Compare with the workbook. Do not silently replace blank cells or NaN totals with zero.
Korean text looks broken Reopen the text file as UTF-8 in your editor. The UTF-8 output in this test preserved the Korean text.

After checking the document, you can give the relevant portion to an AI service. This is one possible follow-up prompt. It is an input example, not a tested AI response.

Group only the expense entries in the table below by category.
All amounts are in CAD. Do not add the original total row as another expense.
Do not assume blanks or NaN are zero; mark them "needs checking".
Show the entries and arithmetic used in your answer.

[Paste the checked contents of expenses-values.md here]

Conversion does not perform the analysis or send the file to an AI service. Before sharing any output, check for names, account details, and transaction information, and use only material you are allowed to share. Compare any AI-generated answer with the original numbers too.

You have finished this exercise when one workbook has become a readable document, you have reopened that document, and its numbers match. Use the same checks for your next file. To try another format, continue with the published MarkItDown PDF conversion guide. There is also a tool introduction and a documentation-based comparison.

Sources and the limits of this test

MarkItDown is released under the MIT license. This is a separate XLSX task using an existing tool, rather than a new-product announcement. Official material and the test results were checked on November 27, 2026. The tested release is 0.1.9, with source commit 21d9c1d01ecc12538dab19811fd247ef2f96ef60. Conversion speed, large workbooks, AI answer quality, and execution on other operating systems were not measured or verified.

The practice data was created by BumbleV and contains fictional entries. Keep the input XLSX, actual Markdown output, formula-test XLSX, and formula-test output together if you want to compare the cases. The original screenshots and practice materials in this article are available under CC BY 4.0.

Sources & further reading