Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I am looking for the biggest absolute number in a range.
For example: -20 3 50 40 I hope to get 20 as a result I tried max(ABS(D2:D5)) but that does not work. Of course I can use an intermedite range and fiirst convert all my data to ABS then do a max - but I hope there is another way. Many thanks. Dan |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Dan,
Use your formuala, but enter it using Ctrl-Shift-Enter. And you really should hope to get 50. But if you really want 20, then perhaps =ABS(MIN(D2:D5)) entered as a regular formula? HTH, Bernie MS Excel MVP "Dan" wrote in message ... I am looking for the biggest absolute number in a range. For example: -20 3 50 40 I hope to get 20 as a result I tried max(ABS(D2:D5)) but that does not work. Of course I can use an intermedite range and fiirst convert all my data to ABS then do a max - but I hope there is another way. Many thanks. Dan |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
As Bernie said, you could use your formula provided you entered it using
Cntl+Shift+Enter instead of just Enter. If you want a formula that only uses Enter (so you won't worry about forgetting the Cntl+Shift+Enter requirement in future editing sessions), you could give this formula a try.. =MAX(MAX(D2:D5),-MIN(D2:D5)) Rick "Dan" wrote in message ... I am looking for the biggest absolute number in a range. For example: -20 3 50 40 I hope to get 20 as a result I tried max(ABS(D2:D5)) but that does not work. Of course I can use an intermedite range and fiirst convert all my data to ABS then do a max - but I hope there is another way. Many thanks. Dan |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Display absolute value of complex number | Excel Discussion (Misc queries) | |||
HOW DO I CHANGE A FORMULA INTO AN ABSOLUTE NUMBER? | Excel Discussion (Misc queries) | |||
Convert displayed number to absolute value | Excel Discussion (Misc queries) | |||
How do I convert hh:mm:ss to an absolute number (26:01:32 to 26)? | Excel Discussion (Misc queries) | |||
Absolute Worksheet reference number | Excel Discussion (Misc queries) |