ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Array formulas (https://www.excelbanter.com/excel-worksheet-functions/62537-array-formulas.html)

Brad

Array formulas
 
I have two worksheets that are identical in the same workbook

=SMALL(IF(MATCH($R$4:$R$39,$R$4:$R$39,0)=ROW($R$4: $R$39)-CELL("Row",$R$4:$R$39)+1,$R$4:$R$39),AO5)

works just fine on the first worksheet as an array formula

But
=SMALL(IF(MATCH($R$4:$R$39,$R$4:$R$39,0)=ROW($R$4: $R$39)-CELL("Row",$R$4:$R$39)+1,$R$4:$R$39),AO5)

Doesn't work on the second worksheet as an array formula

What am I doing wrong??


Brad

Array formulas
 
Check your formulas that deal with the sums and you will find your problem.

Happy New Year

"Brad" wrote:

I have two worksheets that are identical in the same workbook

=SMALL(IF(MATCH($R$4:$R$39,$R$4:$R$39,0)=ROW($R$4: $R$39)-CELL("Row",$R$4:$R$39)+1,$R$4:$R$39),AO5)

works just fine on the first worksheet as an array formula

But
=SMALL(IF(MATCH($R$4:$R$39,$R$4:$R$39,0)=ROW($R$4: $R$39)-CELL("Row",$R$4:$R$39)+1,$R$4:$R$39),AO5)

Doesn't work on the second worksheet as an array formula

What am I doing wrong??


Dave Peterson

Array formulas
 
Since those formulas are exactly the same, I'd guess that you didn't array enter
one of them or maybe your data doesn't contain enough numeric data.

maybe wrapping your formula with a check:

=if(count($r$4:$R$39)<a05,"not enough numbers",.....

Brad wrote:

I have two worksheets that are identical in the same workbook

=SMALL(IF(MATCH($R$4:$R$39,$R$4:$R$39,0)=ROW($R$4: $R$39)-CELL("Row",$R$4:$R$39)+1,$R$4:$R$39),AO5)

works just fine on the first worksheet as an array formula

But
=SMALL(IF(MATCH($R$4:$R$39,$R$4:$R$39,0)=ROW($R$4: $R$39)-CELL("Row",$R$4:$R$39)+1,$R$4:$R$39),AO5)

Doesn't work on the second worksheet as an array formula

What am I doing wrong??


--

Dave Peterson


All times are GMT +1. The time now is 04:10 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com