Excel 2010 Pivot Table Calculated Item Strings

Jack45

New Member
Joined
Oct 11, 2008
Messages
4
Is there a way to create a calculated field from two text strings and a literal?

I have "LastName", "FirstName" as fields in the Excel 2010 database and wish to have a "Names" field that will display "Smith, John", for example. I thought that since there is a place for a formula that I could enter ='LastName' & ", " & 'FirstName" and up would pop the concatenated field. Not so.

Instead, I get the message that it can't swallow multiple fields. This seems like such a desirable thing to be able to do that I'm surprised that Microsoft doesn't have a way of allowing the user to create a concatenated field on the fly. Am I missing something? Is there a work-around?

Thanks!
 

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
Hi,

Just a question, why don't you create a helper column and use the concatenate there instead of in the pivot?
 
Upvote 0
Primarily, I liked the idea of the calculated field, since in theory it didn't require fussing around with the original database. Yes, I could certainly create another column, but I was trying to keep things simple.
 
Upvote 0

Forum statistics

Threads
1,216,179
Messages
6,129,336
Members
449,503
Latest member
glennfandango

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