trouble with COUNTIF

sophie619

New Member
Joined
Aug 23, 2013
Messages
23
I'm probably forgetting something simple, but can someone take a look and tell me what's wrong? My COUNTIF statement doesn't seem to be working.

I've used Chip Pearson's "View Cell Contents" Add-in to see if the cells held any special characters, but from what I can tell, they match. But COUNTIF shows 0 in the range.
My Range is in Column A, the test criteria are in Column C, and I used FORMULATEXT in Column E to show the formulas used in Column D

Thanks in advance!
 

Attachments

  • COUNTIF test.png
    COUNTIF test.png
    114.2 KB · Views: 4

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
You are looking for literals, but the values in C are seen as "Less Then 3". Where you look for literally "<3".

Maybe try this.
Copy of Copy of PER SHEET.xlsx
BCDEF
3<3<33
4<6<62
5<9<94
6<912+2
7<9
812+
9<3
10<3
11<6
12<9
1312+
Sheet1
Cell Formulas
RangeFormula
F3:F6F3=COUNTIF($B$3:$B$13,"*"&D3)
 
Upvote 0

Forum statistics

Threads
1,215,006
Messages
6,122,665
Members
449,091
Latest member
peppernaut

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