Guides
/

Filter a Profit and Loss or Balance Sheet by Account Number in QuickBooks Online

Filter a Profit and Loss or Balance Sheet by Account Number in QuickBooks Online

The problem

Your chart of accounts encodes structure in the account number. Accounts starting 1-XXX are one reporting entity, 2-XXX are another, or one block is a division and another is a fund. In QuickBooks Desktop you could run a Balance Sheet restricted to a number range and get that entity on its own. In QuickBooks Online you cannot, so you either run the full statement and delete rows by hand every month, or you keep a Desktop file alive purely to produce these reports.

Why QuickBooks can't do it

QuickBooks Online treats the account number as a display field, not something the report filters on. Customize lets you filter by class, location, customer, and vendor, but there is no account number range filter on the Profit and Loss or Balance Sheet. This is an open request on Intuit's public feedback board, marked Planned as of September 2026, with accountants describing it as the last thing keeping them on Desktop.

Do it in Google Sheets with Retriever

Once the statement is in Google Sheets with account numbers attached, the number becomes ordinary data. Filtering on a prefix is then a formula, and it holds every month.

  1. Pull the statement with account numbers included

    Use Retriever to bring the Profit and Loss or Balance Sheet into Google Sheets with the account number column present. It arrives as structured rows rather than a formatted export, so every account number is in its own cell.

  2. Split the prefix into its own column

    Add a column that takes the leading block of the account number, for example the characters before the first dash. That column is the reporting entity, division, or fund the account belongs to.

  3. Filter or group on the prefix

    Use a filter view, a QUERY, or a SUMIF against the prefix column to produce a statement for a single number range. One tab per entity, all reading from the same pulled data, is the layout most firms end up with.

  4. Keep the subtotals correct

    Total from the filtered detail rows rather than reusing the totals QuickBooks calculated for the whole company, since those cover every account. Rebuilding the subtotals in the sheet is what makes each filtered statement stand on its own.

  5. Refresh on a schedule

    New accounts appear in the pulled data automatically and fall into the right block by their number, so the split does not need rebuilding when the chart of accounts grows.

See also

Statements split by account number, every month

Retriever pulls your QuickBooks financial statements into Google Sheets with account numbers intact, so a number range becomes a filter you set once and refresh on a schedule.

See how Retriever works

Frequently asked questions

Can QuickBooks Online filter a report by account number?

No. Account numbers can be displayed and sorted on, but the Profit and Loss and Balance Sheet have no account number range filter. Class and location are the native ways to segment a statement, and they require tagging transactions rather than relying on the account number.

How did this work in QuickBooks Desktop?

Desktop allowed a report to be restricted to a range of accounts, so a balance sheet limited to a numbered block produced a statement for that block. QuickBooks Online has not carried that behavior over.

Should I use classes instead of account number blocks?

Classes are the native answer and they work well when transactions are tagged going forward. They do not help with history that was coded by account number instead, which is why firms with a numbered chart of accounts usually keep the numbering and split the report outside QuickBooks.

Will new accounts break the split?

No, as long as the filter reads the account number prefix rather than a fixed list of rows. A new 2-series account lands in the 2-series statement on the next refresh without any edit.

Questions about this? Reach out at aubrey@retrieverhq.com.