Pregunta

I can't get this vba coding to work, please help:

Range("C1").Formula ="=Countifs(B2:B10,>&A1)"

I want to count cells with value greater than A1 in range B2:B10.

Thanks.

¿Fue útil?

Solución

Try this one:

Range("C1").Formula = "=COUNTIF(B2:B10,"">"" & A1)"
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top