Countif help

Status
Not open for further replies.

Bourgeois

New Member
Joined
Mar 3, 2009
Messages
43
Hi,

I am having trouble with this particular formula, I am not too sure, as it does work on another area of my spreadsheet.

Criteria,

A B
1 Health Dental
2
3 F S
4 SpEx SpEx
5 S S
6 F F
7 F F

=countif(A3:A7,"f")
=countif(A3:A7,"s")

because i have the SpEx in there it is not working. If I take it out the formula works just fine? Is there a way around this?



formula is, countif(
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"

texasalynn

Well-known Member
Joined
May 19, 2002
Messages
8,458
you last formula is cut out
But Seems ok to me

Excel Workbook
AB
1HealthDental
2**
3FS
4SpExSpEx
5SS
6FF
7FF
8**
931
Sheet1
 
Upvote 0

schielrn

Well-known Member
Joined
Apr 4, 2007
Messages
6,941
What exactly is wrong? Are you not getting the results you expect? From this example I would expect 3 for the first formula and 1 for the 2nd?
 
Upvote 0

Bourgeois

New Member
Joined
Mar 3, 2009
Messages
43
ADVERTISEMENT
but your total should be 2 for the formula in B9?
 
Upvote 0

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
68,042
Office Version
  1. 365
Platform
  1. Windows
I am going to lock this one, and leave the other one open since that one has more responses and more recent responses.

You have the ability to delete any accidental duplicates you make in the first 5-10 minutes after posting as long as no one has replied. If it is past that time, you can click on the Report button and ask a Moderator to take care of it.
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,195,716
Messages
6,011,274
Members
441,598
Latest member
chrispaulpearce

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
Top