Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default negitive and possitive numbers

I want to add negitive and possitive numbers, but I only want the total of
the value in the three columns ignoring the + or - sign. example (-2) (-3)
(4) would equal -1, but I want it to equal 9
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default negitive and possitive numbers

With your values in A1 thru A3, enter:

=SUM(ABS(A1:A3))

This is an array formula that must be entered with CNTRL-SHFT-ENTER rather
than just the ENTER key.
--
Gary''s Student - gsnu200851


" wrote:

I want to add negitive and possitive numbers, but I only want the total of
the value in the three columns ignoring the + or - sign. example (-2) (-3)
(4) would equal -1, but I want it to equal 9

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default negitive and possitive numbers

That did help but, the problem I have is the columns I want to us are not
next to each other. It's more like I8,L8 and O8 and the columns in between
them have valves that I don't want in the equation. just the three shown
above. I tried to replace the : with , but got errors.

"Gary''s Student" wrote:

With your values in A1 thru A3, enter:

=SUM(ABS(A1:A3))

This is an array formula that must be entered with CNTRL-SHFT-ENTER rather
than just the ENTER key.
--
Gary''s Student - gsnu200851


" wrote:

I want to add negitive and possitive numbers, but I only want the total of
the value in the three columns ignoring the + or - sign. example (-2) (-3)
(4) would equal -1, but I want it to equal 9

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,059
Default negitive and possitive numbers

" wrote:
I want to add negitive and possitive numbers, but I only want the total of
the value in the three columns ignoring the + or - sign. example (-2) (-3)
(4) would equal -1, but I want it to equal 9


ABS(A1) returns the non-negative value of A1. For example, both ABS(-1) and
ABS(1) are 1. So you could write:

=abs(A1)+abs(B2)+abs(C3)


----- original message -----

" wrote in
message ...
I want to add negitive and possitive numbers, but I only want the total of
the value in the three columns ignoring the + or - sign. example (-2) (-3)
(4) would equal -1, but I want it to equal 9


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default negitive and possitive numbers

=SUM(ABS(I8),ABS(L8),ABS(O8))
--
David Biddulph

" wrote in
message ...
That did help but, the problem I have is the columns I want to us are not
next to each other. It's more like I8,L8 and O8 and the columns in between
them have valves that I don't want in the equation. just the three shown
above. I tried to replace the : with , but got errors.

"Gary''s Student" wrote:

With your values in A1 thru A3, enter:

=SUM(ABS(A1:A3))

This is an array formula that must be entered with CNTRL-SHFT-ENTER
rather
than just the ENTER key.
--
Gary''s Student - gsnu200851


" wrote:

I want to add negitive and possitive numbers, but I only want the total
of
the value in the three columns ignoring the + or - sign. example (-2)
(-3)
(4) would equal -1, but I want it to equal 9



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
spreadsheet with negitive numbers bbrodsky Excel Discussion (Misc queries) 1 May 6th 09 12:48 PM
How do I convert a column of positive numbers to negitive numbers JMason Excel Worksheet Functions 2 January 22nd 09 02:12 AM
how to change a list of possitive numbers to negative michelle Excel Worksheet Functions 1 November 16th 05 08:40 AM
how to change a list of possitive numbers to negative michelle Excel Worksheet Functions 0 November 16th 05 08:25 AM
How do I change numbers from positive to negitive Debi Excel Worksheet Functions 2 October 11th 05 06:09 PM


All times are GMT +1. The time now is 06:03 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"