Blog / Guide

From Excel to a live dashboard with AI: the full guide

How I turn the weekly Excel report into a working dashboard with AI: the brief, the prompt, the build loop, three ways to share it, and the mistakes I made.

16 min read · DARWISH QANNAN

By Darwish Qannan, project coordinator and performance analyst in Riyadh. I build dashboards, trackers and internal tools from the files teams already use. More about me

Free downloadThe 9-page guide as a PDFThe short version of this article, with the prompt ready to copy. No sign-up.Download PDF
Short answer

Write a five-part brief (DRAFT), clean a sample copy of your Excel file, and give the AI a prompt that makes it report rows and totals before it builds. Build one page at a time and check the totals against Excel. Then share it as a file, a link, or with live data, in that order.

Most weekly reports start the same way. Someone opens the same Excel file every Thursday, copies the same numbers into the same slides, and checks the same totals by hand. Next week, again.

This guide is the way I turn that file into a small web page that does the work: a dashboard with filters, tables and totals that update when you click. You don't need a developer or any software to install. You need an Excel file you know well, an AI chat that can read it, and the patience to check what it gives you.

One thing to know from the start: the first version is a snapshot of your Excel data. It becomes live, updating by itself, only when you connect it to a shared data source. That is step 5, level 3, and many teams never need it.

The cover of the guide: the report you rebuild every Thursday can be one link
The short version of this article is a 9-page PDF. Download it from the box at the top of this page, or at the end.

01What you are actually building

Not a chart, and not a slide. A small application that runs in any browser: a few headline numbers at the top, a table underneath, and filters that change both. It lives in one HTML file. You can email it, open it on a phone, or put it online as a link.

0:00 / 0:20
A real dashboard: pick a filter, and the table updates.

If you rebuild any of these by hand, it is a good place to start:

  • The weekly status report you build from the same tracker every week.
  • The project tracker five people update in five different files.
  • The client view you asked IT for last year.

You are not learning to code. The AI writes the code. Your job is to describe what you need, test what you get, and notice when it is wrong. That last part is the one that matters.

02Step 1: write the brief before you open the AI

Ask an AI to "build me a dashboard" and you will get one in under a minute. It will have charts, colors and a title. It will also be built on guesses: which numbers matter, what a row in your file means, who is going to read it. The guesses are the problem, because they look exactly like answers.

Before I open the AI, I answer five questions. They spell DRAFT: Decision, Rows, Audience, Format and Test. They take about ten minutes.

The DRAFT brief: Decision, Rows, Audience, Format, Test
Try it

What changes when you answer each letter?

Tap a letter to see what the AI guesses, and what you tell it instead.

If you don't say it, the AI guesses

Show all the numbers.

When you say it

Which projects need the director's attention this week?

If you don't say it, the AI guesses

Every row is one project.

When you say it

One row is one task, with its owner, due date and status.

If you don't say it, the AI guesses

One page for everybody.

When you say it

The PMO director, every Sunday, for about 30 seconds.

If you don't say it, the AI guesses

Twelve charts, because they fit.

When you say it

4 KPIs on top, then a table with one row per project.

If you don't say it, the AI guesses

It looks right, so it is right.

When you say it

248 tasks in total, 17 overdue, 64 in IT.

The five questions, one by one

DDecision: what should the reader decide after one look?

A dashboard exists to help someone decide something. If you can't name the decision, the AI can't either, and you get a page of numbers nobody acts on.

WeakStrong
Show project status.Which projects need the director's attention this week?
Track the budget.Which departments will overspend before the quarter ends?

The strong version tells the AI what goes at the top, what gets a red color, and what can wait for the table below.

RRows: what does one row of your data mean?

This is the question people skip, and the one that breaks the most totals. In one file, a row is a task. In another, it is a task per week. In a third, it is a task, with a subtotal row under each project. Same columns, very different sums.

Say it in one sentence: "One row is one task, with its owner, due date and status." If your sheet has subtotal or total rows mixed into the data, remove them from the sample, or tell the AI exactly where they are.

Paste a few sample rows into the brief, so the AI sees the shape of the data. Use made-up rows, never client data.

AAudience: who reads it, and for how long?

A director who gives it 30 seconds before a meeting needs three numbers and a color. A project manager who lives in it every day needs filters, search and a detailed table. The same data makes two different dashboards, and the AI can't tell which one you meant unless you say it.

FFormat: 3 to 5 KPIs on top, details below

