SUMIF和COUNTIF中的Excel INDIRECT语法

时间:2016-08-17 08:00:05

标签: excel

你能帮我解决这些公式吧吗?我想将'I1'替换为INDIRECT(Y3&"!C2")

  1. ='I1'!C2 - > =INDIRECT(Y3&"!C2"),设法做到这一点:P
  2. =SUMIF('I1'!$C$2:INDEX('I1'!$C:$C,$V$2),B2,'I1'!$E$2:INDEX('I1'!$E:$E,$V$2)) - > ?
  3. =SUMIF('I1'!C$2:INDEX('I1'!$C:$C,$V$2),B2,'I1'!F$2:INDEX('I1'!$F:$F,$V$2)) - > ?
  4. =COUNTIF('I1'!$C$2:INDEX('I1'!$C:$C,$V$2),B2) - > ?
  5. 很抱歉,但很多时候我发现很难跟上excel语法。它变得非常复杂。 提前谢谢!

1 个答案:

答案 0 :(得分:1)

  1. =SUMIF(INDIRECT(Y3&"!C2"):INDEX(INDIRECT(Y3&"!$C:$C"),$V$2),B2,INDIRECT(Y3&"!$E$2"):INDEX(INDIRECT(Y3&"!$E:$E"),$V$2))

  2. 2。 =SUMIF(INDIRECT(Y3&"!C$2"):INDEX(INDIRECT(Y3&"!$C:$C"),$V$2),B2,INDIRECT(Y3&"!F$2"):INDEX(INDIRECT(Y3&"!$F:$F"),$V$2))

    1. =COUNTIF(Y3&"!C$2":INDEX(INDIRECT(Y3&"!$C:$C"),$V$2),B2) `