Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
cherft
 
Posts: n/a
Default Non-signed Difference between 2 cells

rather than having to code:
=IF(A1-B1<0,(A1-B1)*-1,(A1-B1))
or
applying special formating to the cell to suppress the "-" sign,

Surely there must be a worksheet built-in function to give me the difference
between two cells.

Can anyone help?
Thanks a mil
Cherft
  #2   Report Post  
arno
 
Posts: n/a
Default

Hi cherft,
rather than having to code:
=IF(A1-B1<0,(A1-B1)*-1,(A1-B1))


=abs(a1-b1)

arno
  #3   Report Post  
JE McGimpsey
 
Posts: n/a
Default

One way:

=ABS(A1-B1)

In article ,
cherft wrote:

rather than having to code:
=IF(A1-B1<0,(A1-B1)*-1,(A1-B1))
or
applying special formating to the cell to suppress the "-" sign,

Surely there must be a worksheet built-in function to give me the difference
between two cells.

  #4   Report Post  
Mangesh
 
Posts: n/a
Default

=ABS(A1-B1)

- Mangesh



"cherft" wrote in message
...
rather than having to code:
=IF(A1-B1<0,(A1-B1)*-1,(A1-B1))
or
applying special formating to the cell to suppress the "-" sign,

Surely there must be a worksheet built-in function to give me the

difference
between two cells.

Can anyone help?
Thanks a mil
Cherft



  #5   Report Post  
cherft
 
Posts: n/a
Default

Many thanks indeed - appreciated
regards
Cherft

"arno" wrote:

Hi cherft,
rather than having to code:
=IF(A1-B1<0,(A1-B1)*-1,(A1-B1))


=abs(a1-b1)

arno



  #6   Report Post  
cherft
 
Posts: n/a
Default

Many thanks indeed - appreciated
regards
Cherft

"JE McGimpsey" wrote:

One way:

=ABS(A1-B1)

In article ,
cherft wrote:

rather than having to code:
=IF(A1-B1<0,(A1-B1)*-1,(A1-B1))
or
applying special formating to the cell to suppress the "-" sign,

Surely there must be a worksheet built-in function to give me the difference
between two cells.


  #7   Report Post  
cherft
 
Posts: n/a
Default

Many thanks indeed - appreciated
regards
Cherft

"Mangesh" wrote:

=ABS(A1-B1)

- Mangesh



"cherft" wrote in message
...
rather than having to code:
=IF(A1-B1<0,(A1-B1)*-1,(A1-B1))
or
applying special formating to the cell to suppress the "-" sign,

Surely there must be a worksheet built-in function to give me the

difference
between two cells.

Can anyone help?
Thanks a mil
Cherft




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
I want to select excel cells of difference colors and increase th. Wilbanks Excel Worksheet Functions 1 March 31st 05 01:32 AM
Calculating the difference between cells SheriffCassidy Excel Worksheet Functions 3 February 15th 05 06:30 AM
Help adding text values Texas-DC_271 Excel Worksheet Functions 7 January 15th 05 11:14 PM
To safety merge cells without data destroyed, and smart unmerge! Kevin Excel Discussion (Misc queries) 0 December 30th 04 07:17 AM
sum difference cells on multiple sheets JulieD Excel Worksheet Functions 8 November 10th 04 05:38 AM


All times are GMT +1. The time now is 06:41 AM.

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"