I have two worksheets, "Sales" and "Returns"
On both, there are multiple entries for the same product sold (ie, product A is listed two different times, the first entry it shows 4 units sold, the second shows 3 units sold.)
How do I function/script it so I combine the two entries to one? The whole worksheet has many of these types of entries, all sorted by Product Code.
EXAMPLE<TABLE BORDER="1" CELLPADDING="0" CELLSPACING="0" WIDTH="75%"><TR><TD WIDTH="33%">Product</TD><TD WIDTH="33%">Product Code</TD><TD WIDTH="34%">Units Sold</TD></TR><TR><TD WIDTH="33%">Pickled Eggs</TD><TD WIDTH="33%">PE23</TD><TD WIDTH="34%">4</TD></TR><TR><TD WIDTH="33%">Pickled Eggs</TD><TD WIDTH="33%">PE23</TD><TD WIDTH="34%">3</TD></TR></TABLE></P>
-TO-</P><TABLE BORDER="1" CELLPADDING="0" CELLSPACING="0" WIDTH="75%"><TR><TD WIDTH="33%" HEIGHT="12">Product</TD><TD WIDTH="33%" HEIGHT="12">Product Code</TD><TD WIDTH="34%" HEIGHT="12">Units Sold</TD></TR><TR><TD WIDTH="33%">Pickled Eggs</TD><TD WIDTH="33%">PE23</TD><TD WIDTH="34%">7</TD></TR></TABLE>
help!?
_________________
monky-munk
This message was edited by bromanct on 2002-11-05 13:04
This message was edited by bromanct on 2002-11-05 13:09
On both, there are multiple entries for the same product sold (ie, product A is listed two different times, the first entry it shows 4 units sold, the second shows 3 units sold.)
How do I function/script it so I combine the two entries to one? The whole worksheet has many of these types of entries, all sorted by Product Code.
EXAMPLE<TABLE BORDER="1" CELLPADDING="0" CELLSPACING="0" WIDTH="75%"><TR><TD WIDTH="33%">Product</TD><TD WIDTH="33%">Product Code</TD><TD WIDTH="34%">Units Sold</TD></TR><TR><TD WIDTH="33%">Pickled Eggs</TD><TD WIDTH="33%">PE23</TD><TD WIDTH="34%">4</TD></TR><TR><TD WIDTH="33%">Pickled Eggs</TD><TD WIDTH="33%">PE23</TD><TD WIDTH="34%">3</TD></TR></TABLE></P>
-TO-</P><TABLE BORDER="1" CELLPADDING="0" CELLSPACING="0" WIDTH="75%"><TR><TD WIDTH="33%" HEIGHT="12">Product</TD><TD WIDTH="33%" HEIGHT="12">Product Code</TD><TD WIDTH="34%" HEIGHT="12">Units Sold</TD></TR><TR><TD WIDTH="33%">Pickled Eggs</TD><TD WIDTH="33%">PE23</TD><TD WIDTH="34%">7</TD></TR></TABLE>
help!?
_________________
monky-munk
This message was edited by bromanct on 2002-11-05 13:04
This message was edited by bromanct on 2002-11-05 13:09