Hi,
I'm trying to write an excel formula in VBA which gives me a unique count of a certain column. However, I'm getting an #N/A when I write it in VBA.
Any thoughts?
Here's the part that's giving the #N/A in the code:
Thanks!
I'm trying to write an excel formula in VBA which gives me a unique count of a certain column. However, I'm getting an #N/A when I write it in VBA.
Any thoughts?
Here's the part that's giving the #N/A in the code:
Code:
.Range("B" & NumberofRows + 4).Formula = "=SUM(IF(FREQUENCY(MATCH($B$3:$B$" & NumberofRows & ",$B$3:$B$" & NumberofRows & "),MATCH($B$3:$B$" & NumberofRows & ",$B$3:$B$" & NumberofRows & ",0))>0,1))"
Thanks!