I'm looking to gain efficiency in some script I've written. I use the inefficient "Evaluate" method to return the minimum and maximum values in a range that meet a certain criteria:
The variable dblCohort is the criteria by which the function defines the conditional value to return. Basically, I'm looking for a function in VBA that returns the minimum and maximum values in a range that uses conditional arguments much in the same way SUMIFS, AVERAGEIFS or COUNTIFS do.Please Login or Register to view this content.
I suspect there's an easy solution, but I either don't know the solution or I'm blanking on it. I've searched through this forum and the on the internet with no luck. Any suggestions?
Tony
Bookmarks