ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Number of occurances of the larges value in an array? (https://www.excelbanter.com/excel-programming/290817-number-occurances-larges-value-array.html)

[email protected]

Number of occurances of the larges value in an array?
 
In an array with multiple occurances of any value, is there a way to
find the number of occurances of the largest value?

tia

mudraker[_149_]

Number of occurances of the larges value in an array?
 
is this a single or multi dimensional arra

--
Message posted from http://www.ExcelForum.com


Tom Ogilvy

Number of occurances of the larges value in an array?
 
If this is an array of cells (a range)

=COUNTIF(A1:C7,MAX(A1:C7))

--
Regards,
Tom Ogilvy


wrote in message
...
In an array with multiple occurances of any value, is there a way to
find the number of occurances of the largest value?

tia




[email protected]

Number of occurances of the larges value in an array?
 
Sorry, I wasn't specific enough.

I am using an array like this:

Dim aTableSetValue(1 To 1000, 1 To 1000) as variant



On Mon, 09 Feb 2004 20:40:57 -0500, wrote:

In an array with multiple occurances of any value, is there a way to
find the number of occurances of the largest value?

tia



Alan Beban[_4_]

Number of occurances of the larges value in an array?
 
If the functions in the freely downloadable file at
http://home.pacbell.net/beban are available to your workbook

NumMax = ArrayCountIf(aTableSetValue, Application.Max(aTableSetValue))

Alan Beban

wrote:
Sorry, I wasn't specific enough.

I am using an array like this:

Dim aTableSetValue(1 To 1000, 1 To 1000) as variant



On Mon, 09 Feb 2004 20:40:57 -0500,
wrote:


In an array with multiple occurances of any value, is there a way to
find the number of occurances of the largest value?

tia






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

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