Solved

macro to Merge Duplicate cells in a column excel

Posted on 2010-11-29
2
606 Views
Last Modified: 2012-05-10
Hello Guys,

I've got an excel sheet which looks like this

Device                        Interface monitored
cisco                              eth0
cisco                              eth1
nokia                        eth0
juniper                        e2
bluecat                        e4
bluecat                        e6
bluecat                        e8
bluecat                        Ethernet-Mgmt
bluecat                        Serial-Mgmt
AS24                        FastEthernet0/48 · AS01
AS25                        FastEthernet0/1 - CoreSwitch2
AS25                        GigabitEthernet0/1 · GBX01-6509-1
AS25                        GigabitEthernet0/2 · GBX01-6509-2

I want the output to be

Device                        Interface monitored
cis                              eth0
co                              eth1
nokia                        eth0
juniper                        e2
bl                              e4                  
ue                              e6                  
c                              e8            
a                              Ethernet-Mgmt
t                              Serial-Mgmt
AS24                        FastEthernet0/48 · AS01
A                                FastEthernet0/1 - CoreSwitch2
S                              GigabitEthernet0/1 · GBX01-6509-1
25                              GigabitEthernet0/2 · GBX01-6509-2


PLEASE NOTE: I only cut the device name down to show that its merged, I dont want the name to be cut down like this in anyway, I just want duplicate names merged with the interfaces intact

I use excel 2007

Thanks

points go to the macro which could do this perfectly

Oh yeah, I already know that merging cells is evil, but I still want it this way. Thanks
0
Comment
Question by:heiba
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 

Accepted Solution

by:
heiba earned 0 total points
ID: 34231132
0
 

Author Closing Comment

by:heiba
ID: 34231136
Found what I'm looking for and applied it
0

Featured Post

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question