Name the KPIs and how each one is calculated. "Overdue tasks" sounds clear until you ask: overdue today, or at the end of the week? Do done-but-late tasks count?

Then name the filters using the exact column names from your file, and ask for one page first. A first version with ten tabs is ten places for mistakes to hide.

TTest: which totals must match before you trust it?

Pick two or three numbers you know by heart from your Excel file: the total number of tasks, the overdue count, one department's budget. Write them in the brief. When the dashboard is ready, those numbers must match exactly. If one is off, nothing else on the page can be trusted yet.

All five letters together, in one example

+A worked example

A made-up PMO tracker, answered with DRAFT. The numbers belong to this example only; your own file will give different ones, and those are the ones you write in your brief.

DecisionWhich projects need the PMO director's attention this week.
RowsOne row is one task: project, owner, department, due date, status, completed date. No subtotal rows.
AudienceThe PMO director, every Sunday morning, about 30 seconds.
FormatOn top: tasks done on time (%), overdue tasks, tasks due this week, blocked tasks. Below: one row per project, grouped from the tasks. Filters: Department, Owner, Status.
DefinitionsDone on time = completed on or before the due date. Overdue = not completed and past the due date. Blocked = Status is "Blocked". How a project's status comes from its tasks: the AI asks me before building.
Test248 tasks in total; 17 overdue as of 19 November 2026; IT has 64 tasks.

And the same brief as a prompt:

The worked example as a prompt
I need a dashboard that helps decide which projects need the PMO director's attention this week.
I attached a sample workbook. Use the sheet Tasks. One row is one task: project, owner, department, due date, status, completed date.
It is for the PMO director, every Sunday morning, for about 30 seconds.
On top: tasks done on time (%), overdue tasks, tasks due this week, blocked tasks. Below: one row per project, grouped from the tasks. Filters: Department, Owner, Status.
Done on time means completed on or before the due date. Overdue means not completed and past the due date, as of 19 November 2026. Blocked means Status is "Blocked". Ask me how a project's status should come from its tasks.
Before you build, tell me the columns you will use, how many rows you found, and how you will calculate each KPI. I expect 248 tasks, 17 overdue, and 64 in IT.

Give me one self-contained file to download, index.html, with the sample data, CSS, and JavaScript inside. Don't load libraries, fonts or files from the internet. It must open in a browser with no server and fit a phone screen.
Don't invent data. If something is unclear, ask me first.

03Step 2: clean the file before the AI sees it

Don't attach your real workbook. Make a new sample workbook: copy your column headers and fill it with fictional rows. No names, salaries or client records. Treat anything you upload as readable by the AI service, including hidden sheets, columns and comments.

Then check four things:

  • One header row with clear column names. No merged cells, no subtotal rows in the middle of the data.
  • Numbers stored as numbers. No units typed into the cell, like "85,000 SAR". Excel's SUM quietly skips text, and the AI may read it differently from you. The full story is below.
  • Real dates that Excel understands, not "next Thursday" or "TBD".
  • Nothing hidden. Check hidden sheets, hidden columns and comments. They travel with the file.

A closer look: one mistake worth stopping for

The mistake that costs the most: numbers stored as text

A budget column. Four rows. Excel says the total is 275,000. The real total is 360,000. Nothing is red, nothing says error, and the report goes out.

The cause was one cell. Someone typed 85,000 SAR into it, with the currency, the way you would write it in an email. To Excel, that is not a number. It is text that happens to contain digits. And SUM skips text without a word.

Try it

Type in the cells and watch the total

Change any amount, or add a unit to it, and see what SUM does.

AB
1DepartmentBudget
2IT
3Marketing
4Operations
5HR
6=SUM(B2:B5)
Numbers (COUNT)
Filled cells (COUNTA)
The real total

Look at the alignment. Numbers sit on the right of the cell by default; text sits on the left. That left-aligned amount is the only visual clue, and on a busy sheet it is easy to miss.

The strange part is that a direct formula would have warned you. =B2+B3+B4+B5 returns #VALUE!, because it tries to add text. SUM is more polite: it ignores anything that is not a number and gives you a total that looks perfectly fine.

How text gets into a number column

  • Units typed into the cell: "85,000 SAR" or "12 days". (A plain 40% is fine: Excel stores it as a number.)
  • A leading apostrophe: '85000 forces Excel to keep it as text.
  • Copy and paste from a website, a PDF or another system, often with an invisible non-breaking space inside.
  • Imports from CSV files or exports where a column was set to text.

