+ Reply to Thread
Results 1 to 6 of 6

Data Parse / Reference Look for SQL

  1. #1
    Registered User
    Join Date
    11-03-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    3

    Data Parse / Reference Look for SQL

    I will see if I can articulate my challenge. I have a large spreadsheet of data that I need to import into an SQL Database. What the problem starts is I had one column of data that contained many reference values. I will try to give an example

    Col Col2 Col3 Col4
    Row 1 Mr. Smith Red Blue Yellow
    Row 2 Mr. Jones Green Red Blue

    In SQL I have a "Customer" table which will be the Column1 the customer name and I need to import Col2, Col3, Col4 into a "Lookup Table - Color". With the row number acting as the primary key (PK) for customer

    I thought I could somehow tranpose the columns into a new sheet going down with a column for color and one for customer id

    Any thoughts on how to approach this problem?

    Cheers,

    Todd

  2. #2
    Valued Forum Contributor
    Join Date
    09-25-2011
    Location
    Eastbourne, England
    MS-Off Ver
    Excel 2010
    Posts
    1,089

    Re: Data Parse / Reference Look for SQL

    Hi todd

    Welcome to the forum.

    I'm not sure what you are wanting. Is it
    Mr Smith Red
    Mr Smith Blue
    Mr Smith Yellow
    Mr Jones Green

    or something else?

    Regards
    Alastair

  3. #3
    Registered User
    Join Date
    11-03-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Data Parse / Reference Look for SQL

    Yes that is exactly what I am looking to do...Thoughts? Can I hire you to transform some data?

    Todd

  4. #4
    Valued Forum Contributor
    Join Date
    09-25-2011
    Location
    Eastbourne, England
    MS-Off Ver
    Excel 2010
    Posts
    1,089

    Re: Data Parse / Reference Look for SQL

    Hi Todd

    What is the size of your data? Rows and columns?

    Regards
    Alastair

  5. #5
    Registered User
    Join Date
    11-03-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Data Parse / Reference Look for SQL

    Rows is about 33k, columns is tricky there are about 90 columns total quite a few seem empty. Though I can pull out the key columns that need to be related to a few sheets with 33K rows and just the two columns (example customer name, color)

  6. #6
    Valued Forum Contributor
    Join Date
    09-25-2011
    Location
    Eastbourne, England
    MS-Off Ver
    Excel 2010
    Posts
    1,089

    Re: Data Parse / Reference Look for SQL

    PM sent

    Alastair

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Using VBA to parse data...need to click through links, gather data and come back
    By jamesdvance in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-20-2013, 09:15 PM
  2. parse data using VBA
    By twanbiz in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-22-2012, 10:27 AM
  3. Parse Data
    By chadwellp in forum Excel General
    Replies: 6
    Last Post: 02-13-2010, 01:45 AM
  4. No Data To Parse
    By dvent in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-22-2009, 02:04 PM
  5. [SOLVED] RE: How to parse data
    By Dave F in forum Excel General
    Replies: 0
    Last Post: 08-17-2006, 02:35 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1