Hi All,
First off, thanks in advance for any help on this. I've been reading/searching the forums for awhile now, but this is the first time I haven't been able to work out a solution to something from other posts, so here I am with post number 1.
What I am trying to do is combine some planned and actual data lists into one reconcilliation.
The plan consists of a material source, a destination, and a tonnage. The actuals consist of the same, but in many cases the plan does not get followed, and the material will not get taken from the correct source, not get placed at the correct destination, or too little/much tonnes are taken.
I would like to take the planned data, and the actuals data, and combine it into one list showing all source and destination combinations(planned and actual, even if only in one or the other), and the coorisponding planned and actual tonnages between each.
This is shown below (sorry for the poor formatting, this was the best I could get it to. The Loc data is under source, Dmp under destination, and numbers under tonnage):
Plan
SRC_P DEST_P TONNAGE_P
Loc_1 Dmp_1 11,000
Loc_2 Dmp_2 12,000
Loc_3 Dmp_3 13,000
Loc_4 Dmp_4 14,000
Loc_5 Dmp_5 15,000
Actual
SRC_A DEST_A TONNAGE_A
Loc_2 Dmp_2 10,000
Loc_3 Dmp_3 13,000
Loc_4 Dmp_4 18,000
Loc_5 Dmp_1 10,000
Loc_6 Dmp_7 9,000
Loc_6 Dmp_6 8,000
Desired Results
SOURCE DEST PLAN ACTUAL
Loc_1 Dmp_1 11,000 00000
Loc_2 Dmp_2 12,000 10,000
Loc_3 Dmp_3 13,000 13,000
Loc_4 Dmp_4 14,000 18,000
Loc_5 Dmp_5 15,000 00000
Loc_5 Dmp_1 00000 10,000
Loc_6 Dmp_7 00000 9,000
Loc_6 Dmp_6 00000 8,000
I hope this clairifies the problem well enough. I am using Excel 2003 SP3, and although I have posted this in the excel forum, I would also be open to a VBA solution to this if it would be the simple option.
Thanks again for your help!
Cheers,
Jeremy
First off, thanks in advance for any help on this. I've been reading/searching the forums for awhile now, but this is the first time I haven't been able to work out a solution to something from other posts, so here I am with post number 1.
What I am trying to do is combine some planned and actual data lists into one reconcilliation.
The plan consists of a material source, a destination, and a tonnage. The actuals consist of the same, but in many cases the plan does not get followed, and the material will not get taken from the correct source, not get placed at the correct destination, or too little/much tonnes are taken.
I would like to take the planned data, and the actuals data, and combine it into one list showing all source and destination combinations(planned and actual, even if only in one or the other), and the coorisponding planned and actual tonnages between each.
This is shown below (sorry for the poor formatting, this was the best I could get it to. The Loc data is under source, Dmp under destination, and numbers under tonnage):
Plan
SRC_P DEST_P TONNAGE_P
Loc_1 Dmp_1 11,000
Loc_2 Dmp_2 12,000
Loc_3 Dmp_3 13,000
Loc_4 Dmp_4 14,000
Loc_5 Dmp_5 15,000
Actual
SRC_A DEST_A TONNAGE_A
Loc_2 Dmp_2 10,000
Loc_3 Dmp_3 13,000
Loc_4 Dmp_4 18,000
Loc_5 Dmp_1 10,000
Loc_6 Dmp_7 9,000
Loc_6 Dmp_6 8,000
Desired Results
SOURCE DEST PLAN ACTUAL
Loc_1 Dmp_1 11,000 00000
Loc_2 Dmp_2 12,000 10,000
Loc_3 Dmp_3 13,000 13,000
Loc_4 Dmp_4 14,000 18,000
Loc_5 Dmp_5 15,000 00000
Loc_5 Dmp_1 00000 10,000
Loc_6 Dmp_7 00000 9,000
Loc_6 Dmp_6 00000 8,000
I hope this clairifies the problem well enough. I am using Excel 2003 SP3, and although I have posted this in the excel forum, I would also be open to a VBA solution to this if it would be the simple option.
Thanks again for your help!
Cheers,
Jeremy