negitive and possitive numbers

R

rb23

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
 
G

Gary''s Student

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.
 
R

rb23

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.
 
J

JoeU2004

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 -----
 
D

David Biddulph

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

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top