sum formula needed

kelly mort

Well-known Member
Joined
Apr 10, 2017
Messages
2,169
Office Version
  1. 2016
Platform
  1. Windows
I have a table as below

Col A Col B Col C

a x 23
b y 10
c 12


In A I have only three items that keep repeating. "Say yes", "no", "not sure"

Then in B I have also only two items that keep repeating say male and female. Then in C I have the number of count for each entry.

Now the headache is how to uniquely count them :

1 . How many males said yes
2. How many females said yes
3. How many males said no
4. How many females said no
5. How many males said not sure
6. How many females said not sure

Thanks in advance
Kelly
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
=SUMIFS(C:C,A:A,"no",B:B,"male")
 
Last edited:
Upvote 0
It's hard to see the relation between the sample you show and the verbal description you provide. Care to comment?
 
Upvote 0
It's hard to see the relation between the sample you show and the verbal description you provide. Care to comment?

Okay.

So let's link the a to yes b to no and c to not sure


Then x to male and y to female

Thanks
Kelly
 
Upvote 0
Okay.

So let's link the a to yes b to no and c to not sure


Then x to male and y to female

Thanks
Kelly

So:

[TABLE="class: grid, width: 192"]
<tbody>[TR]
[TD="width: 64, bgcolor: transparent"]yes[/TD]
[TD="width: 64, bgcolor: transparent"]male[/TD]
[TD="width: 64, bgcolor: transparent, align: right"]23[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]no[/TD]
[TD="bgcolor: transparent"]female[/TD]
[TD="bgcolor: transparent, align: right"]10[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]not sure[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent, align: right"]12[/TD]
[/TR]
</tbody>[/TABLE]

What are the expected results?
 
Upvote 0
So:

[TABLE="class: grid, width: 192"]
<tbody>[TR]
[TD="width: 64, bgcolor: transparent"]yes[/TD]
[TD="width: 64, bgcolor: transparent"]male[/TD]
[TD="width: 64, bgcolor: transparent, align: right"]23[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]no[/TD]
[TD="bgcolor: transparent"]female[/TD]
[TD="bgcolor: transparent, align: right"]10[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]not sure[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent, align: right"]12[/TD]
[/TR]
</tbody>[/TABLE]

What are the expected results?

I am counting the number of males who said yes from column c then males who said no etc
 
Upvote 0
You're welcome!
hi.gif
 
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,632
Latest member
jladair

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