Scott Cooper
New Member
Hi All,
I've been experimenting with VBA Arrays as both a learning exercise and to speed up some of my reporting which due to the volume of data and complexity of formula can take a very long time to update.
I am however a little stuck and would appreciate some help and pointers. In the attached example workbook the range A:AH in sheet1 would form Array1 and the range AJ:AN would form a second array.
What I am looking to do is populate the second array with countifs of the first array (without doing what i'm currently doing which is write the array back to a worksheet and then use a formula.) I've put the an example of the worksheetfunction in range AK that I am trying to replicate within the VBA Array.
I Hope this makes sense and look forward to your help
I've been experimenting with VBA Arrays as both a learning exercise and to speed up some of my reporting which due to the volume of data and complexity of formula can take a very long time to update.
I am however a little stuck and would appreciate some help and pointers. In the attached example workbook the range A:AH in sheet1 would form Array1 and the range AJ:AN would form a second array.
What I am looking to do is populate the second array with countifs of the first array (without doing what i'm currently doing which is write the array back to a worksheet and then use a formula.) I've put the an example of the worksheetfunction in range AK that I am trying to replicate within the VBA Array.
I Hope this makes sense and look forward to your help