KolGuyXcel
Board Regular
- Joined
- Jun 29, 2018
- Messages
- 147
I'm pretty new to excel vba macro coding! So, not sure, if I'm putting my problem clearly enough!
I'm working on a data of thousands of rows and around a dozen columns. Please note there's no unique value column, i.e. even though each column contains a unique set of values, irrespective of the unique set of values appearing in other columns, all the columns have repetition of some or all the unique values appearing in the column. I'm focused right now only on the Columns B and C! I'm looking to create an array out of only the unique values in column B, which for the sake of brevity, let's call ColBArray. And for each unique array member in ColBArray a "sub-array" of the corresponding unique values in Column C! So, if there are 500 unique values in column B, this should create 500 sub-arrays, but only of the corresponding unique values from column C.
Also, note that I would need to call ColBArray from other subroutines. And once any member of ColBArray is called upon in the subroutine the corresponding "sub-array" of the unique column C values array should also initialized within that subroutine.
I'm working on a data of thousands of rows and around a dozen columns. Please note there's no unique value column, i.e. even though each column contains a unique set of values, irrespective of the unique set of values appearing in other columns, all the columns have repetition of some or all the unique values appearing in the column. I'm focused right now only on the Columns B and C! I'm looking to create an array out of only the unique values in column B, which for the sake of brevity, let's call ColBArray. And for each unique array member in ColBArray a "sub-array" of the corresponding unique values in Column C! So, if there are 500 unique values in column B, this should create 500 sub-arrays, but only of the corresponding unique values from column C.
Also, note that I would need to call ColBArray from other subroutines. And once any member of ColBArray is called upon in the subroutine the corresponding "sub-array" of the unique column C values array should also initialized within that subroutine.