How to Reference Another Worksheet with IF Formulas in WPS
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.

- 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.
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.
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.
Open your workbook and click on the destination cell where you want the formula result to appear.
To display 'X' when cell A1 on 'Sheet 1' contains any data, enter the formula: =IF('Sheet 1'!A1="","","X").
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).
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.

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. Open your file: Launch WPS Spreadsheet and open the workbook containing your data.
- 2. Start the formula: Type '=' in your destination cell and begin typing 'IF'.
- 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. Complete the logic: Finish typing your condition and press Enter. The formula will automatically compute the result across sheets.

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.




