Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to display Image from URL in Google Sheets? (and apply it to multiple rows)

So I created a list of members in Google Sheets, each member having a profile image, name, location, etc.

I exported this list from import.io, a data extraction tool. The only problem is that when I export it, I get the profile image url for each member, instead of getting the image itself as a thumbnail.

Someone asked a similar question here. I tried using the =image("url") function and it worked, I can see the image.

What I want is a simple way of applying this function to the 200 cells I have that include a link to an image.

Any idea on how this can be achieved?

Thanks

like image 922
Duraid Shaihob Avatar asked Feb 27 '15 08:02

Duraid Shaihob


People also ask

How do I apply multiple rows in Google Sheets?

You can copy a formula down in Google Sheets by using the fill handle (the little blue box in the bottom right corner of a selected cell) to drag over the applicable cells. Or you can use the keyboard shortcut Ctrl+D.

Can Google Sheets fetch data from URL?

Did you know that you can pull data from websites into your Google spreadsheet, automatically? There is an incredibly useful function in Google Sheets called IMPORTXML, which you can use to retrieve data from web pages, where that data is pulled into a Google spreadsheet on an automated basis.


1 Answers

=image() works with Arrayformula so if your image urls are in rows, starting in cell A1, ending in cell A2, formula in B1 would be =Arrayformula(image(A1:A2)).

like image 185
Steven Hoste Avatar answered Sep 23 '22 09:09

Steven Hoste