VBA code help

Nawin616

New Member
Joined
Oct 27, 2020
Messages
9
Office Version
  1. 2016
Platform
  1. Windows
HI I need help with vba code to do the following :

in the below snapshot i need to populate SUMIF formula in column C and i need to populate SUM formula for each category .
Eg : range C2,C3,C4 =sumif(Formula) and C5 should be sum(C2:c4) and D5 = Sumif(Formula)
similarly for the next category C9,C10......C15 = sumif(formula) and C16= sum(C9:C15) & D16 = = Sumif(Formula) and same goes on for the next category as well.

is it possible to do in vba ? can anyone help.. Thank you in advance.


1652433404349.png
 

Attachments

  • 1652433278054.png
    1652433278054.png
    17 KB · Views: 3

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

Forum statistics

Threads
1,214,849
Messages
6,121,922
Members
449,056
Latest member
denissimo

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