Skip to content

Instantly share code, notes, and snippets.

@thedarsideofit
Last active August 22, 2021 17:05
Show Gist options
  • Save thedarsideofit/e9a2207bf40255a8e4f440f096216e29 to your computer and use it in GitHub Desktop.
Save thedarsideofit/e9a2207bf40255a8e4f440f096216e29 to your computer and use it in GitHub Desktop.
Selector para Obligaciones Negociables https://www.byma.com.ar/especie/irc9o/
//Poner esta fórmula en Google Sheets
//F13 sería la url = https://www.byma.com.ar/especie/irc9o/
=INDEX(IMPORTXML(F13,"//ul[@class='species-values']//span"),1)
//Alternativa si necesitan formatear el texto a número reemplaza '.' por '' y ',' por '.'
=SUBSTITUTE(SUBSTITUTE(INDEX(IMPORTXML(F13,"//ul[@class='species-values']//span"),1),".",""),",",".")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment