Formula Errors

How to Carry a Month-End Balance to the Next Sheet in Excel

Huma Ashraf ChHuma Ashraf Ch Nov 10, 2026 869 views

Question details

The user needs to reference a closing balance from one monthly worksheet and use it as the opening balance on the following month's worksheet, accounting for varying month lengths.

How to Carry a Month-End Balance to the Next Sheet in Excel
Product
Excel
Device & OS
not provided
Scenario
Managing monthly records across separate worksheets and linking the closing balance of one month to the opening balance of the next.
Observed behavior
The user manually transfers totals or struggles to write a dynamic formula that correctly identifies the last day's balance when the number of days varies per month.
Before you start

Before setting up inter-sheet formulas, ensure your monthly worksheets follow a consistent naming convention (e.g., January, February) and your daily data ranges are structured uniformly across all sheets.

Solution 1Recommended

Use LOOKUP to Find the Last Populated Value

This is the most reliable formula approach when months have a different number of days (28, 30, or 31), ensuring you always pull the very last entered balance.

The LOOKUP function can be manipulated to return the last non-blank cell in a specified range. This means you do not have to worry about whether a month ends on column AD, AE, or AF.

1
Select the opening balance cell

Navigate to the new month's worksheet (e.g., February) and click on the cell where you want the opening balance to appear.

2
Enter the LOOKUP formula

Type the formula =LOOKUP(2,1/(January!AD3:AG3<>""),January!AD3:AG3) into the formula bar. Replace 'January' with the exact name of your previous sheet, and adjust 'AD3:AG3' to the range containing the last few days of the month.

3
Apply the formula

Press Enter. The cell will now dynamically display the final calculated value from the previous month's sheet.

Use LOOKUP to Find the Last Populated Value

Easily Manage Financial Records Across Sheets with WPS Spreadsheet

WPS Spreadsheet provides powerful formula support and intuitive sheet management, making it incredibly easy to link balances from month to month or consolidate your data into professional PivotTables.

  1. 1. Open your workbook: Launch WPS Spreadsheet and open your multi-sheet monthly tracker.
  2. 2. Start your formula: Click on the opening balance cell of the new month and type the equals sign (=).
  3. 3. Select the source cell visually: Instead of typing sheet names manually, use your mouse to click on the previous month's tab, then click the specific closing balance cell.
  4. 4. Confirm the reference: Press Enter. WPS Spreadsheet will automatically write the correct cross-sheet syntax for you.
Fully compatible with Microsoft Excel formulas and file formats (.xlsx).Seamlessly supports advanced lookup functions and cross-sheet references.Robust PivotTable features for effortless monthly and annual reporting.Free, lightweight, and fast to open on Windows, Mac, and mobile devices.
QA img-9

Frequently Asked Questions

Why does my cross-sheet formula return an error when I rename the month tab?

If the sheet name contains spaces or special characters (like 'Jan 2023'), you must enclose the sheet name in single quotes within your formula, such as ='Jan 2023'!AH3. Excel and WPS Spreadsheet will do this automatically if you use your mouse to select the cell instead of typing it out.

Can I use the MAX function to automatically get the closing balance?

You can use =MAX(January!AD3:AG3) only if your daily balances are strictly cumulative (always increasing). If the balance fluctuates up and down due to daily gains and losses, MAX will return the highest peak value of the month, which may not correspond to the actual month-end closing balance.

How do I reference a cell on the previous sheet without hardcoding the sheet name?

You can use a combination of the SHEET, INDEX, and TOROW functions to dynamically reference the sheet located just before the current one. For example, =IF(SHEET()>1,INDEX(TOROW('FirstSheet:LastSheet'!AH3),SHEET()-1),0). However, this requires an advanced setup and "bookend" placeholder sheets.