Formula Errors

Fix Excel AND Formula Returning FALSE in a Structured Table

Jason MillerJason Miller Nov 10, 2026 868 views

Question details

The user needs to correct an AND function inside a structured Excel table that evaluates to FALSE even when all text conditions appear to be met.

How to Fix an Excel AND Formula Returning FALSE in a Table
Product
Excel
Device & OS
not provided
Scenario
Using an AND formula in a structured Excel table to verify if multiple text criteria are true simultaneously, such as checking if Project Type is "Drama" and Approved is "No".
Observed behavior
The formula incorrectly returns FALSE despite the visible data in the row seemingly satisfying all the specified conditions.
Before you start

Verify that your data range is formatted as an official Excel Table and double-check that the column header names in your table perfectly match the names referenced in your formula.

Solution 1Recommended

Use Correct Structured References for the Current Row

Excel tables use a specific syntax called structured references to refer to data. Using incorrect syntax instead of row-level identifiers will lead to evaluation errors.

When writing formulas inside an official Excel Table, it is best practice to use the [@ColumnName] syntax. The '@' symbol specifically tells Excel to look at the data in the same row as the formula, rather than evaluating the entire column.

1
Select the target cell

Click the cell in your table's formula column where you want to evaluate the conditions.

2
Start the AND function

Type =AND( into the formula bar to begin.

3
Input the first condition using structured references

Type the reference for the current row's column, followed by your criteria. For example: [@[Project Type]]="Drama".

4
Add the second condition

Insert a comma, and add your next condition using the same syntax: [@[Approved?]]="No".

5
Complete and apply the formula

Close the parentheses so your final formula is =AND([@[Project Type]]="Drama",[@[Approved?]]="No") and press Enter.

Use Correct Structured References for the Current Row
Automatic Formula Propagation: When you enter a properly formatted structured formula in an Excel table, the application will automatically fill it down to calculate the results for the rest of the column.

Easily Manage Table Formulas with WPS Spreadsheet

WPS Spreadsheet fully supports advanced table formatting, structured references, and logical functions like AND, OR, and IF. Its intuitive interface makes it easy to troubleshoot and build complex table formulas without hassle.

  1. 1. Open your workbook: Launch WPS Spreadsheet and open the file containing your data table.
  2. 2. Use point-and-click for references: Type =AND( into your target cell, then simply click on the cells in the same row. WPS will automatically generate the correct [@ColumnName] structured references for you.
  3. 3. Apply across the table: Press Enter, and WPS Spreadsheet will instantly calculate and populate the formula for the entire column.
Fully compatible with Microsoft Excel .xlsx files and structured table formulas.Intelligent formula auto-complete minimizes syntax errors and formatting mistakes.Built-in data cleaning tools let you remove extra spaces and duplicates with one click.Free and lightweight, available on Windows, Mac, Linux, and mobile devices.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my AND formula work in normal cells but fail in an official table?

Normal cells use standard grid references (like A2 or B2). When you convert a range to an official Table, the program expects structured references (like [@ColumnName]) to evaluate the current row correctly. If you try to mix them or accidentally select the whole column instead of the row, the logical test may fail.

How do I quickly check if invisible characters are causing my formula to return FALSE?

You can use the LEN function (e.g., =LEN(A2)) to count the exact number of characters in a cell. If the visible word is "No" (which is 2 characters) but the LEN formula returns 3 or more, there are hidden spaces. You should use the TRIM function to remove them.

Can I use the AND function with numbers instead of text in a structured table?

Yes, absolutely. For numeric evaluations, simply remove the quotation marks around your criteria in the formula. For example, to check if Revenue is over 1000 and Cost is under 500, you would write: =AND([@[Revenue]]>1000, [@[Cost]]<500).