#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Maximum value

hei,
I have a table like:
Fx Fy Fz
1 -1975 -3211 -1321
2 781 -5419 1175
3 1431 1270 -4184
4 -8191 6251 -6000

I need to have an answer for the maximum absolut value with keeping the
sight if it is negative.
Like:
Max (+/-) -8191 6251 -6000

is it possible?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,059
Default Maximum value

"Masha" wrote:
I need to have an answer for the maximum absolut value with
keeping the [sign] if it is negative.


There might be something more clever, but try:

=IF(ABS(MIN(A1:A4)) MAX(A1:A4), MIN(A1:A4), MAX(A1:A4))

Note: If both the min and max are the same magnitude (e.g. -6000 and 6000),
that formula returns the positive number. If you would prefer the negative
number, change "" to "=".


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

"Masha" wrote in message
...
hei,
I have a table like:
Fx Fy Fz
1 -1975 -3211 -1321
2 781 -5419 1175
3 1431 1270 -4184
4 -8191 6251 -6000

I need to have an answer for the maximum absolut value with keeping the
sight if it is negative.
Like:
Max (+/-) -8191 6251 -6000

is it possible?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,440
Default Maximum value

=IF(ABS(MIN(B1:B4))MAX(B1:B4),MIN(B1:B4),MAX(B1:B 4))

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Masha" wrote in message
...
hei,
I have a table like:
Fx Fy Fz
1 -1975 -3211 -1321
2 781 -5419 1175
3 1431 1270 -4184
4 -8191 6251 -6000

I need to have an answer for the maximum absolut value with keeping the
sight if it is negative.
Like:
Max (+/-) -8191 6251 -6000

is it possible?


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Maximum value

One way of doing it:
=IF(MAX(B2:B5)-MIN(B2:B5),MAX(B2:B5),MIN(B2:B5))
--
David Biddulph

"Masha" wrote in message
...
hei,
I have a table like:
Fx Fy Fz
1 -1975 -3211 -1321
2 781 -5419 1175
3 1431 1270 -4184
4 -8191 6251 -6000

I need to have an answer for the maximum absolut value with keeping the
sight if it is negative.
Like:
Max (+/-) -8191 6251 -6000

is it possible?



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Maximum value

Another way

(array entered.)
=INDEX(H1:H100,MIN(IF(ABS(H1:H100)=MAX(ABS(H1:H100 )),ROW(H1:H100))))

If this post helps click Yes
---------------
Jacob Skaria


"Masha" wrote:

hei,
I have a table like:
Fx Fy Fz
1 -1975 -3211 -1321
2 781 -5419 1175
3 1431 1270 -4184
4 -8191 6251 -6000

I need to have an answer for the maximum absolut value with keeping the
sight if it is negative.
Like:
Max (+/-) -8191 6251 -6000

is it possible?

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
Return Maximum from Column directly above Maximum in Row Code Numpty Charts and Charting in Excel 2 November 19th 08 07:29 AM
maximum Dale Excel Worksheet Functions 1 April 12th 07 10:16 PM
Maximum Louisq Excel Worksheet Functions 1 February 13th 07 03:36 PM
MAXIMUM VALUE Carolan Excel Worksheet Functions 2 June 14th 05 06:05 PM
Specify Maximum Value jcliquidtension Excel Discussion (Misc queries) 2 February 23rd 05 08:43 PM


All times are GMT +1. The time now is 05:14 AM.

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"