Exasperated!

i8ig

Board Regular
Joined
Jul 17, 2007
Messages
122
I have used the following formula in several cells and it works in all but one. =countif(F:F,"Thompson") When I use it as: =countif(F:F,"Rowell") a 0 value is returned even tho when I look at the Function Argument box, this is what I see:

Range: F:F =F:F
Criteria: "Rowell" ="Rowell"

= 9
Counts the number of cells within a rang that meet the given condition.

Range is the range of cells from which you want to count nonblank cells


Formula results = 9

Any idea why it displays 0 instead of 9 in the target cell?
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.

Oaktree

MrExcel MVP
Joined
Jun 20, 2002
Messages
8,105
Office Version
  1. 365
What happens if you select COUNTIF(F:F,"Rowell") in the formula bar and press F9? Do you get 0 or 9?

If it shows 9, you probably just have calculation set to manual (tools --> options --> calculation).

If it shows 0, maybe you misspelled (or have a leading or trailing space in) "Rowell" in the formula?
 

Domski

Well-known Member
Joined
Jan 18, 2005
Messages
7,292
Hi,

Possibly calculation is set to manual.

Have a look at tools...options...calculation and make sure it's set to automatic.

Dom
 

i8ig

Board Regular
Joined
Jul 17, 2007
Messages
122
If I enter it in the formula bar and press F9 the correct result is displayed. Checked the setting and it is on 'automatic'.
Any other suggestions?
 

Oaktree

MrExcel MVP
Joined
Jun 20, 2002
Messages
8,105
Office Version
  1. 365
Try using edit --> replace to replace all = with =
 

i8ig

Board Regular
Joined
Jul 17, 2007
Messages
122
I did as suggested and the cell does reflect the correct count now, however there is no formula in the cell any longer and I really need a formula to continue to tabulate occurances as sheet is added to. Any suggestions?
 

Forum statistics

Threads
1,181,102
Messages
5,928,065
Members
436,586
Latest member
latintxn

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