SheetForge vs Spreadsheet to App with the same sales CSV
We used the same four sample deals in two signed-out browser tests. In SheetForge, we imported the CSV, generated a preview, and found a lost deal by ID. In our Spreadsheet to App exercise, we changed a proposal to Won and Lost in separate runs and compared the pipeline totals.
Generate a searchable preview in SheetForge
- In the SheetForge generator, choose Browse files and upload
sales-pipeline.csv. The review screen reports four columns and four rows. - Select Forge my app and open Table in the generated preview. The table showed all four deal IDs, from DL-201 through DL-204.
- Enter
DL-204in Search records. The table showed one of four records: Maple Studio, $450, Lost.
This path lets you check whether someone can find the right record in a browser view generated from a CSV. SheetForge labels this a free read-only preview and describes its supported inputs in the SheetForge help center.
Reconcile deal stages in the sales exercise
Open the sales pipeline exercise. It starts with the four records from the same sample CSV. Set Stage for DL-201 to Won. Turn on Active deals only and check that the $850 qualified deal is the only one left in the filtered view. Select Reset, then set DL-201 to Lost and compare the totals again.
| DL-201 stage | Active value | Won value |
|---|---|---|
| Proposal (start) | $2,050 | $1,600 |
| Won | $850 | $2,800 |
| Lost | $850 | $1,600 |
Qualified and Proposal deals count toward active value. After either change, DL-201 is still visible when the filter is off. Changes in the exercise stay in the current tab. Building an app with your own data requires Google sign-in and a sheet you can access. See how to connect an existing Google Sheet.
Check delivery dates from Excel’s 1900 and 1904 date systems
On November 26, 2026, we imported two fictional delivery workbooks into Grist and SheetForge without signing in. The workbooks contain the same three deliveries and display the same due dates. The underlying Excel date numbers differ by 1,462 days between the two date systems. For example, February 1, 2027 is stored as 46419 in the 1900 workbook and 44957 in the 1904 workbook. Microsoft’s guide to Excel date systems explains why.
Both tools showed the expected dates from the 1900 workbook. Grist also showed the expected dates from the 1904 workbook. SheetForge showed two earlier dates in the import review and in the generated preview’s Table. The third delivery’s due date stayed blank in both tools.
| Delivery ID | Expected date | Grist import | SheetForge preview |
|---|---|---|---|
| DEL-101 | 2027-02-01 | 2027-02-01 | 2023-01-31 |
| DEL-102 | 2027-01-02 | 2027-01-02 | 2023-01-01 |
| DEL-103 | Blank | Blank | Blank |
- In Grist, choose Import file and open each workbook in its own document.
- In the SheetForge generator, choose Browse files and open the same workbooks one at a time. Compare Due date in the review, then choose Forge my app and open Table.
- For each delivery ID, compare the date with the accompanying dispatch record. Check that DEL-103 still has a blank date. Use the same check on a few known records before relying on imported dates for a schedule.
Compare the A3S Office grid with the exported workbook
On November 27, 2026, we opened the two delivery workbooks in separate signed-out sessions of the A3S Office Playground. The 1900 workbook showed both expected dates. With the 1904 workbook, the grid showed both dates 1,462 days early at 1024 and 1280 pixels. The third date was blank throughout.
| Delivery ID | Playground grid | Exported XLSX |
|---|---|---|
| DEL-101 | 2023-01-31 | 2027-02-01 |
| DEL-102 | 2023-01-01 | 2027-01-02 |
| DEL-103 | Blank | Blank |
To repeat the check, choose 打开文件 (Open file) in the Playground and open the 1904 workbook. Compare Due date with the text in Dispatch record. Choose 导出 (Export) to save a copy without editing the cells. We read each export with openpyxl 3.1.5. The exported 1904 copy kept the date1904 flag and the original serials 44957 and 44927, which resolve to the expected dates.
The test covers the public Playground grid and an immediate XLSX export. The A3S Office format notes describe how its editor retains the workbook’s date system.
Cross-check the displayed dates in another editor
On the same day, we opened both original workbooks in the independent browser editor based on ONLYOFFICE 9.3. At 1280 pixels, both files showed 2027-02-01 for DEL-101 and 2027-01-02 for DEL-102. DEL-103 still had no due date. The dates agreed with the dispatch records and with the workbook serials decoded using their own date systems.
In the same editor’s embedding demo, we saved each workbook as XLSX without editing. The two exports kept their original date systems and serial values. The 1904 export still stored 44957 and 44927, and the third due date remained blank.
Check whether imported IDs keep their leading zeros
Download the three-row ID check. It uses 001, 1, and 010 for three different sites. Use it before moving stock codes or other identifiers into a new app.
- Upload the CSV in the SheetForge generator. Select Forge my app, open Table, and check that all three IDs display as written. Search for
001to get North workshop and010to get West depot. Clearing the search restores all three records. - Open Grist in a signed-out window and choose Import file. Check the three IDs in the unsaved guest table before changing the column type.
We saw all three IDs preserved in both tools. The SheetForge lookup returned one matching row for each search at 390 and 1360 pixels.
Check the same IDs in Datawrapper
On November 26, 2026, we pasted the same CSV into the signed-out Datawrapper editor. In Check & Describe, Datawrapper detected ExternalID as a number. The preview showed three rows and only two distinct IDs. Click column A and set Column type to Text to recover the three distinct IDs.
| Site | Automatic number | Text |
|---|---|---|
| North workshop | 1 | 001 |
| East branch | 1 | 1 |
| West depot | 10 | 010 |
We renamed site 001 to North workshop pilot in the preview. Then we returned to Upload Data, swapped the first two source records, and pasted the full CSV again. Text remained selected and the site name returned to North workshop. If you replace the source data, check edited labels again. Datawrapper’s guide to column types
Can the Dosyon preview distinguish two CSVs with different IDs?
Open the Dosyon homepage and use Choose file with the three-row ID check. Then choose Another file and try a copy in which 001 becomes 1 and 010 becomes 10. Edit the copy in a plain-text editor so only those two fields change.
| File | IDs in the source | Records shown | ExternalID total shown |
|---|---|---|---|
| Original | 001, 1, 010 | 3 | 12 |
| Copy without leading zeros | 1, 1, 10 | 3 | 12 |
| Original plus one record | 001, 1, 010, blank | 4 | 12 |
Both three-row files showed the same counts and the same total. The homepage summary did not display the individual IDs. To reproduce the fourth-row check, append ,South studio,Open to the original file. The preview counts the extra record.
We checked the three-row files while signed out at 390 and 1280 pixels on November 26, 2026, and checked the blank-ID file at 1280 pixels. Turn this file into an app led to email sign-in. To verify how an app stores the IDs, inspect its individual records after import.
Check a CSV note that spans two lines
These two fictional service-request files each have four columns and three records. In one file, the note on ML-102 contains a line break inside a quoted field. It also contains a comma and double quotes around A. The other file keeps the note on one line with a vertical bar between its two parts.
- Download the multiline notes CSV (five physical lines, including the header).
- Download the one-line notes CSV (four physical lines, including the header).
- Upload each file separately in the SheetForge generator. Both import reviews should show 4 columns · 3 rows.
- Select Forge my app and open Table. Look for ML-101, ML-102 and ML-103. ML-102 should keep its Waiting status and the two parts of its note in a single cell.
- Check the note in the multiline file. It should start with
Inspect "A", then relabeland continue withFollow up tomorrow. In the one-line file a vertical bar separates those parts.
We ran both imports in the signed-out read-only preview on November 27, 2026. Both tables had three records. In the multiline preview, the text of the ML-102 cell contained a line feed, while the table displayed the two parts separated by a space. Python's CSV reader also returned three records from each file and preserved the original carriage return and line feed inside that field. See RFC 4180, section 2 for the CSV rules on quoted fields.
Check imported identifiers before a pandas join
A CSV preview can show the right identifiers while a downstream import changes them. In pandas 2.2.3, the default import converted 001 and 1 to the same integer. Both payments then matched both sites, and a left join inflated three fictional payments worth £150 to five rows worth £250.
Save the three-row ID CSV next to a Python file containing the code below. Run the file with pandas 2.2.3. The first merge shows the inflated result. The many_to_one check then raises MergeError because the lookup keys are no longer unique. The second import preserves the identifiers as text in both inputs and returns the original three payments and £150.
from io import StringIO
import pandas as pd
fixture = "csv-identifier-check.csv"
payment_csv = """ExternalID,Amount
001,25
1,75
999,50
"""
lookup = pd.read_csv(fixture)
payments = pd.read_csv(StringIO(payment_csv))
merged = payments.merge(lookup, on="ExternalID", how="left")
print(len(merged), merged["Amount"].sum()) # 5 250
try:
payments.merge(lookup, on="ExternalID", how="left", validate="many_to_one")
except pd.errors.MergeError as error:
print(type(error).__name__) # MergeError
key_type = {"ExternalID": "string"}
lookup = pd.read_csv(fixture, dtype=key_type)
payments = pd.read_csv(StringIO(payment_csv), dtype=key_type)
checked = payments.merge(
lookup, on="ExternalID", how="left",
validate="many_to_one", indicator=True,
)
print(len(checked), checked["Amount"].sum()) # 3 150
print(checked.loc[checked["_merge"] == "left_only", ["ExternalID", "Amount"]])
The checked join assigns £25 to North workshop and £75 to East branch. The remaining £50 has identifier 999, which appears as left_only because the lookup has no matching site. Check for both duplicate lookup keys and unmatched payments before publishing the report.
Check which site receives each payment
Removing a duplicate after converting IDs to numbers can hide the collision. We ran both deduplication choices in pandas 2.2.3. Each run passed many_to_one, retained three payments totalling £150, and left only 999 unmatched. Each also assigned a payment to the wrong site.
- Keeping the first row assigned £75 for ID
1to North workshop. The source assigns it to East branch. - Keeping the last row assigned £25 for ID
001to East branch. The source assigns it to North workshop.
Append this code to the example above. It prints the row count and total for each run, then shows each payment assigned to a different site from the text-ID join.
site_by_id = checked.set_index("ExternalID")["Site"]
payment_keys = payments.assign(NumericID=payments["ExternalID"].astype(int))
for keep in ("first", "last"):
coerced = pd.read_csv(fixture).drop_duplicates("ExternalID", keep=keep)
result = payment_keys.merge(
coerced.rename(columns={"ExternalID": "NumericID"}),
on="NumericID", how="left", validate="many_to_one", indicator=True,
)
expected_site = result["ExternalID"].map(site_by_id)
changed = result["Site"].fillna("").ne(expected_site.fillna(""))
print(keep, len(result), result["Amount"].sum())
print(result.loc[changed, ["ExternalID", "Amount", "Site"]].to_string(index=False))
See the pandas documentation for explicit CSV column types, duplicate removal, and merge validation and indicators. For a join that changes otherwise valid text keys, see the DuckDB exercise.
Check for collisions before padding IDs
Even if both imports preserve text, left-padding mixed-width IDs can change which rows match. We joined the three-site CSV to itself in SQLite 3.51.0. Both sides had three unique text IDs. Joining on the original values returned three correct matches. When we padded both keys to three characters before comparing them, the join returned five matches. Two paired 001 from one side with 1 from the other.
Download the same three-row CSV and save this script beside it. It uses Python’s built-in CSV and SQLite modules. Before applying padding to an ID column, group the proposed padded values and check whether any group contains more than one original ID.
Run the SQLite check
import csv
import sqlite3
with open("csv-identifier-check.csv", encoding="utf-8", newline="") as source:
ids = [(row["ExternalID"],) for row in csv.DictReader(source)]
with sqlite3.connect(":memory:") as db:
db.execute("CREATE TABLE sites (id TEXT PRIMARY KEY)")
db.executemany("INSERT INTO sites VALUES (?)", ids)
db.create_function("pad_id", 1, lambda value: value.rjust(3, "0"))
for label, condition in (
("Original text", "a.id = b.id"),
("Padded text", "pad_id(a.id) = pad_id(b.id)"),
):
matches = db.execute(
f"SELECT a.id, b.id FROM sites a JOIN sites b ON {condition} "
"ORDER BY a.id, b.id"
).fetchall()
wrong = [(left, right) for left, right in matches if left != right]
print(label, len(matches), wrong)
Compare stored and displayed IDs in the same Excel file
The three-row workbook stores 001 and 010 as text. The East branch row stores the number 1 with the number format 000, so it displays as 001, just like North workshop.
- Open DataKit’s Excel to JSON converter and choose the workbook. Keep the Sites sheet and the array of objects output.
- Leave Cell values on Raw values and download the JSON. The IDs are
"001",1(a number) and"010". - Switch to Formatted text (as shown in Excel) and download again. The IDs are now
"001","001"and"010".
Both outputs contain three records. An exact lookup for the text key "1" finds zero matches in either file. "001" finds one match in the raw output and two in the formatted output. Before importing JSON into an app, compare stored values and types against the original key list. Flag missing matches and any ID that points to more than one record.
Run the exact lookup in Node.js
Save the code as check-ids.mjs. Run node check-ids.mjs followed by the path to either downloaded JSON file. The three match counts are 1, 0, 1 for raw values and 2, 0, 1 for formatted text.
import { readFileSync } from "node:fs";
const rows = JSON.parse(readFileSync(process.argv[2], "utf8"));
for (const id of ["001", "1", "010"]) {
const sites = rows
.filter((row) => row.ExternalID === id)
.map((row) => row.Site);
console.log(id, sites.length, sites.join(", "));
}
We tested the two DataKit exports while signed out on November 27, 2026. SheetJS 0.20.3 returned the same IDs with sheet_to_json using its raw and formatted output settings.
Preserve IDs when converting Excel to CSV in pandas
We read the same workbook in pandas 3.0.6 using openpyxl 3.1.5 and python-calamine 0.5.3. Both engines returned three rows. When pandas inferred the column type, both exported the IDs as 1, 1, 10. Setting ExternalID to text on the Excel read exported 001, 1, 010. The numeric cell exported as 1, its stored value.
A default read of that second CSV returned 1, 1, 10 again. Set the ID column to text on the CSV read too, then check that each expected ID appears once before building a lookup or importing the rows into an app.
Run the Excel-to-CSV round trip in pandas
Download the workbook above to the same folder as the script. Install pandas, openpyxl, and python-calamine. The script checks both engines and reads the generated CSV back with and without an explicit type.
import csv
from io import StringIO
import pandas as pd
workbook = "xlsx-identifier-display-check.xlsx"
id_type = {"ExternalID": "string"}
for engine in ("openpyxl", "calamine"):
original = pd.read_excel(workbook, sheet_name="Sites", engine=engine)
typed = pd.read_excel(
workbook, sheet_name="Sites", engine=engine, dtype=id_type,
)
print(engine, original["ExternalID"].tolist()) # [1, 1, 10]
text = typed.to_csv(index=False)
ids = [row["ExternalID"] for row in csv.DictReader(StringIO(text))]
assert ids == ["001", "1", "010"]
inferred = pd.read_csv(StringIO(text))
preserved = pd.read_csv(StringIO(text), dtype=id_type)
assert inferred["ExternalID"].tolist() == [1, 1, 10]
assert preserved["ExternalID"].tolist() == ids
What these tests cover
We ran both paths on November 25, 2026 in fresh Chromium sessions with a fictional CSV. Spreadsheet to App conducted the tests and makes one of the products. The observations cover CSV import and lookup in SheetForge and local stage changes in the Spreadsheet to App exercise. The three-row ID check also covers the display of imported IDs in a Grist guest table. Publishing, shared access and writing changes back to a connected sheet require separate tests.
For a connected workflow, see the original spreadsheet and published café reorder app. For more public preview checks, see the inventory app demo tests.