#1   Report Post  
Haplo
 
Posts: n/a
Default Using ABS

How can I use the ABS (absolute) function to return an absolute value for a
ranage of numbers that are both negative and positive?
  #2   Report Post  
Jerry W. Lewis
 
Posts: n/a
Default

I presume that you are wanting a more involved answer than =ABS(A1), but
your question is not detailed enough for me to know what you really want.

Jerry

Haplo wrote:

How can I use the ABS (absolute) function to return an absolute value for a
ranage of numbers that are both negative and positive?


  #3   Report Post  
David Billigmeier
 
Posts: n/a
Default

Well, first of all, you can only use it nested within another function that
will take that range and return a single value (like SUM()) because you can't
return an array into a single cell in Excel. Assuming that is what you want
to do, nest the ABS() function and commit it by pressing CTRL+SHIFT+ENTER.
For example:

=SUM(ABS(A1:A50)) (entered with CTRL+SHIFT+ENTER) will sum the absolute
values of A1 to A50.

--
Regards,
Dave


"Haplo" wrote:

How can I use the ABS (absolute) function to return an absolute value for a
ranage of numbers that are both negative and positive?

  #4   Report Post  
Jerry W. Lewis
 
Posts: n/a
Default

You can select a column of 50 cells and array enter =ABS(A1:A50) to
simultaneously populate the entire selection, but it is not clear what
advantage that would have over a cell at a time.

Jerry

David Billigmeier wrote:

Well, first of all, you can only use it nested within another function that
will take that range and return a single value (like SUM()) because you can't
return an array into a single cell in Excel. Assuming that is what you want
to do, nest the ABS() function and commit it by pressing CTRL+SHIFT+ENTER.
For example:

=SUM(ABS(A1:A50)) (entered with CTRL+SHIFT+ENTER) will sum the absolute
values of A1 to A50.


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



All times are GMT +1. The time now is 10:49 PM.

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

About Us

"It's about Microsoft Excel"