Accounting Spreadsheet
Integrate financial data into spreadsheet with dynamic formulas and in-depth analysis
Accounting Spreadsheet Overview
Accounting Spreadsheet in Odoo 19 allows you to directly integrate financial data into spreadsheets with specialized formulas. Create custom financial reports, analyze account balances, track journal entries, and build complex financial models with the power of spreadsheet combined with real-time accounting data.
Key points
• ODOO.ACCOUNT.BALANCE() formula to get account balance over time
• P&L (Profit & Loss) analysis with detailed drill-down to journal entries
• Interactive balance sheet with asset and liability analysis
• ODOO.ACCOUNT.MOVE.LINE() formula to query accounting journal entries
• Financial pivot tables with group by account, partner, analytic
• Integration with chart of accounts and account hierarchy
• Automatically updates when posting new journal entries
• Export to Excel with formulas and formatting preserved
Terminology Reference
Key terminology in Accounting Spreadsheet:
| Vietnamese | English | Description |
|---|---|---|
| Số dư tài khoản | Account Balance | Total amount in accounting account |
| Bút toán | Journal Entry | Accounting record documenting transaction |
| Hệ thống tài khoản | Chart of Accounts | List of accounting accounts |
| Báo cáo lãi lỗ | P&L / Income Statement | Report of revenue, expenses and profit |
| Bảng cân đối | Balance Sheet | Report of assets, liabilities and equity |
| Tài khoản phân tích | Analytic Account | Account tracking costs by project/department |
| Sổ nhật ký | Journal | Book recording accounting journal entries |
| Kỳ kế toán | Fiscal Period | Accounting time period (month, quarter, year) |
| Công thức động | Dynamic Formula | Formula automatically updating with data |
| Pivot Table | Pivot Table | Multi-dimensional data summary table |
| Drill-down | Drill-down | View details from summary to transaction |
| Reconciliation | Reconciliation | Matching and reconciling journal entries |
Account Balance Analysis
Use ODOO.ACCOUNT.BALANCE() formula to get account balance and create detailed analysis reports.
Steps
1. Go to Accounting > Reporting > Spreadsheet
2. Create new spreadsheet or open "Account Analysis" template
3. Enter formula: =ODOO.ACCOUNT.BALANCE("account_code", date_from, date_to)
4. Example: =ODOO.ACCOUNT.BALANCE("400000", "2024-01-01", "2024-12-31")
5. Use cell references for dates to easily change analysis period
6. Create comparison with previous period: =ODOO.ACCOUNT.BALANCE("400000", A1, A2)
7. Add calculated columns: Variance, % Change, YTD totals
8. Use conditional formatting to highlight positive/negative changes
P&L Report in Spreadsheet Format
Create custom Profit & Loss report with multi-period comparison and detailed analysis.
Key points
• Create columns for Current Period, Previous Period, Budget, Variance
• Add % of Revenue calculations for each line item
• Use named ranges for account codes for easy maintenance
• Add drill-down links to detailed account reports
| Section | Account Range | Formula Example |
|---|---|---|
| Revenue | 400000-499999 | =SUM(ODOO.ACCOUNT.BALANCE("400000:499999", A1, A2)) |
| Cost of Sales | 500000-599999 | =SUM(ODOO.ACCOUNT.BALANCE("500000:599999", A1, A2)) |
| Gross Profit | Calculated | =Revenue - Cost_of_Sales |
| Operating Expenses | 600000-699999 | =SUM(ODOO.ACCOUNT.BALANCE("600000:699999", A1, A2)) |
| EBITDA | Calculated | =Gross_Profit - Operating_Expenses |
| Depreciation | 680000-689999 | =SUM(ODOO.ACCOUNT.BALANCE("680000:689999", A1, A2)) |
| EBIT | Calculated | =EBITDA - Depreciation |
| Net Profit | Calculated | =EBIT - Interest - Tax |
Journal Entry Analysis
Use ODOO.ACCOUNT.MOVE.LINE() to query and analyze detailed accounting journal entries.
Steps
1. Basic formula: =ODOO.ACCOUNT.MOVE.LINE("account_code", filters)
2. Filter by partner: =ODOO.ACCOUNT.MOVE.LINE("100000", {"partner_id": 5})
3. Filter by date range: {"date_from": "2024-01-01", "date_to": "2024-12-31"}
4. Filter by journal: {"journal_id": 1} or {"journal_type": "sale"}
5. Filter by analytic account: {"analytic_account_id": 10}
6. Combine multiple filters: {"partner_id": 5, "date_from": "2024-01-01"}
7. Use SUMIF, COUNTIF with move line data
8. Create pivot table from move line data with group by dimensions
Balance Sheet in Spreadsheet
Create balance sheet with classification of assets, liabilities and equity.
Key points
• Assets: Current Assets (Cash, Receivables, Inventory) + Fixed Assets
• Formula: =ODOO.ACCOUNT.BALANCE("100000:199999", date)
• Liabilities: Current Liabilities + Long-term Liabilities
• Formula: =ODOO.ACCOUNT.BALANCE("200000:299999", date)
• Equity: Share Capital + Retained Earnings + Current Year Profit
• Formula: =ODOO.ACCOUNT.BALANCE("300000:399999", date)
• Validation: Total Assets = Total Liabilities + Equity
• Add comparative columns for multiple dates
• Calculate financial ratios: Current Ratio, Quick Ratio, Debt-to-Equity
• Trend analysis with line charts for key balance sheet items
Financial Pivot Tables
Create pivot tables to analyze accounting data across multiple dimensions.
Key points
• Use Insert > Pivot Table from move line data
• Drag and drop fields to configure pivot structure
• Add calculated fields for ratios and percentages
• Apply filters to focus on specific accounts or periods
• Create pivot charts to visualize trends
• Refresh pivot when accounting data updates
| Analysis Type | Rows | Columns | Values |
|---|---|---|---|
| Expenses by Department | Account | Analytic Account | SUM(Debit) |
| Revenue by Customer | Partner | Month | SUM(Credit) |
| P&L by Period | Account Type | Quarter | Balance |
| Journal Entry Analysis | Journal | Account | COUNT(Entries) |
| Partner Balances | Partner | Account Type | Balance |
Advanced Accounting Formulas
Specialized formulas and advanced techniques for financial analysis:
| Formula | Purpose | Example |
|---|---|---|
| ODOO.ACCOUNT.BALANCE() | Get account balance | =ODOO.ACCOUNT.BALANCE("400000", A1, A2) |
| ODOO.ACCOUNT.MOVE.LINE() | Query journal entries | =ODOO.ACCOUNT.MOVE.LINE("100000", filters) |
| ODOO.PARTNER.RECEIVABLE() | Accounts receivable | =ODOO.PARTNER.RECEIVABLE(partner_id, date) |
| ODOO.PARTNER.PAYABLE() | Accounts payable | =ODOO.PARTNER.PAYABLE(partner_id, date) |
| ODOO.ANALYTIC.BALANCE() | Analytic account balance | =ODOO.ANALYTIC.BALANCE(analytic_id, date) |
| SUMIFS with filters | Conditional sum | =SUMIFS(amount, account, "400*", date, ">="&A1) |
Chart of Accounts Integration
Work with chart of accounts and account hierarchy in spreadsheet.
Key points
• Import chart of accounts into separate sheet as reference
• Use VLOOKUP to get account name from account code
• Create account groups with SUMIF by account code ranges
• Maintain account hierarchy with parent-child relationships
• Filter accounts by account type: Asset, Liability, Equity, Income, Expense
• Use data validation for account code inputs
• Create dropdown lists from active accounts
• Link to account detail view in Odoo
Interactive Reports and Drill-down
Create interactive reports with drill-down capability from summary to detail.
Steps
1. Create summary sheet with high-level financial metrics
2. Add hyperlinks from summary numbers to detail sheets
3. Use HYPERLINK() formula: =HYPERLINK("#DetailSheet!A1", "View Details")
4. Create detail sheets with ODOO.ACCOUNT.MOVE.LINE() data
5. Add filters and slicers so users can filter data
6. Use conditional formatting to highlight exceptions
7. Create navigation buttons between sheets
8. Export entire workbook with all drill-down functionality
Best Practices
Tips to optimize accounting spreadsheet:
Key points
• Use named ranges for account codes and date parameters
• Create separate sheets: Data, Calculations, Presentation
• Document formulas with comments for easy maintenance
• Set up data validation to prevent input errors
• Use conditional formatting for negative values and exceptions
• Create template spreadsheets for recurring reports
• Set up auto-refresh schedule to keep data current
• Protect formula cells to prevent accidental changes
• Version control for important financial spreadsheets
• Export to PDF with print settings configured
• Share with appropriate access rights (view-only vs edit)
• Backup spreadsheets before major changes