Index collect formula
Answers
-
So you want to add up all rows where they have at least one of those names?
-
I want to find the 4 team names selected in my main sheet on my master sheet (each in a different row) and total them on my main sheet.
-
Are you able to provide screenshots for context?
-
Here you go. So I need the row with ORL-Murphy-Wonus Team in the orange column to display total of $8,000 and I need the 2nd row with 4 teams selected to display their total of $75,000 for example.
-
Use a cell reference instead of a text string.
[Column name]@row
-
I've tried everthing , I can't figure this out unfortunately.
=SUMIFS({Team Revenue PY and YTD 2023 -2023 YTD}, {Team Revenue PY and YTD 2023 Prod/Team Name}, HAS([Producer/Team Name(s)]@row))
-
You still need the first part of the HAS function. You're missing the @cell.
-
This is returning a 0
=SUMIFS({Team Revenue PY and YTD 2023 -2023 YTD}, {Team Revenue PY and YTD 2023 Prod/Team Name}, HAS(@cell, [Producer/Team Name(s)]@row))
-
In your last set of screenshots, which one are you putting the formula in? The one with the multi-select, or the other one?
-
The formula goes in the 1st screenshot in the orange highlighted column next to the multi select column.
-
Ok. In that case we need to switch the arguments around in the HAS function so the cell reference comes first and @cell second.
-
Not sure I completely understand, here. Could you please send me what the formula should be?
-
You currently have
HAS(@cell, column name]@row)
You need
HAS([column name]@row, @cell)
-
Oh my word! Yes, that's it!!!
=SUMIFS({Team Revenue PY and YTD 2023 -2023 YTD}, {Team Revenue PY and YTD 2023 Prod/Team Name}, HAS([Producer/Team Name(s)]@row, @cell))
Thank you so much Paul!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!