All guides · API quickstart · Last checked: Excel add-in version 1.0, November 2026 (first release; tell us how it works for you)
- 1. Create an accountSign up in a minute and get $5 of free credit. Already a customer? Sign in.
- 2. Make an API keyIn your account, open AI API and press Create key. Keys start with
dgk_. Keep yours secret. - 3. Follow the steps belowCopy each block, paste your key where it says
dgk_your_key_here.
What it does
Formulas you type in any cell, and fill down a column like any other formula:
| Formula | What it does |
|---|---|
=DATAGRAM.ASK("Write a one-line product description", A2:C2) | Anything you'd ask, optionally about some cells |
=DATAGRAM.CLASSIFY(B2, "complaint, praise, question") | Sorts text into one of your categories (or a range listing them) |
=DATAGRAM.TRANSLATE(A2, "Spanish") | Translates text |
=DATAGRAM.SUMMARIZE(A2, 20) | Summarizes in about that many words (default 25) |
=DATAGRAM.EXTRACT(A2, "email address") | Pulls one thing out of text; blank if it isn't there |
The Datagram AI pane (Home tab): ask questions about the cells you select ("which region grew fastest?"), write a formula from a description and put it in the selected cell, or explain the formula in the selected cell.
What it costs
The add-in is free; each formula cell is one request, paid from your credit by the tokens it uses: classifying or extracting from a short cell costs a small fraction of a cent, so 1,000 rows typically cost cents, not dollars. To keep it that way:
- Answers are remembered on your computer, so recalculating, or reopening the workbook, doesn't charge again for the same input. (Settings → "Forget them" clears the memory.)
- Answers are consistent: the same input gives the same answer.
- It runs 3 cells at a time. A big column takes a while to fill (cells show #BUSY! until done); that's normal.
- For big sheets, Gemma 4 12B (Settings) is the fastest and cheapest model.
1. Install the add-in
Its address (manifest) is:
https://datagram.net/excel/manifest.xml
The steps are the same as for our Word and PowerPoint add-in:
- For your company (recommended): Microsoft 365 admin center → Settings → Integrated apps → Add-ins → Deploy Add-in, upload the file, choose who gets it. It can take up to 72 hours to appear.
- Just you, Excel on the web: Home → Add-ins → More Settings → Upload My Add-in, choose the file.
- Just you, on a Mac: copy the file into
~/Library/Containers/com.microsoft.Excel/Data/Documents/wef(create theweffolder if needed) and restart Excel.
Needs Excel for Microsoft 365 (Windows version 2002 or later), Excel for Mac 16.35 or later, or Excel on the web. Not available on iPad or phones.
2. Connect your account
- Make an API key for Excel in your account under AI API.
- Press Datagram AI on the Home tab, paste the key in Settings and press Save. The formulas use the same key. It's kept on that computer only.
If something goes wrong
A formula shows #N/A
Hover over the cell to see why: usually the API key isn't added yet (Settings in the Datagram AI pane), or your credit has run out.
#NAME? instead of an answer
Excel doesn't know the formula yet: the add-in isn't installed or hasn't started. Open the Datagram AI pane once from the Home tab, then recalculate.
Cells stay on #BUSY! for a long time
Many cells are waiting their turn (3 at a time). Let it finish; a model's first answer can take 10 to 20 seconds while it loads.
"Your Datagram AI credit has run out"
Add credit in your account under AI API. Credit never expires.
Questions
Is my spreadsheet stored?
No. Only the cells a formula or question uses go to our own Macs to produce the answer, and they are never written to a log or database or used for training. We keep only token counts for billing.
Will recalculating charge me again?
No. Answers are remembered on your computer by their exact input, so recalculating or reopening the workbook reuses them. Only new or changed inputs make new requests.
How fast is it on a big sheet?
It runs 3 cells at a time; a short classification takes about a second each, so 1,000 rows take several minutes. Gemma 4 12B is the fastest model for this.