|
-
Jul 1st, 2017, 04:33 AM
#1
Thread Starter
Junior Member
The largest and the smallest numbers in a DataGridView
=LARGE(A1:A120;1)
=LARGE(A1:A120;2)
=SMALL(A1:A120;1)
=SMALL(A1:A120;2)
.
.
.
These are Excel functions to find the the largest and the smallest numbers in a column.
Like in excel, I want to find these numbers in a Visual Basic project. I have a DataGridView (120 Rows) and I want to find the first ten (1., 2.,3.,4.,5.,6.,7.,8.,9.,10.) largest and the smallest numbers. I will appreciate any idea to solve this problem. Thanks a lot.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|