Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9701

'contains' and 'starts with' cannot match text with a character after a hyphen

$
0
0

Google Sheets queries cannot match text using contains or starts with when there the text to match contains a hyphen, and the hyphen is not the last character in the text to match. Am I doing something wrong? If not, is this a bug? Is there a workaround?

Example sheet.

"select count(A) where A starts with '2021-'" will return the count of matching results.

"select count(A) where A starts with '2021-0'", on the other hand, always claims there are no matching results even if there actually are.


Viewing all articles
Browse latest Browse all 9701

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>