How to Reference the Current Sheet in an Excel Formula
Question details
The user wants to make an Excel formula reference the current worksheet dynamically rather than using a fixed, hardcoded worksheet name.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Writing or editing formulas that need to apply to the active sheet so they can be easily reused or copied without pointing to the original worksheet.
- Observed behavior
- Formulas currently contain hardcoded sheet references (e.g., SDV!D2), which prevents them from automatically calculating based on the current sheet when reused.
Before modifying your data, identify which cells contain the formulas with hardcoded sheet names (like 'Sheet1!A1') that you wish to restrict to the current worksheet.
Remove the Worksheet Name from the Formula
The most direct way to reference the current sheet is to simply omit the sheet name and exclamation mark from your cell reference.
By default, spreadsheet software assumes that any cell reference without a specified sheet name belongs to the current active worksheet. Removing the hardcoded name makes your formula cleaner and perfectly reusable across different sheets.
Double-click the cell containing the formula you want to edit, or click it once and place your cursor in the Formula Bar at the top of the screen.
Find the hardcoded sheet reference in your formula, which typically looks like 'SheetName!D2' or 'SDV!D2'.
Delete the sheet name and the exclamation mark (!), leaving only the cell reference. For example, change 'SDV!D2' to just 'D2'.
Press the Enter key to apply the updated formula. The formula will now calculate using data exclusively from the active sheet.

Write and Manage Formulas Easily with WPS Spreadsheet
WPS Office provides a powerful, free Spreadsheet tool that is fully equipped to handle complex formulas and dynamic cell references. You can easily edit worksheets and manage data with a familiar, user-friendly interface.
- 1. Open your workbook: Launch WPS Spreadsheet and open your existing spreadsheet document.
- 2. Select the formula cell: Click on the cell that contains the fixed sheet reference.
- 3. Edit the formula: In the formula bar, delete the sheet name and exclamation mark (e.g., 'Sheet1!').
- 4. Save changes: Press Enter to save. The formula now dynamically references the active sheet.

Frequently Asked Questions
What happens to my formula if I rename the referenced worksheet?
If your formula includes a specific sheet name (e.g., 'Sales!A1'), your spreadsheet software will automatically update the formula to reflect the new sheet name if you rename the 'Sales' tab. If you removed the sheet name to reference the current sheet, renaming the sheet will have no effect on the formula.
Can I use a function to return the name of the current sheet dynamically?
Yes, you can use a combination of functions to extract the sheet name. For example, the formula `=MID(CELL("filename", A1), FIND("]", CELL("filename", A1)) + 1, 255)` will display the current worksheet's name dynamically.
Why does my copied formula still point to the original sheet?
If you copy a formula to a new sheet and it still calculates data from the old sheet, the formula likely contains a hardcoded sheet reference (like 'Sheet1!B2'). You must remove 'Sheet1!' from the formula before copying it so that it references the current sheet instead.




