crosstab/pivot table result without using the function

travelpwr

New Member
Joined
Oct 21, 2008
Messages
5
Hello - I was wondering if you can help me format the result that I want. I tried crosstab query but it required an assigned value. I also tried exporting query into excel and created a pivot table, that also required a value in the data area. Is there a way for me to get the result (below) either by creating a query from a query, or format my query using the criteria:

From my current query:
ID Name Payment
123 john cash
123 john credit card
123 john online
456 violet credit card
678 anne cash
678 anne s. online
890 peter cash

The result I'd like to see (I know I'll have to update my Name column if it's the same data, ie "anne"):
ID Name Payment1 payment2 payment3
123 john cash credit card online
456 violet credit card
678 anne cash online
890 peter cash

Thanks for your help!
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

Forum statistics

Threads
1,215,327
Messages
6,124,294
Members
449,149
Latest member
mwdbActuary

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