Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Formula to ask if there is more than 10% difference between result

i have to calculate from a results sheet if there is more than a 10%
difference between two results (simple numeric results) calculated from
experimental data to determine wether or not to run a third sample. The
results are in column format and are typically numbers from eg: 0.344 to 9.7
the query is to tell if cells eg: a1 and a2 have more than a 10% disparity
preferably always using the lower number to calculate the 10% variation.

Can anyone shed some light on this for me please. have tried my best but not
having any luck!


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default Formula to ask if there is more than 10% difference between result

=ABS(A1-A2)/MIN(A1:B1)10%
=IF(ABS(A1-A2)/MIN(A1:B1)10%,"Repeat","OK")
=IF(ABS(A1-A2)/MIN(A1:B1)10%,"Repeat","")
use whichever suits your needs
best wishes

--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"AMCD" wrote in message
...
i have to calculate from a results sheet if there is more than a 10%
difference between two results (simple numeric results) calculated from
experimental data to determine wether or not to run a third sample. The
results are in column format and are typically numbers from eg: 0.344 to
9.7
the query is to tell if cells eg: a1 and a2 have more than a 10% disparity
preferably always using the lower number to calculate the 10% variation.

Can anyone shed some light on this for me please. have tried my best but
not
having any luck!




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,059
Default Formula to ask if there is more than 10% difference between result

On Mar 21, 7:39 am, AMCD wrote:
the query is to tell if cells eg: a1 and a2 have more than a 10% disparity
preferably always using the lower number to calculate the 10% variation.


=if(abs(a1-a2)/min(a1,a2)10%, true, false)

Caveat: This assumes that both A1 and A2 are greater than zero.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
difference between + or = in entering a formula Lencastre Excel Worksheet Functions 3 March 7th 07 08:54 PM
date difference formula Scott_goddard Charts and Charting in Excel 1 November 30th 06 11:50 PM
Advanced formula - Return result & Show Cell Reference of result Irv Excel Worksheet Functions 7 May 6th 06 03:36 AM
Median result used in formula gives incorrect result vlatham Excel Worksheet Functions 4 September 21st 05 04:26 PM
charting a difference of 2 columns' w/o adding a difference column Wab Charts and Charting in Excel 4 July 27th 05 02:37 AM


All times are GMT +1. The time now is 10:01 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"