Forum Discussion
AFcrta
Apr 09, 2024Copper Contributor
Combine SUMIFS function with OR function
Hello to everyone. I need to create a formula that returns a SUM with different criterias, but I'm not getting it. I have a table Colum 1 | Column 2 | Column 3 Date | Price | Typ...
- Apr 09, 2024
How about
=SUM(SUMIFS(C26:C35; D26:D35; AM3; K26:K35; {1;2;3}))
or
=SUMPRODUCT(C26:C35; (D26:D35=AM3)*((K26:K35=1)+(K26:K35=2)+(K26:K35=3)))
HansVogelaar
Apr 09, 2024MVP
- AFcrtaApr 09, 2024Copper ContributorThank you for your reply!.
The thing is that the field "Type" will grow exponentially, so I will need to specify and create SUMS over more than 50 different types, so that's why I need to find the way to mark wich ones need to be considered for the SUM- HansVogelaarApr 09, 2024MVP
How about
=SUM(SUMIFS(C26:C35; D26:D35; AM3; K26:K35; {1;2;3}))
or
=SUMPRODUCT(C26:C35; (D26:D35=AM3)*((K26:K35=1)+(K26:K35=2)+(K26:K35=3)))
- AFcrtaApr 09, 2024Copper ContributorDidn't know you could filter like your first example "{}".
Many thanks for taking the time, this is solivng my issue!