I'm using the FILTER function to return a short list of items from a separate sheet.
This is my current formula in B2:
=FILTER('In Care'!D2:D999, A2='In Care'!J2:J999)The results spill into the rows below the formula as long as they are empty or return an error if there are not enough empty rows below the formula to accommodate all the results:
#REF!
Array result was not expandedbecause it would overwrite data in [A1].
I've been leaving empty rows below each formula to accommodate results however the number of values returned varies and I don't want to leave unnecessary empty rows between the formulas.
What I'd like to do instead of returning multiple rows, is to return a single cell with multiple lines. In this way, I can have formulas stacked one row after the other without leaving empty rows in between to accommodate their results.
How do I do this?
Current Results
| A | B | ||
|---|---|---|---|
| 1 | Lookup Value | Formulas | |
| 2 | Val_01 | Result_1 | ← Formula |
| 3 | Result_2 | ||
| 4 | Result_3 | ||
| 5 | ← Not Needed | ||
| 6 | ← Not Needed | ||
| 7 | Val_02 | Result_1 | ← Formula |
| 8 | Result_2 | ||
| 9 | Result_3 | ||
| 10 | Result_4 | ||
| 11 | ← Not Needed |
Desired Results
| A | B | ||
|---|---|---|---|
| 1 | Lookup Value | Formulas | |
| 2 | Val_01 | Result_1 Result_2 Result_3 | ← Formula |
| 3 | Val_02 | Result_1 Result_2 Result_3 Result_4 | ← Formula |