ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Express a Formula that is + or - 20% from a Value Q (https://www.excelbanter.com/excel-worksheet-functions/172891-express-formula-20%25-value-q.html)

Sean

Express a Formula that is + or - 20% from a Value Q
 
How can I express a formula that checks to see if a value is within +
or - 20% from another value?


Thanks

Pete_UK

Express a Formula that is + or - 20% from a Value Q
 
Try this:

=IF(ABS((B1-A1)/A1)<=0.2,"OK","Out of tolerance")

Hope this helps.

Pete

On Jan 14, 10:40*am, Sean wrote:
How can I express a formula that checks to see if a value is within +
or - 20% from another value?

Thanks



Sean

Express a Formula that is + or - 20% from a Value Q
 
Thanks Pete, just figured it out using ABS


Pete_UK

Express a Formula that is + or - 20% from a Value Q
 
You're welcome, Sean.

Pete

On Jan 14, 11:13*am, Sean wrote:
Thanks Pete, just figured it out using ABS




All times are GMT +1. The time now is 04:01 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com