By default, the =IMPORTFROMGOOGLE() function returns the first 10 Google results with the body, description, and URL. Since we’re looking for the LinkedIn URL of the profile we can use the link data selector.
And as there’s a high probability that the profile’s LinkedIn URL will be the first result, we can limit the number of results using num_results option.
Just add this formula: =IMPORTFROMGOOGLE(A2&"LinkedIn","link","num_results:1")
Within seconds, you’ll get the first LinkedIn profile URL!
To extract the profile URLs for other social media platforms, simply replace “LinkedIn” with the name of the platform; for example, “Instagram” or “Facebook”.
We’ve designed an easy-to-use template. Make sure you have installed and activated ImportFromWeb in your Google Sheets.