COLLECT() isn't accepting column for range

I am trying to do the following formula using an entire column in the range:

INDEX(COLLECT(ColA:ColA, ColB:ColB, ColC@row, ....

But, this doesn't work. Instead, I am forced to enter row numbers in the range as follows:

INDEX(COLLECT(ColA1:ColA52, ColB1:ColB52, ColC@row, ....

However, using row numbers in the formula now means I cannot make it a column formula. Is this a bug in the COLLECT formula? I can use entire column references in the MATCH() formula (and other formulas) just fine.

Answers

  • Mike TV
    Mike TV ✭✭✭✭✭✭

    @Ramsay Zaki

    INDEX COLLECT works with column ranges. Please provide your complete formula and we can troubleshoot. I can already see an error in your formula. where you have "ColC@row" at the end is supposed to be criteria such as ColC@row=1 but you've just got a reference to the location without criteria.

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!