Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
AZExcelNewbie
 
Posts: n/a
Default Problem w/ vertical array formula

I have a vertical array which worked fine in another worksheet but does not
work now. It looks at a set of cells and sorts them from high to low,
currently it will find the highest number, but when you auto fill the cells
below it, it shows duplicate entries all the way down. Please let me know
what I'm doing wrong with the following formula:
=INDEX(A$2:A$76,MATCH(LARGE($B$2:$B$76-ROW($B$2:$B$76)/75^75,ROWS($A$2:A2)),$B$2:$B$76-ROW($B$2:$B$76)/75^75,0))

column 'a' contains names, column 'b' contains the number. There are 75
entries.
  #2   Report Post  
Anthony Slater
 
Posts: n/a
Default

The formula is fine.

As its an array, you have to enter the formular ctrl=shift-enter

"AZExcelNewbie" wrote:

I have a vertical array which worked fine in another worksheet but does not
work now. It looks at a set of cells and sorts them from high to low,
currently it will find the highest number, but when you auto fill the cells
below it, it shows duplicate entries all the way down. Please let me know
what I'm doing wrong with the following formula:
=INDEX(A$2:A$76,MATCH(LARGE($B$2:$B$76-ROW($B$2:$B$76)/75^75,ROWS($A$2:A2)),$B$2:$B$76-ROW($B$2:$B$76)/75^75,0))

column 'a' contains names, column 'b' contains the number. There are 75
entries.

  #3   Report Post  
AZExcelNewbie
 
Posts: n/a
Default

I did

"Anthony Slater" wrote:

The formula is fine.

As its an array, you have to enter the formular ctrl=shift-enter

"AZExcelNewbie" wrote:

I have a vertical array which worked fine in another worksheet but does not
work now. It looks at a set of cells and sorts them from high to low,
currently it will find the highest number, but when you auto fill the cells
below it, it shows duplicate entries all the way down. Please let me know
what I'm doing wrong with the following formula:
=INDEX(A$2:A$76,MATCH(LARGE($B$2:$B$76-ROW($B$2:$B$76)/75^75,ROWS($A$2:A2)),$B$2:$B$76-ROW($B$2:$B$76)/75^75,0))

column 'a' contains names, column 'b' contains the number. There are 75
entries.

  #4   Report Post  
Harlan Grove
 
Posts: n/a
Default

AZExcelNewbie wrote:
....
I have a vertical array which worked fine in another worksheet but
does not work now. It looks at a set of cells and sorts them from
high to low, currently it will find the highest number, but when
you auto fill the cells below it, it shows duplicate entries all
the way down. Please let me know what I'm doing wrong with the
following formula:
=INDEX(A$2:A$76,MATCH(LARGE($B$2:$B$76-ROW($B$2:$B$76)/75^75,
ROWS($A$2:A2)),$B$2:$B$76-ROW($B$2:$B$76)/75^75,0))

....

In the other workbook in which a similar formula worked, I'd bet you
weren't using ROW(..)/75^75. The result of this expression will be on
the order of 10^-140. If you try to add such numbers to othre numbers
that are on the order of 1 or higher, there won't be sufficient
precision to store these 'tie-breaker' values, so the 1st argument to
LARGE will be truncated to just the values from $B$2:$B$76.

You need to change your tie-breaker values. Either replace the 75^75
with a likely constant value, like 1E4, or make it sensitive to your
data, e.g., (MIN(ABS($B$2:$B$76))/10)^2. Note that this won't work if
your data range, $B$2:$B$76, contains zero and negative values, since
the MIN(ABS(..)) expression will return zero. In that case, you'd need
to use a suitable constant.

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
Formula Problem - If Statement Margie Excel Worksheet Functions 4 April 29th 05 10:07 PM
How can I use a cell reference in Sumproduct array formula? Chrism Excel Discussion (Misc queries) 1 April 7th 05 05:05 PM
Array Formula frankybenali Excel Worksheet Functions 1 February 16th 05 06:37 PM
IF(ISNA formula problem Brad Excel Worksheet Functions 7 January 26th 05 03:14 PM
Help with array formula Excel Worksheet Functions 2 January 20th 05 04:17 PM


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