MAX, COLLECT, MATCH Formula

Options
tani_1887
tani_1887 ✭✭
edited 11/22/22 in Formulas and Functions

I have a formula that is giving an "incorrect argument" error.

=MAX(COLLECT({_Training Database Range 1}, MATCH([Primary Column]@row, {_Training Database Range 2}, 0), {_Training Database Range 3}, "ROVER - SITE CALIBRATION"), 0)

I am trying to match a name for from a column (sheet 1) to a column in another sheet (sheet 2) and pull the max number from a different column in sheet 2. bases on a specific criteria.

Any help fixing the formula would be greatly appreciated.

Tags:

Best Answer

  • Leibel S
    Leibel S ✭✭✭✭✭✭
    Answer ✓
    Options

    @tani_1887

    Not clear on what you need. But try the below:

    =MAX(COLLECT({_Training Database Range 1}, {_Training Database Range 2}, @cell = [Primary Column]@row, {_Training Database Range 3}, @cell = "ROVER - SITE CALIBRATION"))

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!