countifs incorrect

santamills

New Member
Joined
Feb 26, 2017
Messages
2
I have 2 columns. Names are NAT_APP and NAT_BAS_Evidence
Both columns are GENERAL
I want to count where NAT_APP is "B" and NAT_BAS_Evidence is 6

Formula
=COUNTIFS(NAT_APP,"*B*",NAT_BAS_Evidence,"*6*")

If Column NAT_BAS_Evidence has a '6 it is counted but a 6 is not counted. Why??? I do not want to overtype every 6 in the raw data with a '6
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Wildcards don't work on numeric values.

Try either

=COUNTIFS(NAT_APP,"*B*",NAT_BAS_Evidence,6)
=COUNTIFS(NAT_APP,"*B*",NAT_BAS_Evidence,"6")
 
Upvote 0
I do not want to overtype every 6 in the raw data with a '6
...
If you have a mix of '6 (text) and 6 (numeric), it would probably be to convert to just 1 type (numeric), anyway - always better to work with just 1 data type. You could do that pretty easily with Find/Replace
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,771
Members
452,353
Latest member
strainu

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