VBA to sum value for each surnames, and repeat that for each society.

m0101100101

New Member
Joined
Dec 23, 2022
Messages
1
Office Version
  1. 2021
Platform
  1. Windows
Good morning to everyone,

I am a VBA neophyte who need a VBA formula that allow me to sum for each society (column B) all the value in the penultimate column which are referred to the same surnames in the third-last column. If the sum is major of 50% i have to put 1 in the first white column near.
Someone know how to do that?

thanks in advance to those who can answer me.

Also asked here VBA to sum value for each surname, and repeat that for each society.
 

Attachments

  • esemplification.png
    esemplification.png
    18.1 KB · Views: 18
Last edited by a moderator:

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

Forum statistics

Threads
1,215,053
Messages
6,122,882
Members
449,097
Latest member
dbomb1414

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