to join columns

sprbc

New Member
Joined
May 9, 2016
Messages
5
Hello everybody,

I have a table with 9 columns and 4 rows as I show on the following picture.

x259ab.jpg


I would like a query to join the columns with the same field as I show on the following picture.

104exkn.jpg


I have windows 7 and access 2013

Thank you so much.
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Try
Code:
Select [Item 1] As Item, [Price 1] As Price, [Units 1] As Units FROM tblYourTable
UNION ALL
Select [Item 2], [Price 2], [Units 2] FROM tblYourTable
UNION ALL
Select [Item 3], [Price 3], [Units 3] FROM tblYourTable;
If you really have spaces in your field names, and you really have your data laid out that way, you've made 2 serious design errors at least.
 
Last edited:
Upvote 0
Upvote 0

Forum statistics

Threads
1,221,788
Messages
6,161,963
Members
451,734
Latest member
Adapt375

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top