• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Multiple Rows in Single Row with Columns Pre-defined [SOLVED]

jkrebs8

New Member
Hi Gurus,


I need to perform a function similar to this previously posted topic, but with a slight twist. I've pasted the link below and am repeating the pertinent content. There is a great solution file posted with the below link that can be used if needed to further understand.


http://chandoo.org/forums/topic/multiple-rows-in-single-row


Please note I am not a guru, but intermediate formula and macro novice (aka, not VBA savvy).


Issue:


In my example, I have a large list with multiple rows of data applicable to the same StuName (or can use StuNu. if easier) and the individual courses for the student listed in separate rows within the same column (Course)


Present format of sheet

[pre]
Code:
stuNo. || Stu Name || Course
1      || Sachin T ||  XL
1      || Sachin T ||  WD
2      || Yuvi     ||  XL
2      || Yuvi     ||  PPT
Need:


I would like to convert this into a single row for each student where the courses are then entered into the correct pre-defined column.  If a particular course is not being taken by the student, the column should be blank.


Required format

StuNo. || Stu Name || CourseXL || CourseWD || CoursePPT
1      || Sachin T ||  XL      ||  WD      ||
2      || Yuvi     ||  XL      ||          ||  PPT
[/pre]
I appreciate any and all help and education with this!
 
Hi, jkrebs8!


First of all welcome to Chandoo's website Excel forums. Thank you for your joining us and glad to have you here.


As a starting point I'd recommend you to read the green sticky topics at this forums main page. There you'll find general guidelines about how this site and community operates (introducing yourself, posting files, netiquette rules, and so on).


Among them you're prompted to perform searches within this site before posting, because maybe your question had been answered yet.


Feel free to play with different keywords so as to be led thru a wide variety of articles and posts, and if you don't find anything that solves your problem or guides you towards a solution, you'll always be welcome back here. Tell us what you've done, consider uploading a sample file as recommended, and somebody surely will read your post and help you.


And about questions in general...


If you haven't performed yet the search herein, try going to the topmost right zone of this page (Custom Search), type the keywords used in Tags field when creating the topic or other proper words and press Search button. You'd retrieve many links from this website, like the following one(s) -if any posted below-, maybe you find useful information and even the solution. If not please advise so as people who read it could get back to you as soon as possible.


And about this question in particular...


This is a very similar topic, does it help?

http://chandoo.org/forums/topic/add-texts-of-one-or-more-rows-in-to-one-rows-satisfies-a-specified-condition


Regards!
 
Hi Excel Ninja and thanks for the welcome!


I saw that solution and it concatenates the data into a single column, so not quite the solution I was looking for. The closest I found was the one I posted as similar.


I've been looking across many sites as well as Chandoo for a few months and finally decided I should just post to see if someone can help me solve. It seems realistic, I'm just having trouble trying to build it on my own as it will likely take formulas I'm not familiar with.
 
Hi, jkrebs8!

Then it should be similar to this one:

http://chandoo.org/forums/topic/how-to-extract-text-list-from-data-table

Start giving a look at it while I try to adapt and post it here.

Regards!
 
Hi, jkrebs8!

Give a look at this file:

https://dl.dropboxusercontent.com/u/60558749/Multiple%20Rows%20in%20Single%20Row%20with%20Columns%20Pre-defined%20%28for%20jkrebs8%20at%20chandoo.org%29.xlsx

Regards!
 
WOW - bowing to the Ninja. I should have asked this months ago. You've delivered what I can't get a team who uses an Analytics Tool and SQL to deliver. Thank You!!!
 
Hi, jkrebs8!

Glad you solved it. Thanks for your feedback and for your kind words too. And welcome back whenever needed or wanted.

Regards!

PS: Sorry to say but you either have the wrong team (why not fire them and hiring me?) or the team has the wrong boss...
 
Back
Top