Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
DIFFERENCE BETWEEN 2 VALUES SHOULD NOT BE MORE THAN 1
In column a1 to a5 i have number in a1:a:5 0.2,21.10,20.90,20.00,20.20
in b1:b5 i have numbers 0.2,22.20,21.90,21.10,21.30 in c1:c5 i want the results 0.2,21.30,21.10,20.20,20.40 the difference between two values should not be more than 0.2 |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
DIFFERENCE BETWEEN 2 VALUES SHOULD NOT BE MORE THAN 1
I think you want something like this:
=IF(A1=B1,A1,IF(A1<B1,MIN(A1+0.2,B1),MAX(A1-0.2,B1))) Copy down into C2:C5. Hope this helps. Pete On Jun 18, 7:38*am, srpavar wrote: In column a1 to a5 i have number in a1:a:5 0.2,21.10,20.90,20.00,20.20 in b1:b5 i have numbers 0.2,22.20,21.90,21.10,21.30 in c1:c5 i want the results 0.2,21.30,21.10,20.20,20.40 the difference between two values should not be more than 0.2 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Difference in values | Excel Discussion (Misc queries) | |||
Get the difference of two values which are on the same row , on t. | Charts and Charting in Excel | |||
How can I minimalize the difference between extreme values on a c. | Charts and Charting in Excel | |||
How do you find the difference between two time values when one i. | Excel Discussion (Misc queries) | |||
How do you calculate the difference between two values within a p. | Excel Discussion (Misc queries) |