troubleshooting Question

transpose multiple records into one

Avatar of LBarrett
LBarrett asked on
Microsoft Access
9 Comments1 Solution1130 ViewsLast Modified:
Hi Experts,

I have a data table that looks like this:

MINumber      PL      Calc      Percent
Prod1                B      $16.69      5
Prod1                 K      $14.06      20
Prod1                L      $13.35      24
Prod1                 P      $12.30      30

Prod2             B      $18.69      5
Prod2               K      $16.06      20
Prod2             L      $19.35      28
Prod2                  P      $15.30      32


I would like it to look like this(the headers don't matter I can create the table with the headers I need, I just need to be able to insert the above records to become the records below).  Also this is not something that will only be done once.  The query that created the table below will be run every week so "use Excel to transpose" won't work here.

MINumber   PL1  Calc1      Percent    PL2       Calc2      Percent       PL3      Calc3      Percent       PL4   Calc      Percent
Prod1          B     $16.69   5                K       $14.06      20                 L        $13.35      24                P     $12.30   30
Prod2          B     $18.69   5                K       $16.06      20                 L        $19.35      28                P     $15.30   32

Any help would be appreciated!


ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 9 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros