SUMIF with multiple conditions
Thanks this one worked, and i learnt something knew :)
"Jarek Kujawa" wrote:
A1=UK
B1=puzzles
C1=ABC
region in OtherSheet!$A$1:$A$1000
product in OtherSheet!$B$1:$B$1000
group in OtherSheet!$C$1:$C$1000
with values in OtherSheet!$D$1:$D$1000 use the formula
=SUM(IF((OtherSheet!$A$1:$A$1000=A1)*(OtherSheet!$ B$1:$B$1000=B1)*
(OtherSheet!$C$1:$C$1000=C1),OtherSheet!$D$1:$D$10 00,0))
CTRL+SHIFT+ENTER this formula as this is an array-formula
then copy down
On 11 Gru, 13:26, Michelle wrote:
Hi,
I need to do a sum of $ value, but there are 3 conditions to it, and those
conditions are written in the cells of a spreadsheet. So
Region Product Group
UK toys ABC
IE puzzles BCD
UK puzzles ABC
I have a long list, and the lookup sheet is on another sheet. I can't
hardcode the 3 conditions, it needs to reference the cells( which as you can
see change on every row). How do i do this?
|