Hi, ive created a pivot table from my data.
From the table I want to build a formula that calculates differences between two columns (asset and liability).
I want just the formula in vba form, because I want to paste that formula after the last column of the pivot table in autofill mode.
The pivot changes in column number and row number so i cant really hard-code the formula to any cell or use the conventional method of using the pivot field settings.
Attached is a sample data. Need to calculate columns A minus B based on the Header "Name", not column and in VBA using Pivot table.
Bookmarks