Break up a cell....

mrpwagner

New Member
Joined
Jul 17, 2016
Messages
22
I am working on a bibliography. (EndNote) I am converting it to excel. The Author cell looks like this:

Akil, Ali, Ziegeler, Stephan, Reichelt, Jan, Semik, Michael, Müller, Marcus Christian and Fischer, Stefan

Several questions:

  1. How do I break up the authors and get rid of the and?
  2. How can I then covert this to an access database?


I have 500 references.....

Thanks in advance for your advice!!!



<tbody>
</tbody>
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
What do you want the output to look like?? Are you open to using VBA or formulas only?
 
Upvote 0
Easily achieved by loading the file to Power Query and applying the following Mcode

Code:
let
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"Column1", type text}}),
    #"Split Column by Delimiter" = Table.SplitColumn(#"Changed Type", "Column1", Splitter.SplitTextByDelimiter(", ", QuoteStyle.Csv), {"Column1.1", "Column1.2", "Column1.3", "Column1.4", "Column1.5", "Column1.6", "Column1.7", "Column1.8", "Column1.9", "Column1.10", "Column1.11"}),
    #"Split Column by Delimiter1" = Table.SplitColumn(#"Split Column by Delimiter", "Column1.10", Splitter.SplitTextByDelimiter(" and ", QuoteStyle.Csv), {"Column1.10.1", "Column1.10.2"})
in
    #"Split Column by Delimiter1"

Once loaded back into Excel, you can then link the table to an Access Data Base

If you are unfamiliar with Power Query then, Power Query-How to use Mcode
 
Upvote 0
or
Column1
Akil, Ali, Ziegeler, Stephan, Reichelt, Jan, Semik, Michael, Müller, Marcus Christian and Fischer, Stefan

Column1.1Column1.2Column1.3Column1.4Column1.5Column1.6Column1.7Column1.8Column1.9Column1.10Column1.11Column1.12Column1.13
AkilAliZiegelerStephanReicheltJanSemikMichaelMüllerMarcusChristianFischerStefan

// Table1
Code:
[SIZE=1]let
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    Split = Table.SplitColumn(Source, "Column1", Splitter.SplitTextByAnyDelimiter({", " ," and "," "}, QuoteStyle.Csv))
in
    Split[/SIZE]
the rest as above ;)

you didn't show expected result (each name separately or first name and last name together)
 
Last edited:
Upvote 0
or
Column1
Akil, Ali, Ziegeler, Stephan, Reichelt, Jan, Semik, Michael, Müller, Marcus Christian and Fischer, Stefan

<tbody>
</tbody>


Column1.1Column1.2Column1.3Column1.4Column1.5Column1.6Column1.7Column1.8Column1.9Column1.10Column1.11Column1.12Column1.13
AkilAliZiegelerStephanReicheltJanSemikMichaelMüllerMarcusChristianFischerStefan

<tbody>
</tbody>


// Table1
Code:
[SIZE=1]let
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    Split = Table.SplitColumn(Source, "Column1", Splitter.SplitTextByAnyDelimiter({", " ," and "," "}, QuoteStyle.Csv))
in
    Split[/SIZE]
the rest as above ;)

you didn't show expected result (each name separately or first name and last name together)



Thanks!!
 
Upvote 0
Simply highlight the cells Then on the Data tab, select Text to Columns >>Delimited>>check the space checkbox and uncheck any others>>Finish

Delete the "and" column !!
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,560
Messages
6,125,527
Members
449,236
Latest member
Afua

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