Join/Collect with 3 criteria

Hi everyone,
I am trying to use a Join(Collect formula to find 3 criteria. It looks like I can only have 2 criteria, but before I gave up, I wanted to see if I am missing something. Or does anyone have another way to evaluate 3 criteria? Thank you!
Best Answer
-
It looks like you have some data type inconsistencies. Some are left justified and some are right justified. This means some are numbers and some are text (leading zeros create a text string).
Insert a helper column in both sheets that have this column formula:
=[Report Time]@row + ""
Then use these helepr columns in your formula in place of directly referencing the time columns.
Answers
-
You can have as many range/criteria sets as you need so long as you don't exceed 4,000 characters (including spaces). Can you provide the formula you were trying that wasn't working?
-
It was
=Join(COLLECT({Situation Unit Data Collection To Range 5}, {Situation Unit Data Collection To Range 1}, [Event Name]@row, {Situation Unit Data Collection To Range 3}, [Report Date]@row, {Situation Unit Data Collection To Range 4}, [Report Time (24 Hour Format)]@row), ",")
Everytime I tried to enter the 3rd criteria it kept asking for the deliminator for the join so I wasnt sure how to add the third.
-
The above should work. Can you provide a screenshot of it open in the sheet as if you are editing it?
-
Sure - the sheet where I have the formula is here:
And this is the sheet the info comes in from.
-
No, First I was gettng #UNPARSABLE and now it is just giving me an empty cell
-
What does this give you?
=COUNTIFS({Situation Unit Data Collection To Range 1}, [Event Name]@row, {Situation Unit Data Collection To Range 3}, [Report Date]@row, {Situation Unit Data Collection To Range 4}, [Report Time (24 Hour Format)]@row)
-
Im getting Unparseable with that
-
When I do it with only 2 criteria it works, but three, it breaks
-
Ok. What about this one?
=COUNTIFS({Situation Unit Data Collection To Range 4}, [Report Time (24 Hour Format)]@row)
-
I get a 0 for that
-
How are you populating both of those columns exactly (there cross sheet as well as the cell reference)?
-
The main information comes into the sheet through a form. But for the 3 fields that are critieria, I type them in the second sheet or copy and paste
-
It looks like you have some data type inconsistencies. Some are left justified and some are right justified. This means some are numbers and some are text (leading zeros create a text string).
Insert a helper column in both sheets that have this column formula:
=[Report Time]@row + ""
Then use these helepr columns in your formula in place of directly referencing the time columns.
-
That worked. Thank you Paul!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.9K Get Help
- 474 Global Discussions
- 207 Use Cases
- 517 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 83 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!