#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 103
Default COUNTIF problem

greetings, i'm using COUNTIF formula to count responses from a survey and am
having problem as the formula can't distinguish between "N" and "N*"

however, another part of database includes responses "Highest" and
"Highest*" and COUNTIF seemingly can tell the difference here. any ideas?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default COUNTIF problem

The * is a wildcard character. N* means N followed by anything. Is that how
you want it to work or are you wanting to count the literal string N* ?

To count the literal string N* :

=COUNTI(A1:A100,"N~*")

The tilde character is a wildcard "escape" character.

--
Biff
Microsoft Excel MVP


"mwam423" wrote in message
...
greetings, i'm using COUNTIF formula to count responses from a survey and
am
having problem as the formula can't distinguish between "N" and "N*"

however, another part of database includes responses "Highest" and
"Highest*" and COUNTIF seemingly can tell the difference here. any ideas?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 103
Default COUNTIF problem

hi biff, appreciate quick reply, thank you


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default COUNTIF problem

You're welcome!

I guess you figured out my typo? I forgot the "F" in COUNTIF!

=COUNTI(A1:A100,"N~*")


Should be:

=COUNTIF(A1:A100,"N~*")


--
Biff
Microsoft Excel MVP


"mwam423" wrote in message
...
hi biff, appreciate quick reply, thank you




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 103
Default COUNTIF problem


hi biff, didn't even notice the typo as we probably won't be tweaking
formula for solution (but N~* to identify literal "N*" is great stuff and,
i'm sure, will come in handy. got the gist of the problem once i read your
reply and since our process is pretty formalized, we can ensure, for
instance, that a space precedes any asterisk. COUNTIF easily recognizes that
difference, thanks for the expertise!



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default COUNTIF problem

Good deal. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"mwam423" wrote in message
...

hi biff, didn't even notice the typo as we probably won't be tweaking
formula for solution (but N~* to identify literal "N*" is great stuff and,
i'm sure, will come in handy. got the gist of the problem once i read
your
reply and since our process is pretty formalized, we can ensure, for
instance, that a space precedes any asterisk. COUNTIF easily recognizes
that
difference, thanks for the expertise!



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Countif problem Jim[_6_] Excel Discussion (Misc queries) 2 April 14th 08 02:07 PM
COUNTIF problem Phil C Excel Discussion (Misc queries) 4 May 29th 07 04:28 PM
CountIF problem jjj Excel Discussion (Misc queries) 2 September 29th 05 10:34 AM
COUNTIF / SUM problem RobPot Excel Worksheet Functions 2 July 28th 05 12:21 PM
countif problem WYN Excel Discussion (Misc queries) 4 April 25th 05 04:28 PM


All times are GMT +1. The time now is 09:22 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"