SUMIF formula question

aimee_quaife

New Member
Joined
Sep 20, 2010
Messages
8
It's been a while since I've used excel and I'm struggling with a basic formula. Can you help.
Column C 9:22 has Y or N
Column F 9:22 has numbers I want to count IF there is a Y in column C

I tried <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Lucida Grande'; color: #000000}span.s1 {color: #0057d6}span.s2 {color: #006107}</style>=SUMIF(C9:C22,"*Y*",F9:F22)

pressing control shift enter at the end.

It comes up with 0 instead of 16

Any thoughts on what I'm doing wrong?

Thanks!
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
pressing control shift enter at the end.
You don't need to do that with a SUMIF formula.
Just try:
Code:
[COLOR=#333333]=SUMIF(C9:C22,"Y",F9:F22)[/COLOR]
 
Upvote 0
If you want to count the 'Y's in C use COUNTIF.

=COUNTIF(C9:C22, "Y")

If you want to sum the numbers in F when there is a 'Y' in C use SUMIF.

=SUMIF(C9:C22, "Y", F9:22)
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,183
Members
452,615
Latest member
bogeys2birdies

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