LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 133
Default checking the absolute value of a number

i have a list of numbers in multiple columns......
A B C D
1 40 -36 MAX abs. Value 1
2 45 -45 MAX abs. Value 2
3 21 -10
4 26 -46
: :

i have to select the largest absolute value from:
1) columns 'b' and 'c', and from the from rows 1, 3, 5,... etc
2) columns 'b' and 'c', and from the from rows 2, 4, 6,... etc

I know how to use the =MAX(cell selection) function:
D1 =MAX(B1:C1, B3:C3,...)

but how do i compare the absolute values so that:
D1 = 40
D2 = 46

my =MAX(cell selection) formula is quite large, so i dont want to do an
=IF(this, then, else) to check to see if it's negative, and then multiply by
-1 if it is, because my formula will be excessively large.

any help?
 
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
Checking a date/number between two others [email protected] Excel Discussion (Misc queries) 6 March 31st 09 12:01 AM
number checking diam Excel Discussion (Misc queries) 0 November 29th 06 05:46 PM
number checking diam Excel Discussion (Misc queries) 0 November 29th 06 05:35 PM
Checking a number of sheets sphenisc Excel Worksheet Functions 1 November 17th 05 06:55 PM
Checking cell for Number Lee New Users to Excel 2 October 11th 05 09:23 PM


All times are GMT +1. The time now is 04:48 AM.

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"