Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I'm writing an application that counts values in a large selection if they comply to a crieria of greater than Firstvalue and smaller than secondvalue . The selection could be a huge Excel range, so that the speed is a very important factor. I use a procedure like: For Each cell In Selection If cell.Value <= secondvalue And cell.Value = Firstvalue Then R = R + 1 Next cell Is it the fastest way or are there better ones (Excel functions?) All the data are numeric Thanks a lot Avi |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Count Max values in a range | Excel Worksheet Functions | |||
Fastest way to select large range (e.g. B3:F1002)? | Excel Discussion (Misc queries) | |||
What is the fastest way to copy a range to a 2D array? | Excel Programming | |||
fastest sorting routine for 2-D array of long values | Excel Programming | |||
Count the how many different values in a range | Excel Worksheet Functions |