Hosted by Dailymotion. For legal issues report at the Copyright Center, report us on DMC, or use the Instant Removal tool.
Collect Data from Anywhere with Google Sheet's ImportXML Function - Excel Tips and Tricks
1 Views • May 01, 2025
Description
Extract City From Address
=TRIM(MID(B2,FIND(",",B2)+2,FIN D(",",B2,FIND(",",B2)+1)-FIND(",",B2)-2))
Extract Population From Webpage (USA) /html/body/article/section[1]/div[1]/p[4]/span
=IMPORTXML(("https://www.citypopulation.de/en/usa/metro"&lower(TRIM(SUBSTITUTE(C2," ","")))),"/html/body/article/section[1]/div[1]/p[4]/span")
Extract Population From Webpage (Canada) /html/body/article/section[1]/table/tbody[2]/tr/td[8]
=IMPORTXML(("https://www.citypopulation.de/en/canada/metro"&lower(TRIM(SUBSTITUTE(C22," ","")))),"/html/body/article/section[1]/table/tbody[2]/tr/td[8]")
Tier Calculation
=IF(D2>=10000000,"Tier 1",IF(D2>=5000000,"Tier 2",IF(D2>=1000000,"Tier 3","Tier 4")))
Source for population
USA
https://www.citypopulation.de/en/usa/metronewyork/
Canada
https://www.citypopulation.de/en/canada/metrocalgary/
ImportXML, google sheet, google, xpath query,
importxml google sheets,import data from password protected website to google sheets,pull data from google spreadsheet to website,importxml locale,how to use importxml,import table from website to google sheets,google sheets import from web,importxml examples,
More from User
Get maximum of comma-separated values in a cell In Excel - Excel Tips and Tricks
ExcelTips247
Consolidate Data from Multiple Table Using SUMIF() in Excel... Another method - Excel Tips and Tricks
ExcelTips247
3D SUM to in Excel to consolidate data from multiple worksheets - Excel Tips and Tricks
ExcelTips247
Create a Fillable Field with Underline In Excel - Excel Tips and Tricks
ExcelTips247
Dynamic Search Box in Google Sheets With Text and Row Highlight - Excel Tips and Tricks
ExcelTips247
Consolidate Data from Multiple Worksheets Using SUM Function - Excel Tips and Tricks
ExcelTips247
Related Videos
Filter Data Dynamically With Excel FILTER Function - Excel Tips and Tricks
ExcelTips247
List of Excel functions in any versions of Excel - Excel Tips and Tricks
ExcelTips247
Convert Data Vertically to Horizontally in Excel ||Advance Excel ||#shorts #excel #computer #tricks @DreamCatcher
DreamCatcher
How to Calculate the Weighted Average in Excel (Using the Function SUMPRODUCT) - Excel Tips and Tricks
ExcelTips247
I Created a FILTER() Function For Excel 2016 and Older Versions - Excel Tips and Tricks
ExcelTips247
I Created a UNIQUE() Function For Excel 2016 and Older Versions - Excel Tips and Tricks
ExcelTips247