Welcome to the Airtable Community! If you're new here, check out our Getting Started area to get the most out of your community experience.

How to display each entry in a look up field on different lines (paragraphs)

Topic Labels: Base design
510 6
Showing results for 
Search instead for 
Did you mean: 

Hi I am combining 2 fields (quantity and materials description) using the formula function (screenshot 1).

I am then using the lookup field to display in one cell all the materials and quantities for one job in that one cell (screenshot 2). So far so good.

I would like to be able to do a nice print out for the workshop staff but in order for it to look less cluttered, is there any way I could program it to display each (material & qty) to be displayed on a new line (new paragraph) within one cell?

e.g. rather than 2 x 22mm MDF, 4 x 18 mm Birch plywood, 6 x inset hinges

I would prefer it to look like this:

2 x 22mm MDF,
4 x 18 mm Birch plywood,
6 x inset hinges
Screenshot 1
Screenshot 2

Any ideas gratefully received!

6 Replies 6

Welcome to the community, @Camilla_Johnston!

You can do this with the following formula:

ARRAYJOIN({Your Lookup Field}),

Note that Airtable won’t visually show you the line breaks in the grid view unless you:

(a) heighten your rows, or
(b) expand the cell by clicking on the tiny blue “expand cell” arrows.

You can also convert your lookup field into a rollup field.

ARRAYJOIN(values, "\n")

Using a rollup field instead of a lookup + formula field will

  • have one less field, for a less cluttered base
  • allow you to have internal commas in the individual line items

Thank you so much! It works!!

Thanks so much for your reply - I did try to do a rollup field instead using ARRAYCOMPACT(SUBSTITUTE(ARRAYJOIN(values), “,”, “\n”))
but it displays some blank fields so has a big gap before showing the values. It would be preferable to have less fields but I’m getting stuck with how to delete the blank values.

Your functions are nested in the wrong order. You need to compact the list before joining.


Fantastic - it works yet again!!! Thank you both SO much!