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

Using Google Sheets cell reference in SOQL Query

$
0
0

I'm using this Google Sheets add-on https://gsuite.google.com/marketplace/app/data_connector_for_salesforce/857627895310 to pull Salesforce information into a sheet via SOQL queries.

I'd like to use a cell reference from my sheet inside one of those queries, but have not found proper documentation on how to do so. Here's examples of what I've tried thus far

SELECT AccountOwner FROM Account WHERE AccountName = '[Sheet1!A1]' - This returns 0 query results, even though the data in cell A1 is a valid AccountName

SELECT AccountOwner FROM Account WHERE AccountName = '"&Sheet1!A1&"' - Again same results as before.

Would anyone be able to provide more insight on how to utilize a cell reference here? Thank you!


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>