Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / August 2007

Tip: Looking for answers? Try searching our database.

Countif

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ML - 18 Aug 2007 17:12 GMT
Hi.
I'm doing a spreadsheet for exam results statistics at the school where I
work.
In a column I'm using =COUNTIF(E23:AE23,"A") for the rows of each pupil
where the columns are the subjects.
Trouble is when I use =COUNTIF(E23:AE23,"A*") it counts the A and the A*,
How can I seperate the two?
Thanks
D
Ron Coderre - 18 Aug 2007 17:20 GMT
Since the asterisk (*) is a wildcard, you need to flag it as a literal
asterisk by preceeding it with a tilde (~).

Try this:
=COUNTIF(E23:AE23,"A~*")

Does that help?
***********
Regards,
Ron

XL2003, WinXP

> Hi.
> I'm doing a spreadsheet for exam results statistics at the school where I
[quoted text clipped - 5 lines]
> Thanks
> D
Wild Bill - 18 Aug 2007 17:31 GMT
>Hi.
>I'm doing a spreadsheet for exam results statistics at the school where I
[quoted text clipped - 3 lines]
>Trouble is when I use =COUNTIF(E23:AE23,"A*") it counts the A and the A*,
>How can I seperate the two?
Use "A~*"
Tilde is an escape character for wildcards in some Excel operations.

Of course you could have subtracted the "A" result from "A*" but as the
* is a wildcard, that would bring in other results like AAA, if such
exist.
ML - 19 Aug 2007 09:20 GMT
I knew you guys would have the answer
Thank you!!
D

>>Hi.
>>I'm doing a spreadsheet for exam results statistics at the school where I
[quoted text clipped - 9 lines]
> * is a wildcard, that would bring in other results like AAA, if such
> exist.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.