Pivot Table: Ways to return only the value - no calculation?

Newb123

New Member
Joined
Feb 3, 2012
Messages
14
Hello and thanks in advance for your help

I have a spread sheet that looks like this:

[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Item #[/TD]
[TD]MFG[/TD]
[TD]MFG Part #[/TD]
[/TR]
[TR]
[TD]123456[/TD]
[TD]ABC[/TD]
[TD]OAIHP8[/TD]
[/TR]
[TR]
[TD]123456[/TD]
[TD]XYZ[/TD]
[TD]QEQEU[/TD]
[/TR]
[TR]
[TD]123456[/TD]
[TD]AINS[/TD]
[TD]IQFLCV[/TD]
[/TR]
</tbody>[/TABLE]
I would like my pivot table to look like this:

[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Item#[/TD]
[TD]ABC[/TD]
[TD]XYZ[/TD]
[TD]AINS[/TD]
[/TR]
[TR]
[TD]123456[/TD]
[TD]OAIHP8[/TD]
[TD]QEQEU[/TD]
[TD]IQFLCV[/TD]
[/TR]
</tbody>[/TABLE]

The layout is not the problem. The values in the 'value grid' should not be calculated but strictly return the actual value or part number. Not COUNT, SUM etc... However, I cant find a way to do this.

Has anyone got any suggestions?

Regards

Bert
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
to my knowledge that is not possible with an pivot table.

you could use Vlookup to get the values that way.
 
Upvote 0
I do not know if you pivot table is a requirement or not; however, monthly need to resort my data in this cube format and I record a maco with Relative References enabled on the Developers tab to restructure the data as it appears in your example. Then include a loop to stop at the end of your data.
 
Upvote 0
Hello, Bert

A pivot table doesn't return text in the data field, just things like COUNT or SUM (of numbers).

A cross-tab report can return text, as it can use MAX or MIN functions that work with text. So maybe an external data query returning a cross-tab report is OK for you?

The SQL could be

TRANSFORM MAX(MFG Part #]
SELECT [Item#]
FROM your_table
GROUP BY [Item #]
PIVOT MFG

I'll post again shortly with links to similar old threads that have further details. regards, Fazza
 
Upvote 0

Forum statistics

Threads
1,224,396
Messages
6,178,394
Members
452,844
Latest member
Shebl

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