Reconfiguring data

tigerzen

Board Regular
Joined
Mar 8, 2023
Messages
165
Office Version
  1. 365
Platform
  1. Windows
I have a list in the following format but require it in the desired format, looking for a formula method which can consist of a number of steps or Power Query solution. Please note, I will need an Excel 2019 solution.

Book10
ABCDEF
1AttendanceSurnameFirst name
2Conference 1SmithHarry
3Conference 1JonesCathy
4Conference 2SmithHarry
5Conference 2BrownTom
6Conference 2HendrixJim
7Conference 3JonesCathy
8Conference 3SmithPeter
9ExpoHendrixJim
10
11Desired format
12SurnameFirst nameConference 1Conference 2Conference 3Expo
13BrownTomYes
14HendrixJimYesYes
15JonesCathyYesYes
16SmithHarryYesYes
17SmithPeterYes
Sheet4
 
Thanks JB and Peter.
JB, I may need some more detail with your solution, do you mean add a conditional column?

Peter, the solution needs to accommodate an Excel 2019 user.
You would need to go to Add Column > Custom Column and use = "Yes" as the formula, so your data will look like this:

1694676698600.png


Afterwards, select the attendance column, then go to Transform>Pivot Column and choose the setting below

1694676663892.png


It should look like this afterwards:

1694676881797.png
 
Upvote 0

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
I haven't figured out how to add the XL2BB yet!!
Have you worked carefully through the instructions on the page linked in my signature block below?
I also suggest using the Test Here forum until you have it worked out rather than in an actual thread like this. If difficulties with XL2BB persist, also look for solutions in the About This Board forum and/or post specific questions about the Add-In in that forum.

I don't know if either is important to the OP but in relation to your suggested formulas.
  • The desired format in post #1 has the names listed alphabetically by surname and then first name and your column A:B formulas do not do that.
  • Your formula for columns C, D, E etc also do not produce an outcome in the stated desired format.
 
Upvote 0
Thanks to everyone who contributed!
Thanks JB for the visual additions, I was able to get the desired solution easily after seeing your extra post.
Thanks Glenn for your suggestion, I love what you can achieve with just 3 formulae, I do need the final solution to contain the YES's as per my opening post to easily track attendance.
Thanks again Peter for a clever, creative solution, I can follow your thinking and it does indeed provide the solution that I require.
 
Upvote 0
You're welcome. Glad we could help. Thanks for the follow-up. :)
 
Upvote 0

Forum statistics

Threads
1,215,094
Messages
6,123,071
Members
449,092
Latest member
ipruravindra

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