build google sheet alternative which can open xlsx files and edit them.
- User
build google sheet alternative which can open xlsx files and edit them.
Assistant
build google sheet alternative which can open xlsx files and edit them.
Now let me build the app. I'll start with the formula evaluation utility:
Now let me build the main App with the spreadsheet:
Now the main App with toolbar, formula bar, sheet tabs, and xlsx handling:
Let me now build the project to check for errors:
Build successful. Let me verify the current state is fully functional by checking one thing - the Grid component's moveActive has a dummy variable and there's a potential issue with onBulkStyleChange prop being defined but not implemented. Let me clean that up:
Build is clean. I've built Sheetly, a Google Sheets–style spreadsheet editor that can open, edit, and save .xlsx files. Here's what's included:
SUM, AVERAGE/AVG, MIN, MAX, COUNT, COUNTA, IF, AND, OR, NOT, ROUND, ABS, SQRT, POWER, MOD, INT, CONCAT, LEN, UPPER, LOWER, TRIM, NOW, TODAY, PI
A1), ranges (A1:B10), arithmetic (+ - * / ^ %), comparisons (= <> < <= > >=), string concatenation (&), and circular-reference detectionSUM formula) so it's productive on first loadsrc/App.tsx — main app with toolbar, formula bar, tabs, historysrc/components/Grid.tsx — virtualized spreadsheet grid (only renders visible cells)src/utils/formula.ts — full formula tokenizer/parser/evaluatorsrc/utils/xlsxIO.ts — xlsx reading/writing via SheetJSsrc/utils/cellUtils.ts — A1 notation helperssrc/types.ts — shared type definitionsFiles built: index.html, src/utils/cellUtils.ts, src/utils/formula.ts, src/components/Grid.tsx, src/types.ts, src/utils/xlsxIO.ts, src/App.tsx