Excel VBA/Pivot: Table shows data to right of category not below

How do I convert the data below using a pivot table. If this can not be done with a pivot, then what is the fastest VBA code that can do the same thing.

BEFORE

     A          B
Tommy    98
Tommy    90
Tommy    22
Larry        12
Larry        99
Billy          52
Joe            34
Joe            55
Joe            67
Joe            96


AFTER

Tommy   98   90   22
Larry       12   99
Billy         52
Joe           34   55   67   96
ouestqueAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Muhammad AayanCommented:
hi there, can you send your file plz
0
Muhammad AayanCommented:
Hello plz try the attached.
Book1.xlsx
0
ShumsDistinguished Expert - 2017Commented:
Hi there,

Please find attached, In VBA_Version Tab just click Expand Table button.

For Pivot Method you need to add helper column as you can check in Pivot_Version tab. Design Pivot without Grand Total, SubTotal and in Tabular Form.

Hope this is what you are looking for....
Ouestdque_MakeTable.xlsm
2

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Muhammad AayanCommented:
Hello Sir, i was about to put 3rd clum but i didnt bcoz he might need but i like that VB's Version perfect..

i have posted one question, is it possible if you can help me out in that plzzz

thx
0
ouestqueAuthor Commented:
Thank you so much everyone for your feedback!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Office

From novice to tech pro — start learning today.