Array help

P

pflynn

Have sheet1!as follows:
A B
Item Quantity
111 30
112 40
113 20
111 25

Sheet2!
Item Inventory
111 100
112 100
113 100
114 100

Need the sum of the items in sheet1! to subtract from the item
inventory on sheet21
Thanks
Pat
 
B

Bernard Liengme

In A1, B1 of Sheet3 enter text: Item & Quantity
In A2:A??? enter item number 111,112,113...
IN B2 enter
=SUMIF(Sheet2!A2:A5,Sheet3!A2,Sheet2!B2:B5)-SUMIF(Sheet1!A2:A5,Sheet3!A2,Sheet1!B2:B5)
Copy down the column
best wishes
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top