Hi all,
I'm working with arrays (as a learning tool so far they're awesome) but i'm having a couple of problems which I'm struggling to solve.
assuming my array is defined as Arr = (N, 34) where N is a fluctuating number of rows how would I populate (N, 34 ) with the results of the vlookup where my lookup reference is (N, 2) and my lookup array is a range("A:B") on a worksheet("Sheet1").
I tried:
But this through up a runtime error 1004 unable to get the VLookup property of the worksheetfunction class?
my second issue which i think isn't possible but I thought I'd ask anyhow is is it possible to perform "COUNTIFS" within the array (and potentially write this result to an element within a second array) rather than what i'm doing at the moment which is the array back to a worksheet and doing the calculation there rather than within the array.
Bookmarks