Pivot Tables, Extracting Data, and possible VBA help?

rbexcelhelp123

New Member
Joined
Aug 6, 2014
Messages
1
Hi, I am working on an excel sheet and need some help.


I have data in the format of the table below. I have only shown 2 examples of the data, but I have 15+ various line items which all have different work items, descriptions, work orders, completion dates, etc.

Table 1
Line ItemWork ItemDescriptionWork OrderCompletion DateSystemAccount CodeBreakoutBudgetActualCarLocationType
Labor12
Materials1112
006A077-01Transmission1237/2ABBBTotal12141CADA
Labor23
Materials109
006A077-02Motor1247/1ACBBTotal 12121CBDB

<tbody>
</tbody>


I need to sort the data in various methods to include the actual cost based on car, location, type, etc. I believe pivot tables is the best tool to use to analyze the data. However, with pivot tables, I've found I need all of the data on 1 line like shown below.

Table 2
Line ItemWork ItemDescriptionWork OrderCompletion DateSystemAccount CodeBudget - LaborBudget - MaterialsBudget - TotalActual - LaborActual - MaterialsActual - TotalCarLocationType
006A077-01Transmission1237/2ABBB11112212141CADA
006A077-02Motor1247/1ACBB2101239121CBDB

<tbody>
</tbody>


I will collect all future data based on Table 2; however, I need to display the data in a format like Table 1.


I tried using VLookUp and the Match/index functions above, but I could not get it to work correctly.


Any help/ideas/etc? I would greatly appreciate it!


-Brooke
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.

Forum statistics

Threads
1,215,467
Messages
6,124,984
Members
449,201
Latest member
Lunzwe73

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