Hi! I just can't figure this one out so hope someone here can help!
This straightforward formula works fine:
=COUNTIF( INDIRECT( "Z" & L10 & ":Z" &M10),"=1")
I want to replace the "Z" part with this formula that automatically finds the column - SUBSTITUTE(ADDRESS(1,COLUMN(),4),"1","")
So shouldn't it look like this?
=COUNTIF( INDIRECT( SUBSTITUTE(ADDRESS(1,COLUMN(),4),"1","") & L10 & :SUBSTITUTE(ADDRESS(1,COLUMN(),4),"1","") &M10),"=1")
But I keep getting errors - am I missing a "" or ) somewhere?
Thanks!
This straightforward formula works fine:
=COUNTIF( INDIRECT( "Z" & L10 & ":Z" &M10),"=1")
I want to replace the "Z" part with this formula that automatically finds the column - SUBSTITUTE(ADDRESS(1,COLUMN(),4),"1","")
So shouldn't it look like this?
=COUNTIF( INDIRECT( SUBSTITUTE(ADDRESS(1,COLUMN(),4),"1","") & L10 & :SUBSTITUTE(ADDRESS(1,COLUMN(),4),"1","") &M10),"=1")
But I keep getting errors - am I missing a "" or ) somewhere?
Thanks!