Vlookup + ?

vhannant

New Member
Joined
Jun 2, 2011
Messages
2
Hi,

I am trying to create a workbook that allows me to to trace costs against various Purchase Orders. So, for example, I'll have a sheet with the list of PO's, a sheet with the list of invoices against PO's, and a sheet with a list of expenses incurred which are always assigned to a PO.

The invoice and expense sheets will have multiple line entries that will include many PO's, but, critically, there may be more than more entry assigned to each PO.

I am trying to produce a summary sheet that extracts the values against each.

Example - Cost sheet may have 100 lines in, of which 10 are allocated to a single PO number which appears on the PO sheet. Each of these 10 lines contain another field which is net value. How can I extract the sum of the net values for the single PO which appears in 10 entries?

VLOOKUP would obviously find the single occurence, so how do I find multiple occurences and then add together the values that appear in a different column for those?

Hope that makes sense!!

Vince
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Look at SUMIF in the help

=SUMIF(rangeofkeys,specifickey,rangeofvaluesRelatedtorangeofkeys)

it will SUM rangeofvaluesRelatedtorangeofkeys where rangeofkeys = specifickey
 
Upvote 0
Thanks all for swift replies - CharlesChuckieCharles has got me on my way for the next step - much appreciated. I may be back for more if I get stuck again!

Thanks again:)
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,291
Members
452,902
Latest member
Knuddeluff

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top