Welcome to the Excel Forum

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.

Please Register to Remove these Ads

Please Register to Remove these Ads



Reply
  #1  
Old 02-05-2010, 04:16 PM
supraman3001 supraman3001 is offline
Registered User
 
Join Date: 20 May 2009
Location: Houston, Texas
MS Office Version:Excel 2007
Posts: 12
supraman3001 is becoming part of the community
Splitting a comma seperated value into multiple columns using SQL View

Please Register to Remove these Ads

I have a table that looks something like this:

Column1 Column2 Column3
John 12, 34, 5,498 Texas
Mike 16, 8, 69, 54 New York
Robert 104, 42, 110 Mexico
Josh 25 Maine


I am trying to seperate the values in Column2 into multiple columns that hold single values so that for instance the first row's Column2 holds each value in a different Column:
Column1 Column2 Column3 Column4
12 34 5 498

Basically I am trying to normalize the data and without doing this, I cannot move forward. I would really appreciate if someone can help me solve this using some sort of SQL Query in Access's SQL View.

Thanks in advance!
Reply With Quote
  #2  
Old 02-08-2010, 05:25 PM
surfengine surfengine is offline
Registered User
 
Join Date: 09 Nov 2006
Posts: 43
surfengine is becoming part of the community
Re: Splitting a comma seperated value into multiple columns using SQL View

how are you importing the data into the table? What is the data source?
Reply With Quote


Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump