Doubt about countif

LUCADIROMA2004

New Member
Joined
Jan 21, 2019
Messages
2
Hallo,

I've this little problem to solve.

I have a list of names in a column. Every name has one of the following values to associate with: 1 or 0.5.

- Mr John (value 1)
- Mr Morrison (value 0.5)
- Mr Morrison (value 0.5) (a single name could be present more times)
- Mr X (value 1)
- Mr X (value 1)

and so on.

I need the sum for every single name in a separate cell.

for egg
Mr Morrison 1 (0.5+0.5)
Mr X 2

and so on
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Hi & welcome to MrExcel
how about
=SUMIF($A$2:$A$15,A2,$B$2:$B$15)
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,215,523
Messages
6,125,318
Members
449,218
Latest member
Excel Master

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