Calculated Field UDF in Pivot Table

amaru

New Member
Joined
Sep 8, 2014
Messages
1
Hi,

Trying to add a UDF formula for calculated field in a pivot table.

UDF = concat('existing field', ","). The UDF concat concatenates a range of cells with a delimiter, in this case a comma. Say the 'existing field' is a column of strings.

Calculated field formulas seem very limiting in scope. I want to avoid converting the pivot table to values. Using a udf on the aggregation of data seems like a logical extension of a pivot table capabilities.

Question: will the above udf work in a pivot table? Willing to post an example if required.
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
No it won't work. You can't use a UDF in a calculated field. Even if you could that one returns text which would be no use.
 
Upvote 0

Forum statistics

Threads
1,222,384
Messages
6,165,669
Members
451,983
Latest member
Raph24

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