Separate sentences in Google Sheets

Thms_dbs

New Member
Joined
Jul 29, 2024
Messages
5
Office Version
  1. Prefer Not To Say
Platform
  1. Windows
Hello, my question is how to seperate a sentence that includes many commas for example
item1,item2,item3

what i want to do is they should look like item1 but in the same cell like in A1
item2
item3
in the picture the first line that includes item come from API but it comes in as 1 sentence and i need them like in the second cell which i made to explain
 

Attachments

  • Screenshot 2024-07-26 085450.png
    Screenshot 2024-07-26 085450.png
    11 KB · Views: 10

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Welcome to the Forum!

Try: =SUBSTITUTE(A1,",",","&CHAR(10))

(with the cell formatted to wrap text)
 
Upvote 0
Perhaps you normally use semicolons to separate arguments in Excel?

Excel Formula:
=SUBSTITUTE(A1;",";","&CHAR(10))
 
Upvote 1
Solution
Perhaps you normally use semicolons to separate arguments in Excel?

Excel Formula:
=SUBSTITUTE(A1;",";","&CHAR(10))
yea i am using google sheets and this one works so is it possible to integrate this to whole column at ones i mean if i click just A it just chooses A1
 
Upvote 0
1) Select the range and Ctrl + H (Find and Replace)
2) Enter a comma , in [Find what]
3) In [Replace with], enter a comma , and Ctrl + 0010 (0010 MUST be entered from Number pad, not from the top of the keyboard)
4) click on [Replace All]

Does this help?

PS;
Not sure if this works for Google Sheets.
 
Upvote 0
1) Select the range and Ctrl + H (Find and Replace)
2) Enter a comma , in [Find what]
3) In [Replace with], enter a comma , and Ctrl + 0010 (0010 MUST be entered from Number pad, not from the top of the keyboard)
4) click on [Replace All]

Does this help?

PS;
Not sure if this works for Google Sheets.
(and Ctrl + 0010) this part not showing anything maybe because of google sheets
 
Upvote 0
It is a code for Carriage Return, so not visible.

From web

You can also quickly identify line breaks with the Find and Replace tool in Google Docs. To do this, navigate to Edit > Find and Replace and tick the Use regular expressions checkbox. To find hard returns, you'll need to search for the syntax reference \n;
 
Upvote 0
It is a code for Carriage Return, so not visible.

From web

You can also quickly identify line breaks with the Find and Replace tool in Google Docs. To do this, navigate to Edit > Find and Replace and tick the Use regular expressions checkbox. To find hard returns, you'll need to search for the syntax reference \n;
still didnt work, do you know how can i apply a format to all cells ?
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,187
Members
452,616
Latest member
intern444

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top