I have a country list of 245 countries.
Is there any way I can use a VLOOKUP in Google Sheets to import their respective flags?
I was thinking of potentially using a resource such as Wiki or http://www.theodora.com/flags/ but not sure if I can?
Select the cell in which you want to insert the image in a cell in Google Sheets. Click the Insert option in the menu. Hover the cursor over the Image option. Click on the 'Image in cell' option.
A1 = http://www.sciencekids.co.nz/pictures/flags.html
B1 = //@src[contains(.,'flags96')]
A3 = =IMPORTXML(A1,B1)
B3 = =IMAGE(substitute(A3,"..","http://www.sciencekids.co.nz"))
Bonus. Country name:
C1 = ([^/.]+)\.jpg$
C3 = =REGEXEXTRACT(A3,C1)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With