Re: Using a value from a cell inside a formula
Quote from NBVC;773024
Try:
=COUNTIF(INDIRECT("$C$16:$C$" & F1),$Z3)
or better
=COUNTIF(INDEX(C:C,16):INDEX(C:C,F1),$Z3)
Thank you so much NBVC. That worked perfectly.
Now, I am trying to do something similar where I am using another CountIFS formula which is =COUNTIFS(INDIRECT("$C$16:$C$" & $F$1), $Z3, INDIRECT("$T$16:$T$" & $F$1), "<06/24/2016").
Here, instead of mentioning the date directly, I would like to refer it to the cell D1 where I will change the date based on the date range of the report. I tried the below two options which are not giving me the desired results. Please help.
=COUNTIFs(INDIRECT("$C$16:$C$" & $F$1), $Z3, INDIRECT("$T$16:$T$" & $F$1), indirect("<" & D1)
=COUNTIFs(INDIRECT("$C$16:$C$" & $F$1), $Z3, INDIRECT("$T$16:$T$" & $F$1), "<" & indirect(D1))