On sheet 2 of my spreadsheet I have data lined up like this:
However, I would like for this formula to check for as many rows that exist on sheet 2, without having to modify the formula for each new date added.
Is this possible? Thanks.
On sheet 1 I have the following formula:Date Quantity Fruit
6/9/2011 4 Apple Orange Banana
6/10/2011 2 Apple Pear Grape
This returns 6 for "apple", as intended.=IF(ISNUMBER(MATCH("Apple", Sheet2!$2:$2, 0)),Sheet2!$B$2,0)+IF(ISNUMBER(MATCH("Apple", Sheet2!$3:$3, 0)),Sheet2!$B$3,0)
However, I would like for this formula to check for as many rows that exist on sheet 2, without having to modify the formula for each new date added.
Is this possible? Thanks.