Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Dig Dig is offline
external usenet poster
 
Posts: 17
Default how do i calculate the difference between two numbers?

Hello,
I am having difficulty in finding the difference between two numbers,
i have two cloumns which have for example the numbers C3=2 and D3=10, where
the difference would be E3=8 and numbers C4=12 and D4=7 where the difference
would be E4=5, how do i do this in excel without getting negative numbers
such as C3-D3=-8?
thank you for your help,
Dougie
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,059
Default how do i calculate the difference between two numbers?

On Nov 12, 4:52 am, dig wrote:
i have two cloumns which have for example the numbers C3=2 and D3=10, where
the difference would be E3=8 and numbers C4=12 and D4=7 where the difference
would be E4=5, how do i do this in excel without getting negative numbers
such as C3-D3=-8?


=abs(C3-D3)

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,355
Default how do i calculate the difference between two numbers?

The difference would be calculated as

=C3-D3

The absolute value of this is

=ABS(C3-D3)

--
HTH,
Barb Reinhardt



"dig" wrote:

Hello,
I am having difficulty in finding the difference between two numbers,
i have two cloumns which have for example the numbers C3=2 and D3=10, where
the difference would be E3=8 and numbers C4=12 and D4=7 where the difference
would be E4=5, how do i do this in excel without getting negative numbers
such as C3-D3=-8?
thank you for your help,
Dougie

  #4   Report Post  
Posted to microsoft.public.excel.misc
Dig Dig is offline
external usenet poster
 
Posts: 17
Default how do i calculate the difference between two numbers?

Thank you very much,
i am having difficulty, the cell displays as =ABS(C3-D3) how do i get it to
display as a number?
Thanks again

"Barb Reinhardt" wrote:

The difference would be calculated as

=C3-D3

The absolute value of this is

=ABS(C3-D3)

--
HTH,
Barb Reinhardt



"dig" wrote:

Hello,
I am having difficulty in finding the difference between two numbers,
i have two cloumns which have for example the numbers C3=2 and D3=10, where
the difference would be E3=8 and numbers C4=12 and D4=7 where the difference
would be E4=5, how do i do this in excel without getting negative numbers
such as C3-D3=-8?
thank you for your help,
Dougie

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default how do i calculate the difference between two numbers?

=ABS(C3-D3)
--
David Biddulph

"dig" wrote in message
...
Hello,
I am having difficulty in finding the difference between two numbers,
i have two cloumns which have for example the numbers C3=2 and D3=10,
where
the difference would be E3=8 and numbers C4=12 and D4=7 where the
difference
would be E4=5, how do i do this in excel without getting negative numbers
such as C3-D3=-8?
thank you for your help,
Dougie





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,393
Default how do i calculate the difference between two numbers?

=ABS(C3-D3)
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"dig" wrote in message
...
Hello,
I am having difficulty in finding the difference between two numbers,
i have two cloumns which have for example the numbers C3=2 and D3=10,
where
the difference would be E3=8 and numbers C4=12 and D4=7 where the
difference
would be E4=5, how do i do this in excel without getting negative numbers
such as C3-D3=-8?
thank you for your help,
Dougie



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default how do i calculate the difference between two numbers?

It sounds like you've got the cell formatted as text. Format the cell as
General or Number. You may need to go back to the formula and perhaps
delete the = sign and re-enter.
The other thing is to look at Tools/ Options/ View, and make sure that the
"formulas" box is not checked.
--
David Biddulph

"dig" wrote in message
...
Thank you very much,
i am having difficulty, the cell displays as =ABS(C3-D3) how do i get it
to
display as a number?
Thanks again

"Barb Reinhardt" wrote:

The difference would be calculated as

=C3-D3

The absolute value of this is

=ABS(C3-D3)

--
HTH,
Barb Reinhardt



"dig" wrote:

Hello,
I am having difficulty in finding the difference between two numbers,
i have two cloumns which have for example the numbers C3=2 and D3=10,
where
the difference would be E3=8 and numbers C4=12 and D4=7 where the
difference
would be E4=5, how do i do this in excel without getting negative
numbers
such as C3-D3=-8?
thank you for your help,
Dougie



  #8   Report Post  
Posted to microsoft.public.excel.misc
Dig Dig is offline
external usenet poster
 
Posts: 17
Default how do i calculate the difference between two numbers?

fantastic, that did it,
thank you so much for your help,
much appreciated!
Dougie

"David Biddulph" wrote:

It sounds like you've got the cell formatted as text. Format the cell as
General or Number. You may need to go back to the formula and perhaps
delete the = sign and re-enter.
The other thing is to look at Tools/ Options/ View, and make sure that the
"formulas" box is not checked.
--
David Biddulph

"dig" wrote in message
...
Thank you very much,
i am having difficulty, the cell displays as =ABS(C3-D3) how do i get it
to
display as a number?
Thanks again

"Barb Reinhardt" wrote:

The difference would be calculated as

=C3-D3

The absolute value of this is

=ABS(C3-D3)

--
HTH,
Barb Reinhardt



"dig" wrote:

Hello,
I am having difficulty in finding the difference between two numbers,
i have two cloumns which have for example the numbers C3=2 and D3=10,
where
the difference would be E3=8 and numbers C4=12 and D4=7 where the
difference
would be E4=5, how do i do this in excel without getting negative
numbers
such as C3-D3=-8?
thank you for your help,
Dougie




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
Calculate difference in Times Darren Excel Discussion (Misc queries) 13 April 16th 07 12:02 PM
Calculate the difference between two times Buffgirl71 Excel Worksheet Functions 1 February 9th 06 10:10 PM
How do I calculate Time difference from PM to AM JAS123 Excel Discussion (Misc queries) 3 March 12th 05 12:37 PM
Calculate difference between two dates Trainer Excel Worksheet Functions 1 February 11th 05 02:04 PM
How do you calculate the difference between two values within a p. emlouise Excel Discussion (Misc queries) 2 December 10th 04 03:13 AM


All times are GMT +1. The time now is 04:25 PM.

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

About Us

"It's about Microsoft Excel"