Hi,
Could you please help me with a formula that would best suit if i have to do a sum of rows where apples or oranges are available in the column B & C. But the row should be summed only once. Basically the output of below should be 85 using a formula
1 Apples oranges 5
2 apples bananas 10
3 oranges apples 15
4 apples apples 20
5 bananas oranges 30
6 grapes oranges 5
7 bananas grapes 10
8 grapes grapes 15
I am able to do for 1 column but joining the 2 columns the values are coming incorrect.
=SUMIFS(D1:D8,B1:B8,{"apples","oranges"})
results in 35 which is correct
=SUM(IF(D1:D8,B1:B8,{"apples","oranges"})+IF(D1:D8,C1:C8,{"apples","oranges"}))
returns an Value error
Could you please help me with a formula that would best suit if i have to do a sum of rows where apples or oranges are available in the column B & C. But the row should be summed only once. Basically the output of below should be 85 using a formula
1 Apples oranges 5
2 apples bananas 10
3 oranges apples 15
4 apples apples 20
5 bananas oranges 30
6 grapes oranges 5
7 bananas grapes 10
8 grapes grapes 15
I am able to do for 1 column but joining the 2 columns the values are coming incorrect.
=SUMIFS(D1:D8,B1:B8,{"apples","oranges"})
results in 35 which is correct
=SUM(IF(D1:D8,B1:B8,{"apples","oranges"})+IF(D1:D8,C1:C8,{"apples","oranges"}))
returns an Value error