![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Apr 2002
Posts: 758
|
I simply want to calculate the difference between two numbers in A1 & B1
|
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Mar 2002
Location: Hellas
Posts: 553
|
are you kidding ?
__________________
Best Regards Andreas
|
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Apr 2002
Posts: 758
|
No
if A1 = 20 and B1 = 30 then A1-B1 = -10 and I want it to display the difference as being 10 [ This Message was edited by: Peter100 on 2002-05-04 17:12 ] |
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Mar 2002
Location: Hellas
Posts: 553
|
Hello Peter
try the abs function Suppose you have the formula in c1 =abs(a1-b1)
__________________
Best Regards Andreas
|
|
|
|
|
|
#5 |
|
Board Regular
Join Date: Feb 2002
Location: Houston,Texas
Posts: 418
|
=ABS(A1-B1)
|
|
|
|
|
|
#6 |
|
Board Regular
Join Date: Apr 2002
Posts: 758
|
Cheers Fellas
I was searcing for Diff or something similar |
|
|
|
|
|
#7 |
|
Board Regular
Join Date: Feb 2002
Posts: 7,743
|
Why not just =b1-a1?
|
|
|
|
|
|
#8 |
|
Board Regular
Join Date: Apr 2002
Posts: 758
|
Because the nest row might have the data reversed and then the problem would be the same
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|