Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 68
Default How to ignore the signs and make the functions work

Hi,

I need to have a formula which ignore the signs.

Row A1 RowB1 RowC1(Results)
-10 9 10

I need to findout which is the greater number from both ignoring the signs.
Sign should not consider. I have used the MAX formula but it is using the
sign when arrive to the results.

Do the needful at the earliest.

Regards,
Igneshwara reddy
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default How to ignore the signs and make the functions work

=MAX(ABS(A1:C1))

ctrl+shift+enter, not just enter


"Igneshwara reddy" wrote:

Hi,

I need to have a formula which ignore the signs.

Row A1 RowB1 RowC1(Results)
-10 9 10

I need to findout which is the greater number from both ignoring the signs.
Sign should not consider. I have used the MAX formula but it is using the
sign when arrive to the results.

Do the needful at the earliest.

Regards,
Igneshwara reddy

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 68
Default How to ignore the signs and make the functions work

yes this formula is working fine but the result should be with sign -10 only.
Sorry I missed this point to state in the below email.

Regards,
Igneshwara reddy

"Teethless mama" wrote:

=MAX(ABS(A1:C1))

ctrl+shift+enter, not just enter


"Igneshwara reddy" wrote:

Hi,

I need to have a formula which ignore the signs.

Row A1 RowB1 RowC1(Results)
-10 9 10

I need to findout which is the greater number from both ignoring the signs.
Sign should not consider. I have used the MAX formula but it is using the
sign when arrive to the results.

Do the needful at the earliest.

Regards,
Igneshwara reddy

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default How to ignore the signs and make the functions work

Try tis:

=INDEX(A1:B1,MATCH(MAX(INDEX(ABS(A1:B1),1,)),INDEX (ABS(A1:B1),1,),0))

If both cells have the same number but different signs the formula will
return the sign of the *first* cell. For example:

A1 = -10
B1 = 10

Result is -10

--
Biff
Microsoft Excel MVP


"Igneshwara reddy" wrote in
message ...
yes this formula is working fine but the result should be with sign -10
only.
Sorry I missed this point to state in the below email.

Regards,
Igneshwara reddy

"Teethless mama" wrote:

=MAX(ABS(A1:C1))

ctrl+shift+enter, not just enter


"Igneshwara reddy" wrote:

Hi,

I need to have a formula which ignore the signs.

Row A1 RowB1 RowC1(Results)
-10 9 10

I need to findout which is the greater number from both ignoring the
signs.
Sign should not consider. I have used the MAX formula but it is using
the
sign when arrive to the results.

Do the needful at the earliest.

Regards,
Igneshwara reddy



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
Functions to ignore hidden rows hmm Excel Worksheet Functions 2 June 5th 07 05:26 PM
How to make average function ignore MIN and MAX Larry4500 Excel Worksheet Functions 3 August 21st 06 12:06 AM
how to make a formula ignore blank cells Snap Excel Worksheet Functions 6 June 8th 06 12:54 AM
How do i make a sum formula ignore #div/0! errors in the range shat Excel Worksheet Functions 6 April 22nd 06 02:47 PM
How to make excell ignore non-whole numbers John_Doe69 Excel Worksheet Functions 5 April 14th 06 05:19 AM


All times are GMT +1. The time now is 12:56 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"