How to SUM with multiple variable rows?

WouterKabouter

New Member
Joined
Sep 14, 2021
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Hello,
I'm looking for help with a problem I have. This could've been answered already, but I couldn't find anything releated to my issue.

I've put in a part of a very long list with percentages. For Every 'number', which are variable, I need to SUM up the percentages. Because of the variable in the first column, I can't just drag the formula down.

Does anyone of you know which formula I could use for this?

Thank you!

Greetings
 

Attachments

  • Knipsel.PNG
    Knipsel.PNG
    26.2 KB · Views: 11

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Hi & welcome to MrExcel.
How about in I2 copied down
Excel Formula:
=IF(COUNTIFS(F$2:F2,F2)=1,SUMIFS(G:G,F:F,F2),"")
 
Upvote 0
Hi & welcome to MrExcel.
How about in I2 copied down
Excel Formula:
=IF(COUNTIFS(F$2:F2,F2)=1,SUMIFS(G:G,F:F,F2),"")
Thanks for your reply!

It does seem to work, but I'm getting one error. I got the formula pasted into the main table, but I get an error about #NAME. My Excel is in dutch so that's why there is #NAAM on there.
I got another picture added in this message with the used formula on the right side. The Table is 1758 cells long.

Thank you!
Greetings.
 

Attachments

  • Percentages.PNG
    Percentages.PNG
    38.4 KB · Views: 5
Upvote 0
I've fixed the #NAME? Issue. But when i fill in the formula in the first cell, it autofills everthing with zero's. The formula's in my language and english are next to each other.
Thanks!
 

Attachments

  • fdgfd.PNG
    fdgfd.PNG
    50.2 KB · Views: 3
Upvote 0
In Dutch it should be
Excel Formula:
=ALS(AANTALLEN.ALS(A$2:A2;A2)=1;SOMMEN.ALS(B:B;A:A;A2);"")
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,491
Messages
6,125,110
Members
449,205
Latest member
ralemanygarcia

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