Thread: Sorting data
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Rain Rain is offline
external usenet poster
 
Posts: 16
Default Sorting data

Hello!

I have data on a sheet in the form
Col1 Col2
X 1
X 1
X 1
Y 1
Y 1

Now, I want to change this to the format below using vba

col1 col2 col3 col4
X 1 Y 1
X 1 Y 1
X 1

Any easy way to do it?

regards,
rain