Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How to remove case sensitive in google sheet query

I queried from my sheet but its case sensitive. How can I remove it? My query as below:

=ArrayFormula(IFNA(IF(QUERY('pending SKUs'!E2:AQ,"select F, G, H, L, M, N, O, I where E='tree' AND P <> 2 AND P <> 3 AND X='Pass' AND AQ <> 'Rejected'")="",0,
QUERY('pending SKUs'!E2:AQ,"select F, G, H, L, M, N, O, I where E='tree' AND P <> 2 AND P <> 3 AND X='Pass' AND AQ <> 'Rejected'")),""))

I want to include "tree tree", "TREE tree", "Tree tree" and any other possible case used between all the alphabets.

I also prepared the gsheet: https://docs.google.com/spreadsheets/d/1DwgOVhsChyCw4NQtUyOx3q_4BoXLpBkN0U0RllNHFec/edit#gid=123192750

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

You only need to include lower() function to your where condition part. Try-

=ArrayFormula(IFNA(IF(QUERY('pending SKUs'!E2:AQ,"select F, G, H, L, M, N, O, I where lower(E)='tree tree' AND P <> 2 AND P <> 3 AND X='Pass' AND AQ <> 'Rejected'")="",0,
QUERY('pending SKUs'!E2:AQ,"select F, G, H, L, M, N, O, I where lower(E)='tree tree' AND P <> 2 AND P <> 3 AND X='Pass' AND AQ <> 'Rejected'")),""))
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading