-
Notifications
You must be signed in to change notification settings - Fork 536
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Count cells with question mark #328
Comments
It accepts regx, this worked: =countif(C3:C6,"[?]+") New ideas pass through three periods: 1) It can
Hi, |
Thank you, @eddyparkinson, nice tip! Is it correct if I add the link https://wiki.openoffice.org/wiki/Documentation/How_Tos/Regular_Expressions_in_Calc to the document? So for certain functions the string args are treated as regexp by default. Is there a way to turn it off? |
Cleaner solution: =countif(E7:E9,"=?") Chao, suggest you change the "function list" help to something along the lines of: Many functions are impacted, e.g.all these look be using:"The criteria may be a value (15, 1+3) or a test (">25","=x") or a regular expression ("a?", "[a-z]") adding =,>,< causes everything after the operator to be treated as a string.Eddy Parkinson PhD New ideas pass through three periods: 1) It can
Thank you, @eddyparkinson, nice tip! Is it correct if I add the link https://wiki.openoffice.org/wiki/Documentation/How_Tos/Regular_Expressions_in_Calc to the document? So for certain functions the string args are treated as regexp by default. Is there a way to turn it off?— |
ok I looked at SocialCalc.Formula.TestCriteria in formula1.js and am inclined to write this: "if the criteria string does not begin with a comparison operator and dose contain ? or *, then it will be interpreted as an excel wildcard string or as a js regular expression. Please see the source code for a complete list of functions supporting regex." @audreyt, can you please confirm or correct me? |
That sounds about right. Thanks! Chao-Kuei Hung notifications@github.com 於 2016年4月19日週二 10:44 寫道:
Cheers, |
Thanks for your help but I don't get why it is not working in my case.
I tried something like Any clue? |
Thanks for your help but I don't get why it is not working in my case.
|
I end up with this one Thanks for your help. |
Hi,
I'm trying to count the cell's number with a question mark at the end on a text (ex.
Item 1 ?
with=COUNTIF(A2:H49, '?')
. It returns me the count of empty cells.Is it a bug or did I miss something?
The text was updated successfully, but these errors were encountered: