↧
Answer by Vasily Ivoyzha for Find MAX in Column Range ignoring Error values...
for those who have old ms excel version (<2010) that not supports AGGREGATE worksheetfunction: Sub GetMax_oldstyle() Dim rng$, lr As Long With Sheet1 'Change accordingly lr = .Cells(.Rows.Count,...
View ArticleAnswer by JvdV for Find MAX in Column Range ignoring Error values using...
Try this: Sub GetMax() Dim rng As Range, lr As Long With Sheet1 'Change accordingly lr = .Cells(.Rows.Count, "A").End(xlUp).Row Set rng = .Range("A1:B" & lr) If Application.Aggregate(4, 6,...
View ArticleFind MAX in Column Range ignoring Error values using Evaluate Syntax
I have defined a range called Rng. The Columns(2) of Rng contains numbers and #N/A error values. I want to find the MAX value in this column and then compare if it is >0. Col A Col B --------------...
View Article