Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8960275
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T15:37:40+00:00 2026-06-15T15:37:40+00:00

I have 3 spreadsheets that I want to import into Access but Im having

  • 0

I have 3 spreadsheets that I want to import into Access but I”m having a problem figuring it out. I’m not even sure it can be done the way I want to do it.

One Spreadsheet looks like this:

StoreNum, SKU_1, SKU_2, SKU_3, ..., SKU_1000  
1, 0, 100, 25, ..., 1  
2, 5, 250, 15, ..., 5  
3, 78, 25, 12, ..., 15

How can I import this so I have StoreNum, SKU, Qty?

The others are easy for me to understand

StoreNum, Address1, Address2, City, State, Zip  

and

Sku, Description, Notes, Size
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T15:37:41+00:00Added an answer on June 15, 2026 at 3:37 pm

    I think you want to store the spreadsheet data in Access like this …

    StoreNum  SKU Qty
           1    1   0
           1    2 100
           1    3  25
           1 1000   1
           2    1   5
    

    If that’s what you want, keep reading. If it’s not what you want, please clarify what you want.

    In Access, create a link to the Excel worksheet and name that link ExcelSource.

    Then create a SELECT query similar to this:

    SELECT
        StoreNum,
        1 AS SKU,
        SKU_1 AS Qty
    FROM ExcelSource
    UNION ALL
    SELECT
        StoreNum,
        2 AS SKU,
        SKU_2 AS Qty
    FROM ExcelSource
    UNION ALL
    SELECT
        StoreNum,
        3 AS SKU,
        SKU_3 AS Qty
    FROM ExcelSource
    UNION ALL
    SELECT
        StoreNum,
        1000 AS SKU,
        SKU_1000 AS Qty
    FROM ExcelSource;
    

    If the result set from that SELECT query gives you what you need, convert it to an “append query” to store those data in a table named YourTable. The SQL for that query will be the SELECT SQL preceded by an INSERT INTO ... section:

    INSERT INTO YourTable (StoreNum, SKU, Qty)
    SELECT
        StoreNum,
        1 AS SKU,
        SKU_1 AS Qty
    FROM ExcelSource
    UNION ALL
    SELECT
        StoreNum,
        2 AS SKU,
        SKU_2 AS Qty
    FROM ExcelSource
    UNION ALL
    SELECT
        StoreNum,
        3 AS SKU,
        SKU_3 AS Qty
    FROM ExcelSource
    UNION ALL
    SELECT
        StoreNum,
        1000 AS SKU,
        SKU_1000 AS Qty
    FROM ExcelSource;
    

    If your Excel worksheet includes 1000 SKU columns, create a series of smaller append queries, each of which uses a manageable subset of those 1000 columns.

    This could also be done with VBA code rather than a query. I don’t want to lead you through that option because I don’t even know if I’m on the right track here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have data from an Excel spreadsheet that I want to import into a
I have some data in CSV format that I want to pull into an
Ok here is my problem. I have a csv file that is created out
I have two spreadsheets that each give information about a bunch of applications running
I am building a website to capture data. I have many spreadsheets that are
I have an Excel spreadsheet that will sit out on a network share drive.
some of the questions i have read http://facebook.stackoverflow.com/questions/1927676/scraping-a-facebook-app-for-data http://facebook.stackoverflow.com/questions/2028940/access-to-facebook-data I want to create a
A colleague came to me with a problem that I managed to answer but
I have a file that I want it to be part of the repository
I'm aware that you can publish spreadsheets on Google docs and then import them

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.