I need collect to compare my criterion (@row data) with my criterion range (a referenced column)?

I've been working around collecting data from multiple sheets with help from this community, and I've run into another snag. I'm trying to pull data from a referenced column with a matching location name @row. It seems like a simple problem, but I keep getting #INCORRECT ARGUMENT SET.

=COLLECT({2024 All Projects}, {2024 Branches}, {2024 Branches} = Branches@row)

How can I get my criterion and criterion range to do what I want?

TIA

Answers

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭

    What do you plan to do with the data? The COLLECT function has to be nested inside of another function.

  • Mark.poole
    Mark.poole ✭✭✭✭✭✭

    All the ranges {2024 All Projects}, {2024 Branches}, and {2024 Branches} must have the same number of rows. Mismatched row counts cause the #INCORRECT ARGUMENT SET error.

    If you found this comment helpful. Please respond with any of the buttons below. Awesome🖤, Insightful💡, Upvote⬆️, or accepted answer. Not only will this help others searching for the same answer, but help me as well. Thank you.

  • I just want to move it. I have it joined like I want in another sheet, but I'm struggling to get everything moved and then combined in a helper sheet. When I try and just link the cells it links the formulas and gives me errors because the needed info isn't in the new sheet.

    I have 3 pieces of data from each year, with each year having its own sheet. I collected and joined them in the year sheet, but now I can't get them where I want them. I feel like this is a ridiculously simple problem.

    @Paul Newcome @Mark.poole

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!