Pasting csv string into Calc

classic Classic list List threaded Threaded
3 messages Options
Vytas Janusauskas Vytas Janusauskas
Reply | Threaded
Open this post in threaded view
|

Pasting csv string into Calc

Hi,

I have results arriving by e-mail containing a series of lines with a
structure as shown below.

"Vytas", "[hidden email]", "Jock Wadley Award" ,"Freddy Someone", 
"dflghfsd"
"Vytas", "[hidden email]", "Beryl Burton Award" ,"Joan Someone", 
"dflghfsd"
...
...

I need to paste this into a spreadsheet into five different columns. 
Every paste method I tried has failed.  The best I can get is that
everything gets pasted into the first field.
What am I missing?

Thanks,

Vytas

--
To unsubscribe e-mail to: [hidden email]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy
steveedmonds steveedmonds
Reply | Threaded
Open this post in threaded view
|

Re: Pasting csv string into Calc

Hi.
I just pasted from this email into calc.
Copy to clipboard.
Paste Special > Unformatted text. The text import dialogue opened and I
set delimiter as comma.

All imported as you asked.
steve

On 12/11/2018 08:32, vytas wrote:

> Hi,
>
> I have results arriving by e-mail containing a series of lines with a
> structure as shown below.
>
> "Vytas", "[hidden email]", "Jock Wadley Award" ,"Freddy
> Someone",  "dflghfsd"
> "Vytas", "[hidden email]", "Beryl Burton Award" ,"Joan Someone", 
> "dflghfsd"
> ...
> ...
>
> I need to paste this into a spreadsheet into five different columns. 
> Every paste method I tried has failed.  The best I can get is that
> everything gets pasted into the first field.
> What am I missing?
>
> Thanks,
>
> Vytas
>


--
To unsubscribe e-mail to: [hidden email]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy
Brian Barker Brian Barker
Reply | Threaded
Open this post in threaded view
|

Re: Pasting csv string into Calc

In reply to this post by Vytas Janusauskas
At 14:32 11/11/2018 -0500, Vytas Janusauskas wrote:
>I have results arriving by e-mail containing a series of lines with
>a structure as shown below.
>"Vytas", "[hidden email]", "Jock Wadley Award" ,"Freddy
>Someone", "dflghfsd"
>"Vytas", "[hidden email]", "Beryl Burton Award" ,"Joan
>Someone", "dflghfsd"
>...
>I need to paste this into a spreadsheet into five different columns.
>Every paste method I tried has failed.

You probably owe it to anyone trying to help not to keep secret what
you have tried ...

>The best I can get is that everything gets pasted into the first
>field. What am I missing?

When you say "arriving by e-mail", do you mean in the text of a
message or as an attached text file? There are many ways to handle this.

o Paste the material using Paste Special instead of ordinary Paste,
selecting "Unformatted text" in the Paste Special dialogue (as
already suggested). In the Text Import window, tick Comma, Space, and
"Merge delimiters", and select double quote for "Text delimiter".

o Paste the material into a plain text file with the .csv extension,
or rename your existing attached file appropriately. Either open the
.csv file in LibreOffice or use Insert | Insert Sheet From File... .
Either way, select options in the Text Import window as above.

o Proceed as you already have, so that each row of data appears
unchanged in a single cell. Select the column of values and go to
Data | Text to Columns... . Select options in the Text to Columns
window as in the Text Import one above. Your values will be separated
and spread across five columns.

I trust this helps.

Brian Barker


--
To unsubscribe e-mail to: [hidden email]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy