This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
2
How to find the 2nd most frequent value in an array in VBA?
Post Flair (click to view more posts with a particular flair)
Post Body
Greetings,
I have an array with most of the values 0, and I want to find the most frequent non-zero value.
Example A=(0,5,6,0,9,2,6,0,0,3,0,6)
Mode is 0
But I require the answer to be 6.
Post Details
We try to extract some basic information from the post title. This is not
always successful or accurate, please use your best judgement and compare
these values to the post title and body for confirmation.
- Posted
- 5 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/vba/comment...