=QUERY('DK Salaries'!$1:$1000,
`"Select B, C where A='"&A184&"' 
And B contains'"&O184&"' 
And B contains'"&N184&"' 
And F='"&Q184&"'label B'', C''")

The cell O184 I am referencing contains an Apostrophe. The value is "Da'Ron". This is returning an #VALUE! error:

Unable to parse query string for Function QUERY parameter 2. PARSE_ERROR: Encountered "Ron" at line 1, column 44.... 

How can I edit this QUERY to accommodate a value with an Apostrophe?.

1 Answer 1


Instead of




(replace ' by "")



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.