Formula Errors

How to Test Variance and Percentage Thresholds in Excel

Phi Hung VoPhi Hung Vo Oct 23, 2026 869 views

Question details

The user needs an Excel formula to check if both an absolute variance and an absolute percentage meet specific minimum thresholds simultaneously.

How to Test Variance and Percentage Thresholds in Excel
Product
Excel
Device & OS
not provided
Scenario
Analyzing financial or statistical data where specific absolute variance and percentage thresholds must be flagged.
Observed behavior
The formula needs to return TRUE when the absolute variance is at least $1,000 and the absolute percentage is at least 10%, and return FALSE otherwise.
Before you start

Ensure your data is organized with the variance amounts and percentage values in separate, easily identifiable columns formatted as numbers and percentages respectively.

Solution 1Recommended

Use the AND and ABS Functions

Combine the AND function with the ABS (absolute value) function to test multiple threshold conditions simultaneously regardless of positive or negative signs.

The ABS function ensures that both positive and negative variances are treated by their magnitude, while the AND function ensures both conditions must be true to return a TRUE result.

1
Identify data cells

Locate the cells containing your data. For example, assume the variance amount is in cell A2 and the percentage is in cell B2.

2
Select the target cell

Click on the cell where you want the TRUE or FALSE result to appear.

3
Enter the logical formula

Type the formula =AND(ABS(A2)>=1000,ABS(B2)>=10%) into the formula bar and press Enter.

4
Apply to the rest of your data

Click and drag the fill handle at the bottom right of the cell to copy this formula down to other rows in your dataset.

Use the AND and ABS Functions
Customize the Output: If you prefer the cell to remain blank instead of showing 'FALSE' when conditions aren't met, wrap the formula in an IF statement: =IF(AND(ABS(A2)>=1000,ABS(B2)>=10%), TRUE, "").
Advanced Data Analysis

Analyze Variance Data Easily in WPS Spreadsheet

WPS Office Spreadsheet fully supports complex logical formulas like AND, IF, and ABS, allowing you to perform advanced data analysis and threshold testing for free.

  1. 1. Open your dataset: Launch WPS Spreadsheet and open the file containing your variance data.
  2. 2. Enter the threshold formula: Click on the target cell and type =AND(ABS(A2)>=1000,ABS(B2)>=10%).
  3. 3. Evaluate your data: Press Enter to instantly evaluate your variance and percentage thresholds across your sheet.
Fully compatible with Microsoft Excel formulas and .xlsx file formats.Built-in function wizard helps you easily build complex nested formulas.Lightweight software that processes large financial datasets quickly.
microsoft office alternative - wps office

Frequently Asked Questions

What does the ABS function do in this formula?

The ABS function returns the absolute value of a number, meaning it converts negative numbers to positive. This ensures that a variance of -$1,500 still triggers the threshold since its absolute size is greater than $1,000.

Why is my formula returning an error instead of TRUE or FALSE?

Errors usually occur if the referenced cells contain text instead of numbers, or if there is a typo in the formula syntax. Ensure cells A2 and B2 are formatted strictly as numbers or percentages.

Can I use this formula to apply Conditional Formatting?

Yes. You can use this exact formula as a rule in Conditional Formatting to automatically highlight rows or cells where both the absolute variance and percentage thresholds are met.