How to spot it in one minute

  • Compare two counts. =COUNT(B2:B100) counts numbers only; =COUNTA(B2:B100) counts every cell that is not empty. If they differ, some cells hold something other than a number: usually text, sometimes an error or a formula that returns blank. Look at those cells before you trust the total.
  • Ask each cell. =ISTEXT(B2) returns TRUE for the culprit. To count them all: =SUMPRODUCT(--ISTEXT(B2:B100)).
  • Use the status bar. Right-click it and turn on Count and Numerical Count, then select the amounts. If Count is higher than Numerical Count, some cells are not numbers.
  • The green triangle. With error checking on, Excel can mark a number stored as text in the corner, like '85000 or a value that came in from an import. A value like "85,000 SAR" usually gets no mark at all. So don't rely on the triangle alone.

How to fix it

  • Units typed in: select the amounts, Find and Replace SAR with nothing, and check that the cells now sit on the right. If one stays on the left, a hidden web space is usually still inside it: use the formula below.
  • Numbers stored as text: select one column, Data → Text to Columns, click Next, make sure no delimiter box is ticked (Excel remembers the last ones you used, and a ticked Space would split your cells), then Finish.
  • With a formula, in a helper column: =VALUE(SUBSTITUTE(B2," SAR","")).
  • Invisible spaces from the web: =VALUE(TRIM(SUBSTITUTE(SUBSTITUTE(B2,"SAR",""),CHAR(160),""))) removes the unit and the non-breaking space, then converts.

After any fix, run the COUNT and COUNTA check again and compare the total with what you expect. They should match.

How to stop it coming back

  • Put the currency in the header once: "Budget (SAR)". The cells hold only numbers.
  • Use Data Validation on the column (Allow: Decimal), so a typed "SAR" is refused at the door.
  • Format the cells as numbers or currency if you want the unit to show. The format displays it; the value stays a number.

04Step 3: the prompt

This is the prompt I start with. Write your answers below, attach the sample workbook, and send it in a Claude or ChatGPT chat that can read Excel files.

Try it

Write your answers, and the prompt writes itself

Fill the boxes or try the example, then copy the prompt into Claude or ChatGPT with your sample file.

Your prompt
D  I need a dashboard that helps decide [the decision].
R  I attached a sample workbook. Use the sheet [sheet name]. One row is [what one row means].
A  It is for [who will use it, and how often].
F  On top: [3 to 5 KPIs, and how each one is calculated]. Details below. Filters: [exact column names].
T  Before you build, tell me the columns you will use, how many rows you found, and how you will calculate each KPI.

Give me one self-contained file to download, index.html, with the sample data, CSS, and JavaScript inside. Don't load libraries, fonts or files from the internet. It must open in a browser with no server and fit a phone screen.
Don't invent data. If something is unclear, ask me first.
Start with one page.

This prompt is for a dashboard. For 23 other work tasks, like meeting minutes, emails and formulas, Prompt Builder writes the prompt from your answers.

Two lines in it do most of the work:

  • "Before you build, tell me the columns you will use, how many rows you found..." If the AI read the wrong sheet or counted the subtotal rows, you find out now, before it writes hundreds of lines of code on top of the mistake.
  • "Don't invent data." Without it, an AI that finds an empty column will happily fill it with something that looks real.

When it answers, compare its row count and totals with your Excel file. If they don't match, stop and fix that first.

05Step 4: build in short loops

The first version is never the last one. What keeps it under control is a simple loop:

  1. 1AskOne change per message.Ask for ten, and something you liked breaks quietly.
  2. 2OpenOn your phone, every time.Managers open links on their phones.
  3. 3CheckTotals against your Excel file.And one filtered total too. It can look finished and still add up wrong.
  4. 4SaveA copy before every big change.v1, v2, v3. When it breaks, you go back in seconds.

Then test the ugly cases on purpose: empty cells, messy dates, Arabic names, very long text, and numbers typed as text. Real data has all of them.

A good follow-up prompt is short and fenced in:

A good follow-up
Make the KPI cards bigger.
Change nothing else.

06Step 5: share it, and stop at the first level that works

Three levels of sharing: a file, a link, live data
Try it

Which level is enough for you?

Pick who updates the numbers, and see where to stop.

Level 1A fileSend it like any attachment.
Level 2A linkEveryone opens the same page.
Level 3Live dataOne shared source for everyone.

Level 1: a file

Send the HTML file like any attachment. It is enough when one person updates the numbers. When the numbers change, ask the AI to rebuild it with the new file and send it again.

