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 6252555
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T13:49:34+00:00 2026-05-24T13:49:34+00:00

Here is a bit of background just in case there is a different/better way

  • 0

Here is a bit of background just in case there is a different/better way of solving my problem.

I have a query that I’ve exported from Access to a spreadsheet. The exported data was a pivot query export which I passed it off to another worker who has updated the table and passed it back to me. Also, the underlying data is actually a linked table from SQL 2005. I’m mentioning that because I’m not afraid to us SQL Server to update this data, but since the export originated from Access, I assumed it would be best to update it from their.

This is the basics of what the table data and export was structured like: I

Data Table
==========
PK_1      PK_2      VALUE
------------------------------
G1        SG1       .33
G1        SG2       .44
...
G2        SG1       .33
G2        SG2       .44
...
G3        SG1       .33
G3        SG2       .44
...

..and this is what the exported data looked like in Excel.

Pivot Data Exported to Excel
============================

          G1        G2       ...
SG1       .33       .33      ...
SG2       .44       .44      ...
SG3       .55       .55      ...
...       ...       ...      ...

My question is how can I unpivot the updated spreadsheet data into my data table that needs to be updated? Is there an unpivot operation in Access, possibly as part of an importation process?

  • 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-05-24T13:49:36+00:00Added an answer on May 24, 2026 at 1:49 pm

    MS Access does not have an UNPIVOT but you can do this via multiple UNION queries

    http://www.access-programmers.co.uk/forums/showthread.php?t=204468

    How to convert fields into rows through SQL in MS Access 2007 or MS SQL Server 2005

    here is an example with your data:

    SELECT PK_2, "G1" as "PK_1", G1 as [Value]
    FROM Table
    UNION
    SELECT PK_2, "G2" as "PK_1", G2 as [Value]
    FROM Table
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm rusty a bit here. I have a vector (camDirectionX, camDirectionY, camDirectionZ) that represents
This is a bit esoteric, but there have to be a few people here
Ok, little bit of background here. I have a large scale web application (MVC3)
Here's a bit of an abstract question. Would it be appropriate to say that
Bit confused here, I have an on-demand instance but do I get charged even
Have a bit of confusion here. I added a few objects from a class
Little bit of background, I'm more experienced with Java, and have some C/C++ experience.
Hi there I need a bit of help. Here is the existing preg_match code:
Just for a short bit of background, the reason I'm tracking this particular subversion
I have a bit of a mess of a file system here at work,

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.