Problems UsiIng COUNTIF Function

jmitchj

New Member
Joined
Jun 13, 2002
Messages
4
I am trying to use the COUNTIF function, however the result of the Function is not being returned in the cell...The Formula remains in the cell...Can someone tell me how I get the result to return in the cell?
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
=Countif(A1:A25,">0")

The syntax is (the range to count, "the test")

You can make the test most conditions.
"=x" will count all the cells in your range that contain "x" and x can be any text or value.

If this does not help, tell us what you have for data and what you want to count! JSW
 
Upvote 0
Your cell is formatted as Text. Change its format to General or some other appropriate number format, and re-edit the cell.
This message was edited by Mark W. on 2002-06-14 12:10
 
Upvote 0
This is the Function that I am using:
=COUNTIF(d4:d6,1)
Where I want to count the number of occurences of the Number 1 in a range of cells.
The formula remains in the cell after being typed in although the result of the formula in the Pop up box returns the correct result.
 
Upvote 0
Change your formula to this style!

=COUNTIF(A1:A13,"=1")

Change your range, but use "=1" as your test, keep the quotes and equal sign in your test!
 
Upvote 0
Respected Expert(s),
The following formula is not working for me where I want to figure out the count of "F" participants in a set of data over the age of 18

=COUNTIFS($L$7:$L$40,"F",$D$7:$D$40,">18")

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,214,985
Messages
6,122,606
Members
449,089
Latest member
Motoracer88

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