Non-typical structure of data in the pivot table, how to?

Status
Not open for further replies.

Prosperitas

New Member
Joined
Jun 4, 2013
Messages
2
Hello, please help!

1) I have the table with columns:
- Buyer
- Country
- Product
- Revenue
- Quantity
- Actual vs. Forecast (Yes/No)

2) The problem is I can not structure the data in pivot table properly. I need:
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD]Actual[/TD]
[TD]Forecast[/TD]
[TD]Delta[/TD]
[/TR]
[TR]
[TD]Buyer A[/TD]
[TD]Revenue[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]Buyer A[/TD]
[TD]Quantity[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]Buyer A[/TD]
[TD]Price[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]X[/TD]
[/TR]
</tbody>[/TABLE]
Ideally Buyer A cells should be merged.

I did everything else except this problem. I have:

[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]Revenue (actual)[/TD]
[TD]Revenue (forecast)[/TD]
[TD]Delta[/TD]
[TD]Quantity (actual)[/TD]
[TD]Quantity (forecast)[/TD]
[TD]Delta[/TD]
[TD]Price (actual)[/TD]
[TD]Price (forecast)[/TD]
[TD]Delta[/TD]
[/TR]
[TR]
[TD]Buyer A[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]X[/TD]
[/TR]
</tbody>[/TABLE]

3) I do have some experience with Powerpivot, DAX and VBA. I am not a native speaker. Thank you in advance.
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Status
Not open for further replies.

Forum statistics

Threads
1,223,952
Messages
6,175,589
Members
452,653
Latest member
craigje92

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