create a summary table from another table and add formulae

merlin777

Well-known Member
Joined
Aug 29, 2009
Messages
1,397
Office Version
  1. 2007
I have a table with a share portfolio on one sheet which includes the stock name and book values amongst other columns. Some stocks appear more than once (intentionally). Shares come and go so the table changes regularly.

From that table's data, on another sheet I want to summarise the total book value for each share (and therefore each share must appear only once). However, to each row in the summary table I need to add 3 extra columns, one will be a number value (manually added) pertaining to that share and the others will be a mathematical formula and an IF formula.

I've thought about using a pivot table but i'm not good with those and I can't see how I would add the extra columns and get the rows to follow changes in the rows of the pivot table.

I don't mind if I have to refresh it manually.

Please could someone suggest an approach to get me started?

many thanks.
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
OK, I'm part way there.

I figured out how to add columns with 'calculated field' but it isn't very friendly.

I can't work out how to add a column to the pivot table with a unique value for that stock or how to refer to that column in a calculated field formula.

What I want to end up with is:

stock name / sum of values of that stock / target value for stock / sum of values-target value / increase, decrease or hold

So, the first 2 columns are already taken care of by the pivot table, the 3rd column I need to enter a target value manually, the 4th column calculates the difference between the sum and the target and the last column will be an IF formula which returned if that stock needs to be increased, decreased or left alone.

any thoughts gratefully received....
 
Upvote 0

Forum statistics

Threads
1,224,813
Messages
6,181,111
Members
453,021
Latest member
Justyna P

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