Variable reference in countif

  • Thread starter Thread starter Libby
  • Start date Start date
L

Libby

Hi there,

A1 contains a formula which gives a number, eg 127
How do I think incorporate this into a countif, eg
=countif( E6:E value in A1,"apples")

Many thanks.
 
Another one:

=COUNTIF(E6:INDEX(E:E,A1),"apples")

If A1 is empty the entire range, E:E, will be calculated.
 
Back
Top