Hello,
I have the below two sheets Sheet 1 and Sheet 2 ( the one with the VALUE error) and in Sheet2 I'm trying to obtain the sum of the totals from Sheet1 using a formula with multiple criteria. E.g. I want to see in Sheet2 the results of all the Vichy, Xerolys and Home but only for a specific column: If in Sheet2 in cell A1 I have number 5 then I want the formula to add up the totals from the column corresponding to 5 in Sheet1 ( 87, 14, 26). The formula that I've tried to use is #=SUMIFS(Sheet1!$B$5:$F$7,Sheet1!$A$5:$A$7,Sheet2!A4,Sheet1!$B$3:$F$3,Sheet2!$A$1)# but I receive a VALUE error. Can anyone help?
Thank you,
Sheet1
[TABLE="width: 384"]
<colgroup><col width="64" span="6" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"][/TD]
[TD="width: 64, align: right"]1[/TD]
[TD="width: 64, align: right"]2[/TD]
[TD="width: 64, align: right"]3[/TD]
[TD="width: 64, align: right"]4[/TD]
[TD="width: 64, align: right"]5[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Vichy [/TD]
[TD="align: right"]45[/TD]
[TD="align: right"]43[/TD]
[TD="align: right"]56[/TD]
[TD="align: right"]65[/TD]
[TD="align: right"]87[/TD]
[/TR]
[TR]
[TD]Xerolys [/TD]
[TD="align: right"]23[/TD]
[TD="align: right"]43[/TD]
[TD="align: right"]65[/TD]
[TD="align: right"]899[/TD]
[TD="align: right"]14[/TD]
[/TR]
[TR]
[TD]Home[/TD]
[TD="align: right"]1345[/TD]
[TD="align: right"]65[/TD]
[TD="align: right"]565[/TD]
[TD="align: right"]76[/TD]
[TD="align: right"]26[/TD]
[/TR]
</tbody>[/TABLE]
and
Sheet2
[TABLE="width: 128"]
<colgroup><col width="64" span="2" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64, align: right"]5[/TD]
[TD="width: 64"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Total[/TD]
[/TR]
[TR]
[TD]Vichy [/TD]
[TD="align: center"]#VALUE![/TD]
[/TR]
[TR]
[TD]Xerolys [/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Home[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I have the below two sheets Sheet 1 and Sheet 2 ( the one with the VALUE error) and in Sheet2 I'm trying to obtain the sum of the totals from Sheet1 using a formula with multiple criteria. E.g. I want to see in Sheet2 the results of all the Vichy, Xerolys and Home but only for a specific column: If in Sheet2 in cell A1 I have number 5 then I want the formula to add up the totals from the column corresponding to 5 in Sheet1 ( 87, 14, 26). The formula that I've tried to use is #=SUMIFS(Sheet1!$B$5:$F$7,Sheet1!$A$5:$A$7,Sheet2!A4,Sheet1!$B$3:$F$3,Sheet2!$A$1)# but I receive a VALUE error. Can anyone help?
Thank you,
Sheet1
[TABLE="width: 384"]
<colgroup><col width="64" span="6" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"][/TD]
[TD="width: 64, align: right"]1[/TD]
[TD="width: 64, align: right"]2[/TD]
[TD="width: 64, align: right"]3[/TD]
[TD="width: 64, align: right"]4[/TD]
[TD="width: 64, align: right"]5[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Vichy [/TD]
[TD="align: right"]45[/TD]
[TD="align: right"]43[/TD]
[TD="align: right"]56[/TD]
[TD="align: right"]65[/TD]
[TD="align: right"]87[/TD]
[/TR]
[TR]
[TD]Xerolys [/TD]
[TD="align: right"]23[/TD]
[TD="align: right"]43[/TD]
[TD="align: right"]65[/TD]
[TD="align: right"]899[/TD]
[TD="align: right"]14[/TD]
[/TR]
[TR]
[TD]Home[/TD]
[TD="align: right"]1345[/TD]
[TD="align: right"]65[/TD]
[TD="align: right"]565[/TD]
[TD="align: right"]76[/TD]
[TD="align: right"]26[/TD]
[/TR]
</tbody>[/TABLE]
and
Sheet2
[TABLE="width: 128"]
<colgroup><col width="64" span="2" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64, align: right"]5[/TD]
[TD="width: 64"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Total[/TD]
[/TR]
[TR]
[TD]Vichy [/TD]
[TD="align: center"]#VALUE![/TD]
[/TR]
[TR]
[TD]Xerolys [/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Home[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]