Synchronizing values in columns

this is an Excel Question.

Column A      Column B     Column C     Column D    Column E
1314579        1314579       Alpha            xx                yy
1314579        1314579       Beta             xx                yy
1314579        1314579       Gama           xx                yy
1314579        1314579       Delta            xx                yy
1314577        1314577       Alpha            xx                yy
1314577        1314577       Beta             xx                yy
1314566        1314566       Camp           xx                yy
1314588        1314588       Alpha           xx                yy
1314588        1314588      Beta             xx                yy
1314588        1314588      Gama           xx                yy

---##############################
Upon the push of a button, on the excel sheet, arrange the above as follows

10 rows get reduces to 4 rows like below.

Column A      Column B     Column C                               Column D    Column E
1314579        1314579       Alpha/Beta/Gama/Delta            xx                yy
1314577        1314577       Alpha/Beta                                xx                yy
1314566        1314566       Camp                                        xx                yy
1314588        1314588       Alpha/Beta/Gama                     xx                yy
Kamal AgnihotriAsked:
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.

Martin LissOlder than dirtCommented:
Try this. It assumes that the data starts in row 1. If not then change the FIRST_ROW constant that you'll find in the macro.
29093209.xlsm
0
Kamal AgnihotriAuthor Commented:
Martin, Thanks. That worked.
0
Martin LissOlder than dirtCommented:
That's good. Please don't forget to close the question.
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Kamal AgnihotriAuthor Commented:
Martin, Just a small change. Put the result in sheet 2 and keep the sheet 1 as is. I mean, when we press the "consolidate" button in sheet 1, the result should shows up in Sheet 2 keeping the original in sheet 1.
0
Martin LissOlder than dirtCommented:
OK. I also made it so that column "C" on sheet2 will be just wide enough to show all the data.
29093209a.xlsm
0

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
Kamal AgnihotriAuthor Commented:
Very helpful. I will close the question. Thanks Martin.
0
Martin LissOlder than dirtCommented:
You’re welcome and I’m glad I was able to help.

If you expand the “Full Biography” section of my profile you’ll find links to some articles I’ve written that may interest you.

Marty - Microsoft MVP 2009 to 2017
              Experts Exchange Most Valuable Expert (MVE) 2015, 2017
              Experts Exchange Top Expert Visual Basic Classic 2012 to 2017
              Experts Exchange Top Expert VBA (current)
0
Kamal AgnihotriAuthor Commented:
Hi Martin, You are indeed a very learned person. I am delving to VBA for Applications in support of Excel and Access. Can you suggest a good book on VBA which has examples and code that can be downloaded instead of typing it.

Thanks.

Kamal
0
Martin LissOlder than dirtCommented:
I don't have any actual advice about that since I'm basically a self-taught programmer and the last language I learned from a book was BASIC back in the 70's. It was in pre-web dark-ages days so it was an actual book:) I do know however that if you search for VBA tutorial that you'll get a lot of hits. If you run into things you don't understand I'll be happy to answer a couple of questions here and/or you can ask new questions and a lot of us will be happy to help.
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.