Home > Enterprise >  Trouble retrieving numbers using IMPORTXML
Trouble retrieving numbers using IMPORTXML

Time:12-15

does anyone know how to grab the # of networks (as marked out below) in a list on this enter image description here

CodePudding user response:

try:

=QUERY(IMPORTXML(A1, "//div[@class='scrollable']/div"), 
 "select Col3 where Col3 is not null")

enter image description here

CodePudding user response:

Try

=importxml(A1,"//div[@class='scrollable']//div[@class='participants']")

enter image description here

You can get all data at once by

=importxml(A1,"//div[@class='scrollable']//div[@class='exchange']|//div[@class='scrollable']//div[@class='name']|//div[@class='scrollable']//div[@class='participants']")

enter image description here

  • Related