Page 1 of 1

Sum conditional

Posted: Sat Feb 04, 2023 7:18 pm
by sna
NEED HELP #EXCEL #formulas

To get total of numbers on left column of items mentioned of party / buyers.

please check the attached file for further reference req if any one can help.

Tks

Re: Sum conditional

Posted: Sun Feb 05, 2023 7:03 am
by snasui
:D Please provide an example of the correct answer and explain how to think so it will be easier to understand.

Re: Sum conditional

Posted: Sun Feb 05, 2023 9:38 am
by sna
Thanks for your response

the criteria and expected results are in the sheet.

Tks

Re: Sum conditional

Posted: Sun Feb 05, 2023 2:02 pm
by snasui
:D The example formula in B11 is below.

=SUMPRODUCT(SUBTOTAL(9,OFFSET($B$2,ROW($B$2:$B$7)-ROW($B$2),3*(COLUMN($B$1:$H$1)-COLUMN($B$1))))*($A$2:$A$7=$A11)*(SUBSTITUTE(B$10,"TOTAL ","")=T(OFFSET($C$2,ROW($B$2:$B$7)-ROW($B$2),3*(COLUMN($B$1:$H$1)-COLUMN($B$1))))))

Enter and copy to the right then down.

Re: Sum conditional

Posted: Sun Feb 05, 2023 9:20 pm
by sna
Thanks it is working