Reconciling large amounts of data when Vlookup and Match/Index are not ideal.

ShadowSaxx

Board Regular
Joined
Nov 1, 2012
Messages
68
I need a little coaching on big data.
I have two reports, one from a production system the other from the invoicing system. I need to reconcile the two reports to ensure our invoicing ties out to production. At this time I am focusing on 1 particular item code, but there are potentially hundreds of item codes.
I have 1 Item Code.
I have a around a hundred invoices. (Sample 100)
I have a few hundred different customers. (Sample 100)
I have several hundred lines of billing data. (Sample 650)
I have several thousand lines of production data. (Sample 40,000)
In the billing system, per invoice I might have 1 or more billing lines for this item, usually no more than 2.
In the production system, per invoice I might have 5 to 50 or more production lines for this item per invoice.

Example
Prod System:
30 lines of data has a run amount and a total run amount for each line.

I am looking for tools to help reconcile this data. VLookup and Index/Matching is not cutting it. VLOOKUP does not move beyond the first line found. Index/Matching wants to add all the prod together. I can get subtotals easy enough. I have tried Concatenation, but when it takes multiple production data lines to equal 1 billing line, this does not work. I needs some thing that can look at the Qty on a billing invoice and tie it out to various lines of production data to identify which production jobs went on that line of the invoice.
Here is a sample. These are fairly easy to resolve, but others are not so easy due to number of production and billing rows.

Any advice?
Invoice numberBilling itemEst. QuantityActual quantityBillable QtySales orderPosition numberSequenceAgreementBilling sourceDescriptionTotal Billable Qty
234672BI_B2E0133563356520831GKBSTMT13356B & W5208
234672BI_B2E01184184520881GKBSTMT1184B & W5208
234672BI_B2E0116681668520831GKBSTMT11668B & W5208
234441BI_B2E01525525236635THOCRPT1525B & W2366
234441BI_B2E013636236665THOCRPT136B & W2366
234441BI_B2E0135353535THOTIN9135B & W35
INVOICE DATECUST IDCUSTOMER NAMEINVOICEUOMPRICESum of QTYSum of AMT
10/28/2013905Sample 1234672EA $0.05225208$271.62
10/28/20132995Sample 2234441EA $0.1589082401$381.54

<colgroup><col style="width: 79pt; mso-width-source: userset; mso-width-alt: 3840;" width="105"> <col style="width: 59pt; mso-width-source: userset; mso-width-alt: 2852;" width="78"> <col style="width: 134pt; mso-width-source: userset; mso-width-alt: 6546;" width="179"> <col style="width: 77pt; mso-width-source: userset; mso-width-alt: 3730;" width="102"> <col style="width: 59pt; mso-width-source: userset; mso-width-alt: 2889;" width="79"> <col style="width: 57pt; mso-width-source: userset; mso-width-alt: 2779;" width="76"> <col style="width: 83pt; mso-width-source: userset; mso-width-alt: 4059;" width="111"> <col style="width: 51pt; mso-width-source: userset; mso-width-alt: 2486;" width="68"> <col style="width: 58pt; mso-width-source: userset; mso-width-alt: 2816;" width="77"> <col style="width: 68pt; mso-width-source: userset; mso-width-alt: 3291;" width="90"> <col style="width: 100pt; mso-width-source: userset; mso-width-alt: 4864;" width="133"> <col style="width: 86pt; mso-width-source: userset; mso-width-alt: 4169;" width="114"> <tbody>
</tbody>
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Invoice numberBilling itemEst. QuanAct quanBillable QtySales orderPos numberSequenceAgreementBilling sourceDescriptionTotal Billable Qty
234672BI_B2E0133563356520831GKBSTMT13356B & W5208
234672BI_B2E01184184520881GKBSTMT1184B & W5208
234672BI_B2E0116681668520831GKBSTMT11668B & W5208
234441BI_B2E01525525236635THOCRPT1525B & W2366
234441BI_B2E013636236665THOCRPT136B & W2366
234441BI_B2E0135353535THOTIN9135B & W35
INVOICE DATECUST IDCUSTOMER NAMEINVOICEUOMPRICESum of QTYSum of AMT
10/28/2013905Sample 1234672EA$0.05225208$271.62
10/28/20132995Sample 2234441EA$0.1589082401$381.54
invoicepricesum of qtysum of amount
2346720.05225208271.8576
2344410.15890859694.709168
this fails because I do not understand billable quantity
why do you need to repeat 5208 three times

<colgroup><col><col><col><col><col><col span="2"><col><col><col><col><col></colgroup><tbody>
</tbody>
 
Upvote 0
That is a column from the delimited report. Billable Qty is repeated because it aligns to the total amount intended for that Sequence. Sometimes it is the only way to reconcile the invoice between the two systems, you just have to remember to not sum the Billable Qty. For instance below the Billable Qty ties out to the Sum of Qty from the invoice:
INVOICE DATECUST IDCUSTOMER NAMEINVOICEUOMPRICESum of QTYSum of AMT
10/28/2013905Sample 1234672EA$0.05225208$271.62

<tbody>
</tbody>

Invoice numberBilling itemEst. QuanAct quanBillable QtySales orderPos numberSequenceAgreementBilling sourceDescriptionTotal Billable Qty
234672BI_B2E0133563356520831GKBSTMT13356B & W5208
234672BI_B2E01184184520881GKBSTMT1184B & W5208
234672BI_B2E0116681668520831GKBSTMT11668B & W5208



<tbody>
</tbody>
 
Upvote 0
excel is not good at remembering not to do something - you need to attack the incoming data to remove this anomaly
 
Upvote 0

Forum statistics

Threads
1,216,124
Messages
6,128,987
Members
449,480
Latest member
yesitisasport

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