Doule
Doule

Reputation: 57

Use COUNT.IF and INDIRECT together

I'm trying to use a function that uses COUNT.IF and INDIRECT at the same time.

=COUNT.IF('Sheet1'!$D$3:INDIRECT("MA" & E4);1) 

seems to work but

=COUNT.IF('Sheet1'!INDIRECT("D" & E5):INDIRECT("MA" & E6);1)

doesn't. Does anyone know how to solve this ? Thanks !

Upvotes: 0

Views: 1880

Answers (1)

Mrig
Mrig

Reputation: 11702

You may try

=COUNTIF(INDIRECT("'Sheet1'!D" & E5 & ":MA" & E6),1)

Upvotes: 2

Related Questions