I have been working on this problem for a week, where I was looking for the totals of specific row items in a range multiplied by a factor. The formula below achieves the desired outcome. I need help structuring it in an arrayformula to accept multiple columns.
This formula works as is and with an IF statement. =ARRAYFORMULA(IFERROR(VLOOKUP(Sheet4!$A$1:$A$49,'MHC System Material QTY'!$A$16:$N$64,4,0),"")*'MHC System Material QTY'!$D$3)
This gives an error (IFS expects all arguments after 0 to be pairs) =ARRAYFORMULA(IFS('MHC System Material QTY'!$D$3>0,IFERROR(VLOOKUP('Lookup Table '!$A$2:$A$50,'MHC System Material QTY'!$A$16:$N$64,4,0),"")'MHC System Material QTY'!$D$3,'MHC System Material QTY'!$F$3>0,IFERROR(VLOOKUP('Lookup Table '!$A$2:$A$50,'MHC System Material QTY'!$A$16:$N$64,6,0),"")'MHC System Material QTY'!$F$3,""))
The goal is to get the sum total of product line items by row for column D,F,H,J,L,N in MHC System Material QTY tab. Vlookup solves the problem of what items to look for. The sum totals then need to be multiplied by D3,F3,H3,J4,L4,N4 to achieve the sum total fot total order volumes. Column J,L,N are battery option 2 in Lookup table..
Here is the link to sheet. Formula is in column C Total MHC Volume Forecast https://docs.google.com/spreadsheets/d/1etFlYSVPDJXZFOHWZaLFgQ-KDbulV3WWmYfCk0CVvdk/edit?usp=sharing
Your help is appreciated.