Testing guide
Time needed: about 10 minutes, or 3 minutes for the fast path below. No API keys, external accounts or app configuration are needed. The app’s manifest requests no Confluence scopes, so there are no data permissions to grant.
Sample data and the full expected tables are under Sample data below.
Questions: use this page, or the support portal.
Fast path (3 minutes)
Section titled “Fast path (3 minutes)”- Install the app from the Marketplace listing (section 1).
- On a new page, type
/Markdownand choose Markdown & CSV Table. The settings panel opens. - Paste sample (a) from Sample data below into Markdown table or CSV.
- Set Default number format to
#,##0and Apply format to to All numbers. Under Column formats, setG · Variance %to0.0%. - Under Totals row, set
D · Budget,E · ActualandF · Varianceto SUM. - Click Save, then publish the page.
Expected result: the finished table from section 3, with a total row of 9,650, 9,814 and 164. Sections 3–8 explain each setting and cover re-paste, the AI chat answer, CSV, sorting and PDF export.
What you need
Section titled “What you need”- A Confluence Cloud site where you are a site admin, for example a free Cloud developer site.
- A browser with access to that site.
1. Install the app
Section titled “1. Install the app”Installation link: https://marketplace.atlassian.com/apps/1446579029/markdown-csv-table-calculator-for-confluence (free; a site admin selects Get it now). The Forge docs state: “Once your app has been submitted for listing on Marketplace, or has a license in the app manifest, it can’t be shared via installation link.” This app is publicly listed, so the listing is its installation link.
To install:
- Open https://marketplace.atlassian.com/apps/1446579029/markdown-csv-table-calculator-for-confluence while signed in as a site admin.
- Choose Get it now, select your Confluence Cloud site and follow the prompts.
Expected result: “Markdown & CSV Table Calculator for Confluence” appears in your site’s installed apps. There is nothing to configure.
2. Create a page and insert the macro
Section titled “2. Create a page and insert the macro”- In Confluence, create a new page in any space and give it a title, for example
Q1 budget review. - In the page body, type
/and thenMarkdown. Choose Markdown & CSV Table from the list. - The settings panel Markdown & CSV Table opens automatically.
Expected result: a settings panel with a large text box labeled Markdown table or CSV. Below it are Format, First row is a header, Sort by, Order, Default number format, Apply format to, a Preview area and a Save button.
3. Sample (a): Markdown budget — formats and totals
Section titled “3. Sample (a): Markdown budget — formats and totals”- Copy sample (a) from Sample data below and paste it into Markdown table or CSV.
- Wait about a second. Preview shows the table with column labels such as
A · Cost item,D · Budget,G · Variance %. The Column formats and Totals row sections appear. - Default number format: type
#,##0. Set Apply format to to All numbers. - Column formats →
G · Variance %: type0.0%. - Totals row: set
D · Budget,E · ActualandF · Varianceto SUM. - Click Save, then publish the page.
Expected result on the published page:
| Cost item | Qty | Unit cost | Budget | Actual | Variance | Variance % | Status |
|---|---|---|---|---|---|---|---|
| Laptops | 4 | 1,250 | 5,000 | 5,100 | 100 | 2.0% | Over |
| Software licenses | 25 | 36 | 900 | 864 | -36 | -4.0% | OK |
| Training | 3 | 450 | 1,350 | 1,200 | -150 | -11.1% | OK |
| Team offsite | 1 | 2,400 | 2,400 | 2,650 | 250 | 10.4% | Over |
| Total | 9,650 | 9,814 | 164 |
Optional sort check: edit the macro, set Sort by F · Variance and Order Descending, then save. Expected order: Team offsite, Laptops, Software licenses, Training. Formulas and totals do not change.
4. Re-paste to update
Section titled “4. Re-paste to update”- Edit the page. Select the macro and choose the edit (pencil) option in the macro toolbar to reopen Markdown & CSV Table.
- In Markdown table or CSV, change the Training row’s Actual from
1200to1350. You can also paste the re-paste version of sample (a) from Sample data below. - Click Save, then update the page.
Expected result: Training Actual 1,350, Variance 0 and Variance % 0.0%. Total Actual changes from 9,814 to 9,964, and Total Variance from 164 to 314. Your totals, formats and sort settings are kept. If the optional sort is on, Training now appears above Software licenses.
5. Sample (b): a table inside an AI chat answer
Section titled “5. Sample (b): a table inside an AI chat answer”- Insert a second Markdown & CSV Table macro (type
/Markdown). - Paste all of sample (b), including the sentences before and after the table.
- Default number format:
#,##0. Apply format to: All numbers. - Totals row:
D · Amount→ SUM. - Save.
Expected result: only the table is used; the surrounding sentences and the bold title line are ignored.
| Item | Qty | Price | Amount |
|---|---|---|---|
| Venue | 1 | 1,500 | 1,500 |
| Catering | 30 | 25 | 750 |
| Printed handouts | 30 | 4 | 120 |
| Speaker travel | 2 | 450 | 900 |
| Total | 3,270 |
6. Sample (c): CSV sales pipeline
Section titled “6. Sample (c): CSV sales pipeline”- Insert a third macro and paste sample (c). Leave Format as Detect automatically.
- Default number format:
#,##0. Leave Apply format to as Formulas and totals only. - Column formats:
D · Win rate→0%,F · Share of pipeline→0.0%. - Totals row:
B · Deals,C · Pipeline,E · ExpectedandF · Share of pipeline→ SUM. LeaveD · Win rateas None. - Save.
Expected result:
| Region | Deals | Pipeline | Win rate | Expected | Share of pipeline |
|---|---|---|---|---|---|
| North | 12 | 48,000 | 25% | 12,000 | 30.0% |
| South | 8 | 31,500 | 30% | 9,450 | 19.7% |
| East | 15 | 62,250 | 20% | 12,450 | 39.0% |
| West | 5 | 18,000 | 40% | 7,200 | 11.3% |
| Total | 40 | 159,750 | 41,100 | 100.0% |
Win rate is not totaled: an average of regional rates would ignore pipeline size.
7. Sample (d): project hours, sorted
Section titled “7. Sample (d): project hours, sorted”- Insert a fourth macro and paste the semicolon version of sample (d). The tab-separated version gives the same result if the tabs survive copying.
- Column formats:
F · Used→0%. - Totals row:
C · Estimate,D · Actual,E · Remaining→ SUM. - Sort by:
F · Used. Order: Descending. - Save, then update the page.
Expected result:
| Task | Owner | Estimate | Actual | Remaining | Used |
|---|---|---|---|---|---|
| Design | Ben | 24 | 30 | 0 | 125% |
| Requirements | Ana | 16 | 14 | 2 | 88% |
| Build | Chen | 60 | 42 | 18 | 70% |
| Testing | Dana | 20 | 6 | 14 | 30% |
| Total | 120 | 92 | 34 |
8. Export to PDF
Section titled “8. Export to PDF”- On the published page, open the page’s ••• (more actions) menu and choose the export option for PDF.
- Open the downloaded PDF.
Expected result: each macro appears as a table with the header row, the calculated values and the bold total row. The values are the same as on the page. A .doc export of the page also includes the tables.
9. Optional checks
Section titled “9. Optional checks”- Error handling: paste
a,b,con the first line and1,0,=A2/B2on the second. Expected:#DIV/0!in red and the message “1 formula returned an error.” - Circular reference: paste
a,band then=B2,=A2. Expected:#CIRCULAR!in both cells and “2 formulas returned an error.” The page does not hang. - Guest view: Confluence guests (unlicensed users) can view the table on pages they can open. We verified this on a test site with a guest account. If you have a guest account, open the page with it: the tables show the same values. Anonymous (not logged-in) visitors are not supported.
Troubleshooting
Section titled “Troubleshooting”| Symptom | What to do |
|---|---|
Markdown & CSV Table is not in the / list right after install | Reload the editor (refresh the browser tab) and type /Markdown again. Check that the app shows in your site’s installed apps |
| The settings panel did not open after inserting | Select the macro and choose the edit (pencil) option in the macro toolbar |
| Preview shows “Paste data above to see a preview.” | The text box is empty. Paste the sample text |
| ”This table can’t be shown yet” with “No Markdown table found…” | A Markdown table needs a header row and a separator row such as | --- | --- |. Paste the whole sample, including the second line |
| The table looks scrambled, or “Some rows have a different number of cells…” appears for sample (d) | The tabs were turned into spaces when copying. Use the semicolon version of sample (d), or set Format by hand |
| ”Only one column was found…” | The separator was not detected. Set Format to the separator your data uses |
| Formulas show ”…” for a moment | Normal. The pasted cells show first, then the calculated values arrive from the app’s backend function |
| ”Only the first 500 of N rows are shown.” / “Only the first 30 of N columns are shown.” | Limits per macro are 500 data rows and 30 columns. Extra rows and columns are cut off |
| ”The data is too large (… characters). The limit is 200,000.” | Split the data into several macros |
Known limitations
Section titled “Known limitations”These are outside the samples above. Each has a simple workaround.
| Limitation | Workaround |
|---|---|
Inside SUM, AVERAGE, MIN and MAX, each argument should be a range or a cell reference. An argument that contains arithmetic, such as =MAX(C2-D2,0), is not evaluated as expected | Use ranges and cell references (=SUM(D2:D5), =MAX(B2,C2)), put the arithmetic outside the function (=SUM(D2:D5)*2), or use IF as in sample (d): =IF(C2>D2,C2-D2,0) |
| Only the first Markdown table in the pasted text is used. Later tables in the same text are ignored | Paste each table into its own macro |
Numbers are read with a period as the decimal separator, so 1,5 is read as 15 | Write decimals with a period: 1.5 |
| If columns are added or removed, the total settings may no longer match the columns you meant | Check Totals row and choose the total type for each column again |
| Confluence’s Markdown export of a page may not include this macro’s table | Use PDF export or the .doc export, which include the table |
Sample data
Section titled “Sample data”Four copy-paste samples for business teams: a team budget (the main example), a table inside an AI chat answer, a sales pipeline and project hours. Paste each one into the Markdown table or CSV box of a separate Markdown & CSV Table macro. The testing guide above walks through each sample step by step.
How addresses work:
- With First row is a header on (the default), the header is row 1 and data starts at row 2. Column A is the leftmost column.
- Formulas start with
=. The preview in the settings panel labels columnsA · Cost item,B · Qty, and so on. - Sorting changes only the display order.
=B2always means the second pasted row. - Values like
1,250,"48,000"and25%are read as numbers (1250, 48000 and 0.25).
All expected values below were computed with the app’s own calculation code on exactly the text and settings shown.
(a) Markdown — Q1 team budget vs. actual
Section titled “(a) Markdown — Q1 team budget vs. actual”Scenario: a team lead prepares the quarterly budget review page and asks the team to decide on the overspend.
| Cost item | Qty | Unit cost | Budget | Actual | Variance | Variance % | Status || --- | ---: | ---: | ---: | ---: | ---: | ---: | --- || Laptops | 4 | 1250 | =B2*C2 | 5100 | =E2-D2 | =F2/D2 | =IF(F2>0,"Over","OK") || Software licenses | 25 | 36 | =B3*C3 | 864 | =E3-D3 | =F3/D3 | =IF(F3>0,"Over","OK") || Training | 3 | 450 | =B4*C4 | 1200 | =E4-D4 | =F4/D4 | =IF(F4>0,"Over","OK") || Team offsite | 1 | 2400 | =B5*C5 | 2650 | =E5-D5 | =F5/D5 | =IF(F5>0,"Over","OK") |Settings:
| Setting | Value |
|---|---|
| Format | Detect automatically |
| First row is a header | On |
| Default number format | #,##0 |
| Apply format to | All numbers |
Column formats → G · Variance % | 0.0% |
Totals row → D · Budget, E · Actual, F · Variance | SUM (others: None) |
| Sort by / Order | No sorting |
Expected table:
| Cost item | Qty | Unit cost | Budget | Actual | Variance | Variance % | Status |
|---|---|---|---|---|---|---|---|
| Laptops | 4 | 1,250 | 5,000 | 5,100 | 100 | 2.0% | Over |
| Software licenses | 25 | 36 | 900 | 864 | -36 | -4.0% | OK |
| Training | 3 | 450 | 1,350 | 1,200 | -150 | -11.1% | OK |
| Team offsite | 1 | 2,400 | 2,400 | 2,650 | 250 | 10.4% | Over |
| Total | 9,650 | 9,814 | 164 |
Notes:
- All numbers applies
#,##0to typed numbers (Unit cost, Actual) as well as to formulas and totals, so Budget and Actual display alike. The column format0.0%overrides the default for Variance %. - With Formulas and totals only (the default), typed numbers keep their typed form, so Actual would show
5100next to Budget5,000. - Without any settings (just paste and save), the formula columns show unformatted values: Budget 5000 / 900 / 1350 / 2400 and Variance % 0.02 / -0.04 / -0.111111111111 / 0.104166666667.
Optional — sort: set Sort by F · Variance, Order Descending. Expected row order: Team offsite (250), Laptops (100), Software licenses (-36), Training (-150). The total row stays last and does not change.
Optional — re-paste to update: edit the macro, change the Training row’s Actual from 1200 to 1350, and save. Expected changes:
| Cell | Before | After |
|---|---|---|
| Training · Actual | 1,200 | 1,350 |
| Training · Variance | -150 | 0 |
| Training · Variance % | -11.1% | 0.0% |
| Training · Status | OK | OK |
| Total · Actual | 9,814 | 9,964 |
| Total · Variance | 164 | 314 |
If the sort above is still on, the new order is Team offsite, Laptops, Training, Software licenses.
The re-pasted text, for convenience:
| Cost item | Qty | Unit cost | Budget | Actual | Variance | Variance % | Status || --- | ---: | ---: | ---: | ---: | ---: | ---: | --- || Laptops | 4 | 1250 | =B2*C2 | 5100 | =E2-D2 | =F2/D2 | =IF(F2>0,"Over","OK") || Software licenses | 25 | 36 | =B3*C3 | 864 | =E3-D3 | =F3/D3 | =IF(F3>0,"Over","OK") || Training | 3 | 450 | =B4*C4 | 1350 | =E4-D4 | =F4/D4 | =IF(F4>0,"Over","OK") || Team offsite | 1 | 2400 | =B5*C5 | 2650 | =E5-D5 | =F5/D5 | =IF(F5>0,"Over","OK") |(b) A table inside an AI chat answer
Section titled “(b) A table inside an AI chat answer”Scenario: the team lead asked an AI chat assistant for a draft cost estimate and pastes the whole answer, not just the table. Copy all of the text below, including the sentences before and after the table.
Here is a draft cost estimate for the customer workshop:
**Workshop cost estimate**
| Item | Qty | Price | Amount || --- | ---: | ---: | ---: || Venue | 1 | 1500 | =B2*C2 || Catering | 30 | 25 | =B3*C3 || Printed handouts | 30 | 4 | =B4*C4 || Speaker travel | 2 | 450 | =B5*C5 |
Let me know if you want to change the headcount.Settings:
| Setting | Value |
|---|---|
| Format | Detect automatically (detected as Markdown) |
| Default number format | #,##0 |
| Apply format to | All numbers |
Totals row → D · Amount | SUM (others: None) |
Expected table:
| Item | Qty | Price | Amount |
|---|---|---|---|
| Venue | 1 | 1,500 | 1,500 |
| Catering | 30 | 25 | 750 |
| Printed handouts | 30 | 4 | 120 |
| Speaker travel | 2 | 450 | 900 |
| Total | 3,270 |
Notes:
- The sentences before and after the table, and the bold title line, are ignored. Only the table is used.
- If the text contains more than one Markdown table, only the first one is used.
- When you ask an AI chat assistant for a table, you can ask it to write calculated columns as formulas such as
=B2*C2. A table with plain numbers works too: add the total row in the macro settings.
(c) CSV — sales pipeline by region
Section titled “(c) CSV — sales pipeline by region”Scenario: a sales manager shares the pipeline and expected revenue per region before the forecast call.
Region,Deals,Pipeline,Win rate,Expected,Share of pipelineNorth,12,"48,000",25%,=C2*D2,=C2/SUM(C$2:C$5)South,8,"31,500",30%,=C3*D3,=C3/SUM(C$2:C$5)East,15,"62,250",20%,=C4*D4,=C4/SUM(C$2:C$5)West,5,"18,000",40%,=C5*D5,=C5/SUM(C$2:C$5)Settings:
| Setting | Value |
|---|---|
| Format | Detect automatically (detected as CSV) |
| Default number format | #,##0 |
| Apply format to | Formulas and totals only |
Column formats → D · Win rate | 0% |
Column formats → F · Share of pipeline | 0.0% |
Totals row → B · Deals, C · Pipeline, E · Expected, F · Share of pipeline | SUM |
Totals row → D · Win rate | None |
Expected table:
| Region | Deals | Pipeline | Win rate | Expected | Share of pipeline |
|---|---|---|---|---|---|
| North | 12 | 48,000 | 25% | 12,000 | 30.0% |
| South | 8 | 31,500 | 30% | 9,450 | 19.7% |
| East | 15 | 62,250 | 20% | 12,450 | 39.0% |
| West | 5 | 18,000 | 40% | 7,200 | 11.3% |
| Total | 40 | 159,750 | 41,100 | 100.0% |
Notes:
- Win rate is not totaled: an average of regional rates would ignore pipeline size.
"48,000"is quoted because the value contains a comma. It is read as the number 48000. The typed text is shown as is, and the total gets the#,##0format.$inC$2:C$5is accepted, so the same formula pattern can be copied down the rows.- Optional — sort: Sort by
E · Expected, Order Descending gives East, North, South, West. - Optional — COUNT: set Totals row →
B · Dealsto COUNT. The total becomes4(the number of rows). COUNT totals are always shown as plain counts.
(d) Semicolon-separated — project hours (with a tab-separated version)
Section titled “(d) Semicolon-separated — project hours (with a tab-separated version)”Scenario: a project manager compares estimated and actual hours per task.
Use the semicolon version. Tabs are often turned into spaces when text is copied from a web page; the tab-separated version below gives the same result if the tabs survive.
Task;Owner;Estimate;Actual;Remaining;UsedRequirements;Ana;16;14;=IF(C2>D2,C2-D2,0);=D2/C2Design;Ben;24;30;=IF(C3>D3,C3-D3,0);=D3/C3Build;Chen;60;42;=IF(C4>D4,C4-D4,0);=D4/C4Testing;Dana;20;6;=IF(C5>D5,C5-D5,0);=D5/C5Tab-separated version:
Task Owner Estimate Actual Remaining UsedRequirements Ana 16 14 =IF(C2>D2,C2-D2,0) =D2/C2Design Ben 24 30 =IF(C3>D3,C3-D3,0) =D3/C3Build Chen 60 42 =IF(C4>D4,C4-D4,0) =D4/C4Testing Dana 20 6 =IF(C5>D5,C5-D5,0) =D5/C5Settings:
| Setting | Value |
|---|---|
| Format | Detect automatically (detected as semicolon-separated or tab-separated) |
| Default number format | (empty) |
Column formats → F · Used | 0% |
Totals row → C · Estimate, D · Actual, E · Remaining | SUM (others: None) |
| Sort by | F · Used |
| Order | Descending |
Expected table (sorted by Used, descending):
| Task | Owner | Estimate | Actual | Remaining | Used |
|---|---|---|---|---|---|
| Design | Ben | 24 | 30 | 0 | 125% |
| Requirements | Ana | 16 | 14 | 2 | 88% |
| Build | Chen | 60 | 42 | 18 | 70% |
| Testing | Dana | 20 | 6 | 14 | 30% |
| Total | 120 | 92 | 34 |
Notes:
- Requirements: 14 / 16 = 87.5%, shown as
88%(rounded half away from zero). - Sorting did not change the formulas. Design is still calculated from row 3 (
=D3/C3), even though it is shown first. - Without sorting, the order is the pasted order: Requirements, Design, Build, Testing.