Any idea why the 3rd and the 4th smallest would work, but not the 2nd?
everything is dimmed
Application.Goto Reference:=Worksheets("Sheet1").Range("X" & LStrt & ":X" & LEnd)
Set bidRng = Selection
bTwo(0) = WorksheetFunction.Aggregate(15, 4, bidRng, 2)
bThree(0) = WorksheetFunction.Aggregate(15, 4, bidRng, 3)
bFour(0) = WorksheetFunction.Aggregate(15, 4, bidRng, 4)
Application.Goto Reference:=Worksheets("AnalysisOutput").Range("A" & SRow)
Selection.Offset(0, 10).Value = bTwo(0)
Selection.Offset(0, 11).Value = bThree(0)
Selection.Offset(0, 12).Value = bFour(0)
How can 3rd and 4th smallest work and not 2nd smallest?
Thanks for your input.
everything is dimmed
Application.Goto Reference:=Worksheets("Sheet1").Range("X" & LStrt & ":X" & LEnd)
Set bidRng = Selection
bTwo(0) = WorksheetFunction.Aggregate(15, 4, bidRng, 2)
bThree(0) = WorksheetFunction.Aggregate(15, 4, bidRng, 3)
bFour(0) = WorksheetFunction.Aggregate(15, 4, bidRng, 4)
Application.Goto Reference:=Worksheets("AnalysisOutput").Range("A" & SRow)
Selection.Offset(0, 10).Value = bTwo(0)
Selection.Offset(0, 11).Value = bThree(0)
Selection.Offset(0, 12).Value = bFour(0)
How can 3rd and 4th smallest work and not 2nd smallest?
Thanks for your input.