以下の式が機能し、セル範囲を変更できるようにINDIRECTを使用してこれを変更しようとしていますより簡単に。私はこれを実行しようとしましたが、答えはCOUNTIFS
ため#VALUE!
と130206として出てきた['Other materials'!B2:B344]
と['Other materials'!X2:Y344)]
を代用し、この[=INDIRECT("'" & B6 & "'!" & B7 & ":" & B8)]
INDIRECTを使用してCOUNTIFS/SUMIF(S)式内のセル範囲を参照する(エラーが発生した)
を使用して範囲を編集できるようにしたい
=SUMIF('Other materials'!B2:B344, "*Germany*", 'Other materials'!L2:L344)+SUMIF('Other materials'!B2:B344, "*Germany*", 'Other materials'!N2:N344)+SUMIF('Other materials'!B2:B344, "*Germany*", 'Other materials'!P2:P344)+SUMIF('Other materials'!B2:B344, "*Germany*", 'Other materials'!R2:R344)+SUMIF('Other materials'!B2:B344, "*Germany*", 'Other materials'!T2:T344)+SUMIF('Other materials'!B2:B344, "*Germany*", 'Other materials'!V2:V344)+SUMIF('Other materials'!B2:B344, "*Germany*", 'Other materials'!X2:X344)+SUMIF('Other materials'!B2:B344, "*Germany*", 'Other materials'!Z2:Z344)+SUMIF('Other materials'!B2:B344, "*Germany*", 'Other materials'!AB2:AB344)
SUMIF
の場合は122の代わりに。
SUMIF where substituted:=SUMIF((INDIRECT("'" & B6 & "'!" & B7 & ":" & B8)), "*Germany*", 'Other materials'!L2:L344)+SUMIF('Other materials'!B2:B344, "*Germany*", 'Other materials'!N2:N344)+SUMIF('Other materials'!B2:B344, "*Germany*", 'Other materials'!P2:P344)+SUMIF('Other materials'!B2:B344, "*Germany*", 'Other materials'!R2:R344)+SUMIF('Other materials'!B2:B344, "*Germany*", 'Other materials'!T2:T344)+SUMIF('Other materials'!B2:B344, "*Germany*", 'Other materials'!V2:V344)+SUMIF('Other materials'!B2:B344, "*Germany*", 'Other materials'!X2:X344)+SUMIF('Other materials'!B2:B344, "*Germany*", 'Other materials'!Z2:Z344)+SUMIF('Other materials'!B2:B344, "*Germany*", 'Other materials'!AB2:AB344)
誰かが私が間違っているつもりですどこ私を見ると、私はそれが正しく機能するために得る助けてくださいことはできますか?
「間接式で使用される値は、B6 =他の材料(データが存在する作業シート)です、:あなたの説明を考慮しているため
おかげ
B6 =その他の材料(データが存在するワークシート)、B7 = 2(データが開始する行、これは変更しないでください)、B8 = 344 )データが終了すると変化します。 –