Function Problems

How to Reference Another Worksheet with IF Formulas in WPS

Steven ParkerSteven Parker Nov 10, 2026 868 views

Question details

The user needs to use IF formulas to check conditions across different worksheets, such as displaying a specific character when a cell is not blank or conditionally copying dates.

How to Reference Another Worksheet with IF Formulas
Product
Spreadsheet
Device & OS
not provided
Scenario
Setting up dynamic cross-sheet references where the destination cell displays specific data, text, or remains blank based on the source cell's status.
Observed behavior
The user wants to display an 'X' if a cell is not blank, copy a date under specific conditions, or leave the destination blank if another related cell contains data.
Before you start

Ensure that the source worksheet names match the names used in your formulas exactly, including spaces, and that you enclose sheet names containing spaces in single quotation marks.

Solution 1Recommended

Use IF Formulas for Conditional Cross-Sheet Referencing

Apply combined IF and OR functions to evaluate conditions on a different worksheet and return the desired text or data.

You can seamlessly reference cells on other worksheets by prefixing the cell coordinate with the sheet name followed by an exclamation mark. Combining the IF function with the OR function allows you to evaluate multiple conditions simultaneously.

1
Select the destination cell

Open your workbook and click on the destination cell where you want the formula result to appear.

2
Enter the formula for checking non-blank cells

To display 'X' when cell A1 on 'Sheet 1' contains any data, enter the formula: =IF('Sheet 1'!A1="","","X").

3
Enter the formula for conditional date copying

To copy a date from B1 only if B1 contains a date and the adjacent B2 is blank, enter: =IF(OR('Sheet 1'!B2<>"",'Sheet 1'!B1=""),"",'Sheet 1'!B1).

4
Apply and adjust

Press Enter to execute the formula. You can manually change the cell references (like A1 or B1) and sheet names (like 'Sheet 1') to match your actual worksheet layout.

Use IF Formulas for Conditional Cross-Sheet Referencing
Syntax Note: If your source worksheet name does not contain any spaces (for example, Sheet1 instead of Sheet 1), you can omit the single quotes in the formula (e.g., Sheet1!A1).
Powerful Spreadsheet Software

Easily Manage Cross-Sheet Formulas in WPS Spreadsheet

WPS Spreadsheet provides robust formula support, allowing you to easily link data across multiple worksheets. Use advanced functions like IF, OR, and VLOOKUP with a user-friendly interface.

  1. 1. Open your file: Launch WPS Spreadsheet and open the workbook containing your data.
  2. 2. Start the formula: Type '=' in your destination cell and begin typing 'IF'.
  3. 3. Select cross-sheet cells: Click the target worksheet tab at the bottom, then click the reference cell. WPS will automatically fill in the correct sheet name and cell coordinates.
  4. 4. Complete the logic: Finish typing your condition and press Enter. The formula will automatically compute the result across sheets.
Fully compatible with Microsoft Excel (.xlsx) formatsIntelligent formula auto-completion and syntax highlightingCross-sheet data referencing without performance lagSeamlessly handle complex IF and conditional logic
microsoft office alternative - wps office

Frequently Asked Questions

Why is my cross-sheet IF formula returning a #REF! error?

A #REF! error occurs when the referenced worksheet has been deleted, renamed, or the cell reference is invalid. Check that the sheet name in your formula exactly matches the current tab name, and ensure the referenced cells still exist.

Can I reference a cell in a completely different workbook?

Yes, you can reference a cell in another workbook. Keep both workbooks open, start your formula, and click on the cell in the other workbook. The formula will include the file name enclosed in square brackets, such as '[Workbook1.xlsx]Sheet1'!A1.

How do I prevent my cell references from changing when I copy the formula?

To keep cell references constant when copying a formula, use absolute referencing by adding dollar signs before the column letter and row number (e.g., 'Sheet 1'!$A$1). You can highlight the reference and press the F4 key to toggle this lock.