Function Problems

WPS Spreadsheet: Find Values Common to Four Excel Tables

Aamir Naveed AkramAamir Naveed Akram Nov 12, 2026 869 views

Question details

The user needs a dynamic array formula that returns only the values appearing in all four Excel tables.

WPS Spreadsheet: Find Values Common to Four Excel Tables
Product
WPS Spreadsheet
Device & OS
not provided
Scenario
The workbook contains four tables with related value columns, and the user wants to compare them and spill the shared values into a result range.
Observed behavior
The desired result is a spilled list containing values present in every source table, optionally with duplicates removed.
Before you start

Confirm that the four source ranges are formatted as tables and note their exact table and column names. Make sure the result area has enough empty cells for the dynamic array to spill.

Solution 1Recommended

Use FILTER with COUNTIF conditions across all four tables

Use this dynamic array solution when you want to return values from one table only when they also occur in the other three tables.

The formula tests each candidate value against the other three tables. Multiplying the COUNTIF results creates an AND condition, so FILTER keeps only values found in every source. Wrap the result in UNIQUE if the candidate column can contain duplicates.

1
Select the result cell

Open the worksheet in WPS Spreadsheet and select the cell where the shared-value list should begin.

2
Enter the comparison formula

Enter =FILTER(Table7[rnti-BIP],(COUNTIF(Table1[[CRNTI]:[CRNTI3]],Table7[rnti-BIP])>0)*(COUNTIF(Table4[rnti-UL-TTI],Table7[rnti-BIP])>0)*(COUNTIF(Table5[rnti-DL-TTI],Table7[rnti-BIP])>0),"") and replace the table or column names with the names in your workbook.

3
Confirm the formula

Press Enter. WPS Spreadsheet should spill the matching values into the cells below the formula.

4
Remove duplicate results if needed

To return each shared value once, wrap the formula in UNIQUE: =UNIQUE(FILTER(Table7[rnti-BIP],(COUNTIF(Table1[[CRNTI]:[CRNTI3]],Table7[rnti-BIP])>0)*(COUNTIF(Table4[rnti-UL-TTI],Table7[rnti-BIP])>0)*(COUNTIF(Table5[rnti-DL-TTI],Table7[rnti-BIP])>0),""))

If the result is blank: A blank result means no value from the candidate column was found in all four tables, or one of the structured table or column references does not match the workbook.

Compare Excel tables with dynamic formulas in WPS Spreadsheet

WPS Spreadsheet can use FILTER, COUNTIF, UNIQUE, VSTACK, and other dynamic array functions to compare table columns and return shared values. Its familiar formula interface makes it easy to open an Excel workbook, adjust structured references, and generate a spill-based result without manual filtering.

  1. 1. Open the workbook: Launch WPS Spreadsheet, choose Open from the Home tab, and select the Excel .xlsx workbook containing the four tables.
  2. 2. Check table references: Click a table and review its table and column names, then update the FILTER and COUNTIF references to match the workbook.
  3. 3. Enter the formula: Select an empty result cell and enter the dynamic FILTER formula that checks each candidate against the other three tables.
  4. 4. Confirm the spilled results: Press Enter and review the values that spill below the formula; use UNIQUE around FILTER when only one instance of each value is needed.
Return values shared by all four tables with one dynamic formula.Use UNIQUE to remove repeated matches from the spilled results.Edit Excel workbooks with familiar table references and formula syntax.Maintain compatibility with Microsoft Excel .xlsx files and common Excel formulas.
microsoft office alternative - wps office

Frequently Asked Questions

How do I return values that appear in all four tables?

Use FILTER on one table's value column and multiply COUNTIF tests for the other three tables. For the example references, use =FILTER(Table7[rnti-BIP],(COUNTIF(Table1[[CRNTI]:[CRNTI3]],Table7[rnti-BIP])>0)*(COUNTIF(Table4[rnti-UL-TTI],Table7[rnti-BIP])>0)*(COUNTIF(Table5[rnti-DL-TTI],Table7[rnti-BIP])>0),"").

How can I remove duplicate common values?

Wrap the FILTER formula in UNIQUE: =UNIQUE(FILTER(...)). This returns each value found in all four tables only once.

Why does the formula return a blank cell?

The formula returns a blank when no candidate value exists in every table. Also verify that the structured references, table names, and column names exactly match the workbook.

Can I compare several columns in one table?

Yes. Use a multi-column structured reference such as Table1[[CRNTI]:[CRNTI3]] inside COUNTIF. This checks the candidate against all columns in that table.

What should I do if dynamic arrays do not spill?

Clear cells below and beside the formula so the result range is empty, then re-enter the formula. If the function is unavailable, update WPS Office and verify that the workbook is using supported FILTER and COUNTIF functions.