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

Why does google sheets query stop working on 6 decimals (but works on 5)?

$
0
0

I was creating a google sheets query that's pretty simple:

query(<range>,"select Col2 where Col1 contains <number with decimals>")

I noticed that it works when the number with decimals contains just 5 decimals, but breaks when it has 6 decimals! I illustrated this problem here:

enter image description here

You can see the above spreadsheet here

note: knowing this limitation, I'm using this method to make the above work:

query(<range>,"select Col2 where Col1 contains "&trunc(<cell>,5))

Viewing all articles
Browse latest Browse all 9712

Latest Images

Trending Articles



Latest Images

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