Sum from multiple columns

aliaslamy2k

Active Member
Joined
Sep 15, 2009
Messages
416
Office Version
  1. 2019
Platform
  1. Windows
Dear Experts,

Please help me with a formula to get the total of each countries from multiple columns.

Example Lebanon : 50 + 216+192
Kyrgystan : 50 + 20


Excel Question.png
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Cannot manipulate data in a picture. Please reload your data sample using XL2BB
 
Upvote 0
Dear Alansidman.

Please find below, as requested. Thank you so much


Assigned CountriesTotal AssignedAssigned CountriesTotal AssignedAssigned CountriesTotal AssignedAssigned CountriesTotal AssignedAssigned CountriesTotal AssignedTunisia361
India95232Lebanon50100Lebanon216236Lebanon192219Russia9090India0
Sri Lanka102Kyrgystan50Kyrgystan20Spain27Sri Lanka#REF!
Kenya35Kenya
Lebanon
Kyrgystan
Spain
Russia
 
Upvote 0
Firstly, I suggest that you update your Account details or your signature or both as this is quite confusing. ;)

1655108207906.png
1655108238131.png


Does this do what you want?

22 06 13.xlsm
ABCDEFGHIJKLMNOPQRSTUVW
1Assigned CountriesTotal AssignedAssigned CountriesTotal AssignedAssigned CountriesTotal AssignedAssigned CountriesTotal AssignedAssigned CountriesTotal AssignedTunisia0
2India95232Lebanon50100Lebanon216236Lebanon192219Russia9090India95
3Sri Lanka102Kyrgystan50Kyrgystan20Spain27Sri Lanka102
4Kenya35Kenya35
5Lebanon458
6Kyrgystan70
7Spain27
8Russia90
Country totals
Cell Formulas
RangeFormula
W1:W8W1=SUMIF(A$2:Q$4,V1,B$2:R$4)
 
Upvote 0
Solution
Dear Peter,

I have updated my account. Thank you so much for giving me perfect formula. Its working absolutely fine.

Thank you once again



Firstly, I suggest that you update your Account details or your signature or both as this is quite confusing. ;)

View attachment 66928 View attachment 66929

Does this do what you want?

22 06 13.xlsm
ABCDEFGHIJKLMNOPQRSTUVW
1Assigned CountriesTotal AssignedAssigned CountriesTotal AssignedAssigned CountriesTotal AssignedAssigned CountriesTotal AssignedAssigned CountriesTotal AssignedTunisia0
2India95232Lebanon50100Lebanon216236Lebanon192219Russia9090India95
3Sri Lanka102Kyrgystan50Kyrgystan20Spain27Sri Lanka102
4Kenya35Kenya35
5Lebanon458
6Kyrgystan70
7Spain27
8Russia90
Country totals
Cell Formulas
RangeFormula
W1:W8W1=SUMIF(A$2:Q$4,V1,B$2:R$4)
 
Upvote 0
You're welcome. Thanks for the follow-up. :)

.. and for fixing those account details. (y)
 
Upvote 0

Forum statistics

Threads
1,221,490
Messages
6,160,133
Members
451,622
Latest member
xmrwnx89

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