Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Countif
Hi,
I have a list of student exam grades that include A and A*. However, I can't use countif to calculate the number of A* (returns the total of A and A*) trying to countif the * doesn't work either (* is used as a wildcard and returns everything!). I've tried using single quotation marks but to no avail! Any suggestions? Thanks |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Countif
Hi
Try =COUNTIF(A1:A100,"=A~*") -- Regards Roger Govier "Tubthumper" wrote in message ... Hi, I have a list of student exam grades that include A and A*. However, I can't use countif to calculate the number of A* (returns the total of A and A*) trying to countif the * doesn't work either (* is used as a wildcard and returns everything!). I've tried using single quotation marks but to no avail! Any suggestions? Thanks |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Countif
=COUNTIF(A1:A100,"A~*")
"Tubthumper" wrote: Hi, I have a list of student exam grades that include A and A*. However, I can't use countif to calculate the number of A* (returns the total of A and A*) trying to countif the * doesn't work either (* is used as a wildcard and returns everything!). I've tried using single quotation marks but to no avail! Any suggestions? Thanks |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Countif
Just to add...
* and ? are wild cards. To find them (edit|Find or =sumif(), =countif(), you use a ~ to tell excel that you want to treat the next character as that character--not the wild card. Use ~* to find/replace * ~? to find/replace ? ~~ to find/replace ~ Tubthumper wrote: Hi, I have a list of student exam grades that include A and A*. However, I can't use countif to calculate the number of A* (returns the total of A and A*) trying to countif the * doesn't work either (* is used as a wildcard and returns everything!). I've tried using single quotation marks but to no avail! Any suggestions? Thanks -- Dave Peterson |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
Countif
Hi Dave
I guess I was being too darned lazy again with my response. Thanks for providing the OP with the detailed reason why the tilde ~ makes it work. -- Regards Roger Govier "Dave Peterson" wrote in message ... Just to add... * and ? are wild cards. To find them (edit|Find or =sumif(), =countif(), you use a ~ to tell excel that you want to treat the next character as that character--not the wild card. Use ~* to find/replace * ~? to find/replace ? ~~ to find/replace ~ Tubthumper wrote: Hi, I have a list of student exam grades that include A and A*. However, I can't use countif to calculate the number of A* (returns the total of A and A*) trying to countif the * doesn't work either (* is used as a wildcard and returns everything!). I've tried using single quotation marks but to no avail! Any suggestions? Thanks -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
sumproduct vs. countif | Excel Discussion (Misc queries) | |||
Countif Formula /Sort Bug??? | Excel Discussion (Misc queries) | |||
COUNTIF or not to COUNTIF on a range in another sheet | Excel Worksheet Functions | |||
Combining IF and COUNTIF based on two columns | Excel Discussion (Misc queries) | |||
Countif - Countif | Excel Worksheet Functions |