Sum cells in one column using values of equal sized merged cells in another column

sushil985

New Member
Joined
Feb 21, 2016
Messages
5
Hi ..
Please help me with a formula which adds values of column VALUES depending on the MERGED column .. i am trying to use sumif but this takes the merged cells as only the first cell. Each merged cell is 4 rows . i know that this can easily be done in vba but i am trying to figure out a way using formulae.
 
Hi Sushil,

Merging is a disease for excel.
I would suggest you to unmerge or use a helper column.

suppose you have merged data in F6:F9, then use enter
below formula in E6:-
=F6
below formua in E7:-
=IF(F7=0,E6,F7)
and drag down till E9.

Now you have unmerged data in column E, using which you can do sumif.


Regards,
DILIPandey
 
Upvote 0

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