Level 2: a link

Upload it, and everyone opens the same page. I use Cloudflare Pages; GitHub Pages and Netlify work too. In Cloudflare: Workers & Pages, then Create, then Pages, then Upload assets, and drag in a folder that holds your index.html. You get a link in about a minute.

Treat the link as public: anyone who opens it can see the data inside the file, including rows a filter hides. If the data is private, put a login in front of the link (Cloudflare Access does this for Cloudflare Pages), or keep it at level 1.

Level 3: live data

Connect the page to one shared source, so the team updates one place and the page shows it without a rebuild. Google Sheets is the simplest source for a small tracker, but reading it from a web page usually means publishing the sheet to the web, which makes it public, so keep private data out of it. Firebase and Supabase are full databases with logins and permissions; I use Firebase. Each of them needs some setup beyond uploading a file.

0:00 / 0:17
Where level 3 can go: one system with a different view for each role.

Level 3 is a system, not a demo. It needs logins and rules for who edits and who sees what. Decide who looks after it before real data goes in.

07The mistakes I made

These are not hypothetical. Each one happened in a dashboard or a file I built with AI, and each one passed the AI's own check. Most of them are about Arabic, because that is where AI tools are weakest and where my clients' readers are.

Five mistakes I made, so you don't
The LinkedIn version of this list. This article tells the full story of five, with one swap: the login screen instead of the phone layout.

01Arabic letters fell apart

A heading looked fine on screen. In the exported slides, the Arabic letters stood apart from each other, like a word typed with spaces between every letter. The cause was letter spacing: a small amount of tracking that makes English capitals look elegant. Arabic is a connected script; spacing the letters breaks the joins.

Before

ا‌ل‌إ‌ي‌ر‌ا‌د‌ا‌ت‌ ‌ا‌ل‌ش‌ه‌ر‌ي‌ة

After

الإيرادات الشهرية

Fix: no letter spacing on Arabic text, ever. If one style serves both languages, set the spacing back to zero for Arabic. Then open the exported file, not just the screen.

02Signs and percentages jumped to the wrong side

In Arabic lines, "-5" showed as "5-", "+23" as "23+", and in one export "100%" came out as "%100". Same value, different look, and a reader can't tell whether it means minus five or something else. This comes from how text direction works: digits always run left to right, but the signs around them follow the direction of the sentence.

Before

التغير: -5

After

التغير: -5

Fix: isolate signed numbers and percentages as left to right. In HTML, wrap them in <bdi dir="ltr">. In slides and exports, keep each number in its own left-to-right text box, and check the exported file.

03A gold button with gold text

The AI restyled a button in my gold brand color, and an older rule colored the button's text gold as well. Gold on gold. The button was there; its label was not. Nobody spotted it on the English page because the old rule only applied to the Arabic one.

Before
Export report
After
Export report

Fix: read every button, in every language, not just the layout. Check the contrast of the label against its background, and check the hover state too.

04A login screen flashed before the demo opened

A demo dashboard had a login card for real clients. In the public demo it was switched off, but it still appeared for a split second while the page loaded: "Authorized users only", then the dashboard. Visitors saw a locked door before they saw the work.

Fix: anything that should not show is hidden by default, and shown only when the code decides it is needed. Never the other way around.

05Dictionary Arabic

Asked to translate "dashboard", the AI wrote a formal dictionary phrase. Correct, and wrong at the same time: people in Saudi offices say داشبورد (dashboard, written in Arabic letters). A dashboard in words nobody uses feels like a translation, not a tool.

Before

لوحة المعلومات

After

الداشبورد

Fix: give the AI a short glossary of the words your team actually says, and have a native reader check every label before it goes out.

What these mistakes have in common

+The pattern

None of these would show up in a quick look on a laptop in English. They show up when a real reader opens the page in Arabic, on a phone, or in the exported file. So that is where I check: every page, at phone width, in both languages, and in the file that actually gets sent.

The rest of what breaks when a dashboard goes Arabic is in Arabic dashboards: 7 things that break when you go right to left.

08The one rule

AI builds fast. Checking is still your job. Every number on the screen is yours, not the AI's. Check the totals before the meeting, not during it.

If you want to see where this approach ends up, these are working examples with made-up data and no login:

The short version, as a PDF: the 9-page guide with the prompt ready to copy. Download the guide.

Want this built around your own data?

I build dashboards, trackers and internal tools from the files your team already uses.

Work with me