I have just recently discovered HSTACK and VSTACK.
Are they essentially a substitution for wherever a function has a "range" argument?
It seems to be "MOSTLY" so!
For instance, this is working here for SUM, AVERAGE
=AVERAGE(VSTACK([@SiEv2B],[@SiEv3],[@SiEv13],[@SiEv14],[@SiEv15],[@SiEv16],[@SiEv18B],[@[SiEv19B.b]],[@SiEv20b],[@[SiEv21.b]],[@SiEv22],[@SiEv23]))
=SUM(VSTACK([@SiEv2B],[@SiEv3],[@SiEv13],[@SiEv14],[@SiEv15],[@SiEv16],[@SiEv18B],[@[SiEv19B.b]],[@SiEv20b],[@[SiEv21.b]],[@SiEv22],[@SiEv23]))
It does not work for COUNTIF. For COUNTIF, Excel will not even let me enter the formula, it just gives you the generic error message "Are you trying to type a formula, start with a = sign..."
=COUNTIF(VSTACK([@SiEv2B],[@SiEv3],[@SiEv13],[@SiEv14],[@SiEv15],[@SiEv16],[@SiEv18B],[@[SiEv19B.b]],[@SiEv20b],[@[SiEv21.b]],[@SiEv22],[@SiEv23]),0)
Thanks if you can clarify this for me, or an idea of how to use COUNTIF with a non-contiguous range.
Are they essentially a substitution for wherever a function has a "range" argument?
It seems to be "MOSTLY" so!
For instance, this is working here for SUM, AVERAGE
=AVERAGE(VSTACK([@SiEv2B],[@SiEv3],[@SiEv13],[@SiEv14],[@SiEv15],[@SiEv16],[@SiEv18B],[@[SiEv19B.b]],[@SiEv20b],[@[SiEv21.b]],[@SiEv22],[@SiEv23]))
=SUM(VSTACK([@SiEv2B],[@SiEv3],[@SiEv13],[@SiEv14],[@SiEv15],[@SiEv16],[@SiEv18B],[@[SiEv19B.b]],[@SiEv20b],[@[SiEv21.b]],[@SiEv22],[@SiEv23]))
It does not work for COUNTIF. For COUNTIF, Excel will not even let me enter the formula, it just gives you the generic error message "Are you trying to type a formula, start with a = sign..."
=COUNTIF(VSTACK([@SiEv2B],[@SiEv3],[@SiEv13],[@SiEv14],[@SiEv15],[@SiEv16],[@SiEv18B],[@[SiEv19B.b]],[@SiEv20b],[@[SiEv21.b]],[@SiEv22],[@SiEv23]),0)
Thanks if you can clarify this for me, or an idea of how to use COUNTIF with a non-contiguous range.