Hi all, hoping you can help me. I want to sum cells within a range, only if 3 criteria are met, but each criteria is specific to finding specific text within other cells in the same row. For example:
[TABLE="width: 500"]
<tbody>[TR]
[TD="align: center"]Set 1[/TD]
[TD="align: center"]Set 2[/TD]
[TD="align: center"]Count[/TD]
[/TR]
[TR]
[TD]Good fruit[/TD]
[TD]This apple is red[/TD]
[TD="align: center"]5[/TD]
[/TR]
[TR]
[TD]Bad fruit[/TD]
[TD]This apple is green[/TD]
[TD="align: center"]6[/TD]
[/TR]
[TR]
[TD]Bad dessert[/TD]
[TD]This cake is red[/TD]
[TD="align: center"]8[/TD]
[/TR]
[TR]
[TD]Good meat[/TD]
[TD]This beef is red[/TD]
[TD="align: center"]3[/TD]
[/TR]
[TR]
[TD]Bad fruit[/TD]
[TD]This apple is red[/TD]
[TD="align: center"]1[/TD]
[/TR]
</tbody>[/TABLE]
I would like to create a formula that sums the numbers in column 'Count' if the following criteria are met for column 'Set 1' and 'Set 2':
'Set 1' - Cell contains the word "fruit"
'Set 2' - Cell contains the word "apple" AND "red"
In this example, the formula should return "6."
Apologies, I know the example looks a bit weird.
Would really appreciate your help! Thanks in advance.
[TABLE="width: 500"]
<tbody>[TR]
[TD="align: center"]Set 1[/TD]
[TD="align: center"]Set 2[/TD]
[TD="align: center"]Count[/TD]
[/TR]
[TR]
[TD]Good fruit[/TD]
[TD]This apple is red[/TD]
[TD="align: center"]5[/TD]
[/TR]
[TR]
[TD]Bad fruit[/TD]
[TD]This apple is green[/TD]
[TD="align: center"]6[/TD]
[/TR]
[TR]
[TD]Bad dessert[/TD]
[TD]This cake is red[/TD]
[TD="align: center"]8[/TD]
[/TR]
[TR]
[TD]Good meat[/TD]
[TD]This beef is red[/TD]
[TD="align: center"]3[/TD]
[/TR]
[TR]
[TD]Bad fruit[/TD]
[TD]This apple is red[/TD]
[TD="align: center"]1[/TD]
[/TR]
</tbody>[/TABLE]
I would like to create a formula that sums the numbers in column 'Count' if the following criteria are met for column 'Set 1' and 'Set 2':
'Set 1' - Cell contains the word "fruit"
'Set 2' - Cell contains the word "apple" AND "red"
In this example, the formula should return "6."
Apologies, I know the example looks a bit weird.
Would really appreciate your help! Thanks in advance.