How can I do a consolidated flip for repeating data?

javifais

New Member
Joined
Dec 14, 2015
Messages
28
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Good afternoon,
I have an excel sheet that lists user names in one column and their access level in another column. I would like to flip the data such that the access level becomes a heading and user names become a value below it.
Original data
User AAccess level 1
User BAccess level 2
User AAccess level 2
User BAccess Level 3
Here is what I am trying to get
Access level 1Access level 2Access level 3
User AUser AUser B
User B
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

Also are you looking for a formula or VBA solution?
 
Upvote 0
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

Also are you looking for a formula or VBA solution?
Thank you for your feedback. I have updated my user profile to show office 365, windows and power query. Hopefully, it shows. I am OK with VBA or formula.
 
Upvote 0
Thanks for that.
How about
+Fluff 1.xlsm
ABCDEF
1UserAccessAccess level 1Access level 2Access Level 3
2User AAccess level 1User AUser AUser B
3User BAccess level 2User B
4User AAccess level 2
5User BAccess Level 3
6
Data
Cell Formulas
RangeFormula
D1:F1D1=TRANSPOSE(UNIQUE(FILTER(B2:B100,B2:B100<>"")))
D2,F2,E2:E3D2=SORT(FILTER($A$2:$A$100,$B$2:$B$100=D1))
Dynamic array formulas.
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,738
Messages
6,174,209
Members
452,551
Latest member
croud

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