Get unique values from an multidimensional array : Can anyone give me VBA code to help me with the following problem ?:


I have this array called "data" with some repeated values in the columns:
 
**INPUT**

data()= 

  {

       0,0,0,a,b,a,c,b,c,d,0,0

       0,0,0,1,2,1,9,2,9,4,0,0
       
       0,0,0,r,g,r,w,g,t,w,0,0

}




I want to populate an multidimensional "arr()" with the information of the non repeated values of the "data()" array. 

And also: not considering zero values and it does matter which value you will choose from the repeated ones (since the columns are equal)

**OUTPUT**

arr()=
 {

       a,b,c,d

       1,2,9,4
       
       r,g,w,w

}



