Add the ability to use a carriage return when using the CONCATENATE function.
Name&CarriageReturn&Street&CarriageReturn&State&","&Zip
Add the ability to use a carriage return when using the CONCATENATE function.
Name&CarriageReturn&Street&CarriageReturn&State&","&Zip
Hi Ron,
Thanks for your question! As we noted in email, we do not currently support carriage returns in formulas. We apologize for any inconveniences this may cause for you and other users.
Hi Ron,
Thanks for your question! As we noted in email, we do not currently support carriage returns in formulas. We apologize for any inconveniences this may cause for you and other users.
That’s why I posted here to the Feature Request forum.
Hi Ron,
Thanks for doing so! I added a message to make it clear for other users that we do not currently offer this feature. Please feel free to let us know if you have any other requests or feedback!
Thanks,
Victoria
This would be a GREAT feature for me also. Thanks!
This would be a GREAT feature for me also. Thanks!
Yes, i would love this feature too!!!
Absolutely needed/required for CONCATENATE function.
Great feature to add!
yes please, I want this, too!
Here’s a way to use carriage returns with the CONCATENATE function:
Add a Long Text column to your table. I name it “CR” so that it is easy to recognize.
Click into the field, press return, and add the text “tCR]” (without the quotes) to the second line. Be sure to set the value for every row in the table. (You can “fill down” to do this.)
Add a Formula field that concatenates your fields, and place the CR field where you need it. Wrap the CONCATENATE function with the SUBSTITUTE() function, so that the “ CR]” value is replaced with an empty string. For example: SUBSTITUTE(CONCATENATE(Name, CR, {Street 1}, CR, {Street 2}, CR, City, ", ", State, " ", Zip), “tCR]”, “”)
In Airtable, the Formula field will appear to be “flat” (as if there are no carriage returns in it). However, if you copy and paste the field into another application, or if you export the table, you should see that the carriage returns are actually there.
Attached are a few screen shots that might help explain the technique. If you need me to clarify anything, let me know.
I hope this helps.
~ Tim
The “CR” field:
The Formula field:
Here’s a way to use carriage returns with the CONCATENATE function:
Add a Long Text column to your table. I name it “CR” so that it is easy to recognize.
Click into the field, press return, and add the text “tCR]” (without the quotes) to the second line. Be sure to set the value for every row in the table. (You can “fill down” to do this.)
Add a Formula field that concatenates your fields, and place the CR field where you need it. Wrap the CONCATENATE function with the SUBSTITUTE() function, so that the “ CR]” value is replaced with an empty string. For example: SUBSTITUTE(CONCATENATE(Name, CR, {Street 1}, CR, {Street 2}, CR, City, ", ", State, " ", Zip), “tCR]”, “”)
In Airtable, the Formula field will appear to be “flat” (as if there are no carriage returns in it). However, if you copy and paste the field into another application, or if you export the table, you should see that the carriage returns are actually there.
Attached are a few screen shots that might help explain the technique. If you need me to clarify anything, let me know.
I hope this helps.
~ Tim
The “CR” field:
The Formula field:
You can simply use “\n”. Like this:
CONCATENATE({Name}, “\n”, {Attachments})
It will work.
You can simply use “\n”. Like this:
CONCATENATE({Name}, “\n”, {Attachments})
It will work.
I tried this but, at least within the field display itself, I don’t see any carriage returns. Is this only for export?
I am using a formula like this:
CONCATENATE( Name,"\n",{Address 1},{Address 2},"\n",City)
Thanks,
@Daniel_Robbins Have you tried copying from the cell in the grid view? It worked for me.
I will show exactly the answer:
“Name
{Address 1}{Address 2}
City”
@Daniel_Robbins Have you tried copying from the cell in the grid view? It worked for me.
I will show exactly the answer:
“Name
{Address 1}{Address 2}
City”
Yes, I noticed that on paste the carriage returns are there. I wish they’d show up in the cell too…
Yes, I noticed that on paste the carriage returns are there. I wish they’d show up in the cell too…
They don’t show up because formula fields are treated as single line fields. I think we should be able to generate a formula for any kind of field we like.
@Daniel_Robbins Have you tried copying from the cell in the grid view? It worked for me.
I will show exactly the answer:
“Name
{Address 1}{Address 2}
City”
Any way to remove the quotes from the output? Can’t think of one myself…
Here’s a way to use carriage returns with the CONCATENATE function:
Add a Long Text column to your table. I name it “CR” so that it is easy to recognize.
Click into the field, press return, and add the text “tCR]” (without the quotes) to the second line. Be sure to set the value for every row in the table. (You can “fill down” to do this.)
Add a Formula field that concatenates your fields, and place the CR field where you need it. Wrap the CONCATENATE function with the SUBSTITUTE() function, so that the “ CR]” value is replaced with an empty string. For example: SUBSTITUTE(CONCATENATE(Name, CR, {Street 1}, CR, {Street 2}, CR, City, ", ", State, " ", Zip), “tCR]”, “”)
In Airtable, the Formula field will appear to be “flat” (as if there are no carriage returns in it). However, if you copy and paste the field into another application, or if you export the table, you should see that the carriage returns are actually there.
Attached are a few screen shots that might help explain the technique. If you need me to clarify anything, let me know.
I hope this helps.
~ Tim
The “CR” field:
The Formula field:
Thanks, that’s super helpful!
Hello all, I’m happy to report that the carriage returns display as expected if you increase row height.
Unfortunately though, the resulting copy block is still wrapped in quotes once copied and pasted. Has anyone worked out a way to omit those quotes?!
Hello all, I’m happy to report that the carriage returns display as expected if you increase row height.
Unfortunately though, the resulting copy block is still wrapped in quotes once copied and pasted. Has anyone worked out a way to omit those quotes?!
Nope — but here are a few additional points about them
Actually, you can bypass the quotes: If, instead of copying the entire cell, you mark-and-copy the cell contents, the resulting text is pasted without enclosing quotes, even if the copied text contains embedded commas or newlines. You truly do have to mark-and-copy — as in click and drag — as pressing Ctrl-A
marks the entire page, even if you have the expanded field open and selected. Obviously, not really a work-around, but may be useful if only occasionally needed.
The enclosing quotes are only obvious if you copy from Airtable and paste to another app; however, they are included in a paste to another Airtable cell, and they affect how the pasted data is interpreted:
@W_Vann_Hall This is a REALLY helpful explanation, thank you! A keyboard-only solution is ideal, but we’ll look at drag-and-drop.
@W_Vann_Hall This is a REALLY helpful explanation, thank you! A keyboard-only solution is ideal, but we’ll look at drag-and-drop.
I should clarify, as my original phrasing wasn’t clear: By mark-and-copy, I meant placing the cursor at the beginning of the desired text, depressing the mouse button, and, while continuing to hold it down, dragging the cursor to the end of the desired text. At that point press Ctrl-C
to copy, select the targeted app or field, and press Ctrl-V
to paste. Selecting the highlighted text, holding down the mouse button, ‘dragging’ the text to the desired target, and ‘dropping’ it in place may work, but I’ve not tested it. (I’m sure you understood, but I wanted to be sure not to mislead any potential readers who stumble across this exchange in the future who aren’t UI/UX legends. :winking_face: )
I should clarify, as my original phrasing wasn’t clear: By mark-and-copy, I meant placing the cursor at the beginning of the desired text, depressing the mouse button, and, while continuing to hold it down, dragging the cursor to the end of the desired text. At that point press Ctrl-C
to copy, select the targeted app or field, and press Ctrl-V
to paste. Selecting the highlighted text, holding down the mouse button, ‘dragging’ the text to the desired target, and ‘dropping’ it in place may work, but I’ve not tested it. (I’m sure you understood, but I wanted to be sure not to mislead any potential readers who stumble across this exchange in the future who aren’t UI/UX legends. :winking_face: )
Again, thanks for the clarification. I did misunderstand; shoulda tested my assumption before posting! This method works. Cheers.
Would love carriage returns allowed in the Concatenate function. Also want a concatenated field to display as a scrollable Long Text field not just a Single Line!
Any way to remove the quotes from the output? Can’t think of one myself…
Simply paste it in ‘notepad’ - Windows application. And, use the Find & Replace.
Steps:
I’m using this way. for the last 6-7 months.
Here’s a way to use carriage returns with the CONCATENATE function:
Add a Long Text column to your table. I name it “CR” so that it is easy to recognize.
Click into the field, press return, and add the text “tCR]” (without the quotes) to the second line. Be sure to set the value for every row in the table. (You can “fill down” to do this.)
Add a Formula field that concatenates your fields, and place the CR field where you need it. Wrap the CONCATENATE function with the SUBSTITUTE() function, so that the “ CR]” value is replaced with an empty string. For example: SUBSTITUTE(CONCATENATE(Name, CR, {Street 1}, CR, {Street 2}, CR, City, ", ", State, " ", Zip), “tCR]”, “”)
In Airtable, the Formula field will appear to be “flat” (as if there are no carriage returns in it). However, if you copy and paste the field into another application, or if you export the table, you should see that the carriage returns are actually there.
Attached are a few screen shots that might help explain the technique. If you need me to clarify anything, let me know.
I hope this helps.
~ Tim
The “CR” field:
The Formula field:
Works great! Thanks!
Very very awesome thanks for this!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.