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

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
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,216,111
Messages
6,128,899
Members
449,477
Latest member
panjongshing

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