Hello, I am looking for a formula to achieve this and can not be a macro.
I have three tables with 3 columns each and different row lengths, need to group all columns by names and make sum of the values on the SUM table like the follow:
[/IMG]
Is it possible without macro?
Thanks in advance for your help.
It is the SumIf function. Basically it will check to see if your criteria matches and then it will sum up the totals.
You will probably need to reorganize your charts a little. What I did is stacked your years together in columns A, B and C and then added the sums in columns F, G and H.
I then added in the follow code to the 'qtty' column of the sum table and the 'price' column.
'qtty
=SUMIF(A:A,F3,B:B)
'price
=SUMIF(A:A,F3,C:C)
--- EDIT
basically it checks all of column A to see if it matches the name in 'F3' and if it does it sums all of the matches in either column 'B' or 'C'.
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.