I have an Array (arr3) as follows:
ReDim arr3(0 To c)
For i = LBound(arr3) To UBound(arr3)
arr3(i) = ws1.Cells(i + 4, 19) - ws1.Cells(i + 4, 13)
Next i
I want to create another Array (also (0 To c) where each value (i) is conditional on value (i) in Array 3.
Assuming arr3 was in cells W5:W201 and Array 4 was going to col X then in X5 the formula would be "=IF(W5>=0,COUNTIFS($W$5:$W$201,">="&0,$W$5:$W$201,">="&W5),"")"
However I don't want the value in the sheet, just stored as an Array.
Thanks,
ReDim arr3(0 To c)
For i = LBound(arr3) To UBound(arr3)
arr3(i) = ws1.Cells(i + 4, 19) - ws1.Cells(i + 4, 13)
Next i
I want to create another Array (also (0 To c) where each value (i) is conditional on value (i) in Array 3.
Assuming arr3 was in cells W5:W201 and Array 4 was going to col X then in X5 the formula would be "=IF(W5>=0,COUNTIFS($W$5:$W$201,">="&0,$W$5:$W$201,">="&W5),"")"
However I don't want the value in the sheet, just stored as an Array.
Thanks,