We need a formula to add up the matching UPCS from sheet 1 to sheet 2 of the item and return the quantity sold and the dollar amount.
Please see attached for example.
We need a formula to add up the matching UPCS from sheet 1 to sheet 2 of the item and return the quantity sold and the dollar amount.
Please see attached for example.
Please update your profile as necessary to properly reflect the exact version(s) of Excel your question relates to. Members tailor answers based on your Excel version. Your profile says 2003, but your file indicates at least 2007
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
Which way is this going?
Does sheet1 feed sheet2 or does sheet2 feed sheet?
The version is 2007 and Sheet 2 feeds sheet 1 the data
Sure, please see attached.
Thanks.
QTY sold
=SUMIF(Sheet2!$C:$C,Sheet1!$F2,Sheet2!$D:$D)
$ sold
=SUMPRODUCT(--(Sheet2!$C$2:$C$10=Sheet1!$F2),Sheet2!$D$2:$D$10*Sheet2!$E$2:$E$10)
both copied down as needed.
Adjust the range in the 2nd formula as needed, too
Also, check your answer in H3, it is not 200
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks