I'll try to keep this simple, so let's say this is our data
[TABLE="width: 693"]
<tbody>[TR]
[TD="width: 99"][/TD]
[TD="width: 99"]salesunits[/TD]
[TD="class: xl63, width: 99"] salesdollars[/TD]
[TD="width: 99"]salesunits[/TD]
[TD="class: xl63, width: 99"] salesdollars[/TD]
[TD="width: 99"]salesunits[/TD]
[TD="class: xl63, width: 99"] salesdollars[/TD]
[/TR]
[TR]
[TD]orange[/TD]
[TD="align: right"]4[/TD]
[TD="class: xl63"] $ 16.00[/TD]
[TD="align: right"]5[/TD]
[TD="class: xl63"] $ 20.00[/TD]
[TD="align: right"]1[/TD]
[TD="class: xl63"] $ 4.00[/TD]
[/TR]
[TR]
[TD]pear[/TD]
[TD="align: right"]1[/TD]
[TD="class: xl63"] $ 2.00[/TD]
[TD="align: right"]3[/TD]
[TD="class: xl63"] $ 6.00[/TD]
[TD="align: right"]10[/TD]
[TD="class: xl63"] $ 20.00[/TD]
[/TR]
[TR]
[TD]lemon[/TD]
[TD="align: right"]20[/TD]
[TD="class: xl63"] $ 60.00[/TD]
[TD="align: right"]15[/TD]
[TD="class: xl63"] $ 45.00[/TD]
[TD="align: right"]100[/TD]
[TD="class: xl63"] $ 300.00[/TD]
[/TR]
</tbody>[/TABLE]
and you wanted a formula that returned the number of sales units of apples that have been sold in this entire table would be... what formula could you use? the answer to this would be 10 units (for $40 total)
edit: (and a formula that you could drag down to see pear and lemon sales units/dollars/etc... like they won't always be in the same order)
thank you so much! I've been trying different sumproduct/sumif variations for a long time now at work and can't figure anything out
[TABLE="width: 693"]
<tbody>[TR]
[TD="width: 99"][/TD]
[TD="width: 99"]salesunits[/TD]
[TD="class: xl63, width: 99"] salesdollars[/TD]
[TD="width: 99"]salesunits[/TD]
[TD="class: xl63, width: 99"] salesdollars[/TD]
[TD="width: 99"]salesunits[/TD]
[TD="class: xl63, width: 99"] salesdollars[/TD]
[/TR]
[TR]
[TD]orange[/TD]
[TD="align: right"]4[/TD]
[TD="class: xl63"] $ 16.00[/TD]
[TD="align: right"]5[/TD]
[TD="class: xl63"] $ 20.00[/TD]
[TD="align: right"]1[/TD]
[TD="class: xl63"] $ 4.00[/TD]
[/TR]
[TR]
[TD]pear[/TD]
[TD="align: right"]1[/TD]
[TD="class: xl63"] $ 2.00[/TD]
[TD="align: right"]3[/TD]
[TD="class: xl63"] $ 6.00[/TD]
[TD="align: right"]10[/TD]
[TD="class: xl63"] $ 20.00[/TD]
[/TR]
[TR]
[TD]lemon[/TD]
[TD="align: right"]20[/TD]
[TD="class: xl63"] $ 60.00[/TD]
[TD="align: right"]15[/TD]
[TD="class: xl63"] $ 45.00[/TD]
[TD="align: right"]100[/TD]
[TD="class: xl63"] $ 300.00[/TD]
[/TR]
</tbody>[/TABLE]
and you wanted a formula that returned the number of sales units of apples that have been sold in this entire table would be... what formula could you use? the answer to this would be 10 units (for $40 total)
edit: (and a formula that you could drag down to see pear and lemon sales units/dollars/etc... like they won't always be in the same order)
thank you so much! I've been trying different sumproduct/sumif variations for a long time now at work and can't figure anything out