View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Josh Craig Josh Craig is offline
external usenet poster
 
Posts: 40
Default Use a macro to merge cells in a column that are the same

Hi,

I posted earlier today but I have another related question. I have data
like this:

column A: column b:
red 1
red 2
red 4
blue 12
blue 7
green 9

I need a macro to merge the cells in column A where they have the same value
so instead i would get:

column A: column b:
red 1
2
4
blue 12
7
green 9

Any ideas?