How to Test Variance and Percentage Thresholds in Excel
Question details
The user needs an Excel formula to check if both an absolute variance and an absolute percentage meet specific minimum thresholds simultaneously.

- 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.
Ensure your data is organized with the variance amounts and percentage values in separate, easily identifiable columns formatted as numbers and percentages respectively.
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.
Locate the cells containing your data. For example, assume the variance amount is in cell A2 and the percentage is in cell B2.
Click on the cell where you want the TRUE or FALSE result to appear.
Type the formula =AND(ABS(A2)>=1000,ABS(B2)>=10%) into the formula bar and press Enter.
Click and drag the fill handle at the bottom right of the cell to copy this formula down to other rows in your dataset.

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. Open your dataset: Launch WPS Spreadsheet and open the file containing your variance data.
- 2. Enter the threshold formula: Click on the target cell and type =AND(ABS(A2)>=1000,ABS(B2)>=10%).
- 3. Evaluate your data: Press Enter to instantly evaluate your variance and percentage thresholds across your sheet.

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.




