What is the function of number one at the end of this formula?

=INDEX(COLLECT({Column to return}, {Column 1 with value to match}, "Value 1", {Column 2 with value to match}, "Value 2"), 1)

Thank you!

Tags:

Answers

  • AravindGP
    AravindGP ✭✭✭✭✭✭

    Hi @cnb

    If you're asking about the number 1 in the formula, that is the row #. The function will pick the value from the first row where all the conditions match, i.e. first result it gets when it finds value 1 in column having value 1 and value 2 in column having value 2.

    Thanks,

    Aravind GP| Principal Consultant

    Atturra Data & Integration

    M: +61493337445

    E:Aravind.GP@atturra.com

    W: www.atturra.com

  • cnb
    cnb ✭✭
    edited 08/29/24

    Thank you for your help! Your comment helped me troubleshoot and fix an issue I had. Much appreciated!

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!