简体   繁体   English

如何从导入的 html 中删除 $

[英]How can I remove $ from imported html

I'm using the following code.我正在使用以下代码。

=(index(IMPORTHTML(concat("https://coinmarketcap.com/currencies/","bitcoin"),"table",1),1,2))

I would like to multiply with the number, however, I can't do that since it is treated as text.我想乘以数字,但是,我不能这样做,因为它被视为文本。

Does any have any clue how I can remove the $ ?有什么线索可以删除$吗?

use:利用:

=INDEX(REGEXREPLACE(IMPORTHTML(
 "https://coinmarketcap.com/currencies/"&"bitcoin", 
 "table", 1), "[\$,]", )*1, 1, 2)

在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何从导入的表中删除不必要的列 - How to remove unnecessary columns from a imported Table 如何从GoogleDrive导入HTML文件 - How i can Import a HTML-File from my GoogleDrive 如何将单元格中的日期从电子表格中提取到我的 HTML - How can I pull a date in cell from spreadsheet to my HTML 从导入的字符串中删除百分位 (%) 并将字符串定义为十进制 - Remove percentile (%) from imported string and define string as decimal 如何使用 IMPORTRANGE 公式对导入的数据动态执行 DATEVLAUE JOIN? - How can I use the IMPORTRANGE formula to dynamically perform a DATEVLAUE JOIN on that imported data? 如何制作应用程序脚本以立即允许访问 Google 电子表格中的所有导入元素? - How can I make an apps script to instantly allow access to all imported elements in a Google Spreadsheet? 如何自动删除 Google 表格特定列中电话号码中的多余字符? - How can I automatically remove extra characters from phone numbers in a specific column on Google Sheets? 如何在 Google 表格中将导入的数据从小数更改为逗号? - How do I change imported data from decimals to commas in Google Sheets? 如何从导入的表中选择特定列? - How to select specific column from imported table? 如何从 excel 中的 URL 中删除 `.html` 扩展名和 `yyyy/dd/mm`? - How to remove `.html` extension and `yyyy/dd/mm` from URL in excel?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM