I`m trying to move a formula that I already have working in Excel into VBA. I am trying to add the unique instances of numbers in column E together. The Excel formula is as follows:
=SUM(IF(FREQUENCY(E:E,E:E)>0,1))
I have tried playing around with the worksheetfunction but can`t seem to get it to work correctly. Can someone help me with this? Thank you in advance for trying.
=SUM(IF(FREQUENCY(E:E,E:E)>0,1))
I have tried playing around with the worksheetfunction but can`t seem to get it to work correctly. Can someone help me with this? Thank you in advance for trying.
Last edited: