![]() |
VOOZH | about |
The CData Excel Add-In for Google Search provides formulas that can query Google Search data. The following three steps show how you can automate the following task: Search Google Search results for a user-specified value and then organize the results into an Excel spreadsheet.
The syntax of the CDATAQUERY formula is the following:
=CDATAQUERY(Query, [Connection], [Parameters], [ResultLocation]);
This formula requires three inputs:
Connection: Either the connection name, such as GoogleSearchConnection1, or a connection string. The connection string consists of the required properties for connecting to Google Search results, separated by semicolons.
To search with a Google custom search engine, you need to set the CustomSearchId and ApiKey connection properties.
To obtain the CustomSearchId property, sign into Google Custom Search Engine and create a new search engine.
To obtain the ApiKey property, you must enable the Custom Search API in the Google API Console.
The procedure below results in a spreadsheet that organizes all the formula inputs in the first column.
=CDATAQUERY("SELECT * FROM VideoSearch WHERE SearchTerms = '"&B3&"'","CustomSearchId="&B1&";ApiKey="&B2&";Provider=GoogleSearch",B4)
👁 Formula inputs used in this example. (Google Apps is shown.)Download a free trial of the Excel Add-In for Google Search to get started:
Download NowLearn more:
👁 Google Search IconThe Google Search Excel Add-In is a powerful tool that allows you to connect with live data from Google, directly from Excel.
Use Excel to connect to Google search results. Perfect for Excel based data analysis, data cleansing, and more!