Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

Place multiple values returned by FILTER into a single cell instead of multiuple rows

$
0
0

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

AB                                                   
 1 Lookup Value Formulas 
2Val_01Result_1 ← Formula
3Result_2
4Result_3
5 ← Not Needed
6 ← Not Needed
7Val_02Result_1 ← Formula
8Result_2
9Result_3
10Result_4
11 ← Not Needed

Desired Results

AB                                                   
 1 Lookup Value Formulas 
2Val_01Result_1
Result_2
Result_3
 ← Formula
3Val_02Result_1
Result_2
Result_3
Result_4
 ← Formula

Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>