Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/google-sheets/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google sheets 在谷歌工作表中将文本重新格式化为数字的更简单方法_Google Sheets_Currency_Google Sheets Formula_Array Formulas - Fatal编程技术网

Google sheets 在谷歌工作表中将文本重新格式化为数字的更简单方法

Google sheets 在谷歌工作表中将文本重新格式化为数字的更简单方法,google-sheets,currency,google-sheets-formula,array-formulas,Google Sheets,Currency,Google Sheets Formula,Array Formulas,我有一个Google Sheets单元格,内容如下:5300.23英镑,我找不到一种简单的方法将其重新格式化为数字 我当前的解决方案分为三个步骤: 删除货币符号(=替换(A1,“;”,“)) 将特殊内容粘贴到新列中 然后将列格式化为“number” 有更好的方法吗?对替换的结果使用Value: =VALUE(SUBSTITUTE(A1,"£","")) 您可以简单地执行以下操作: =SUBSTITUTE(A18, "£", )*1 而arrayformula将是: =ARRAYFORMUL

我有一个Google Sheets单元格,内容如下:5300.23英镑,我找不到一种简单的方法将其重新格式化为数字

我当前的解决方案分为三个步骤:

  • 删除货币符号(
    =替换(A1,“;”,“)
  • 将特殊内容粘贴到新列中
  • 然后将列格式化为“number”

  • 有更好的方法吗?

    替换
    的结果使用
    Value

    =VALUE(SUBSTITUTE(A1,"£",""))
    
    您可以简单地执行以下操作:

    =SUBSTITUTE(A18, "£", )*1
    

    而arrayformula将是:

    =ARRAYFORMULA(SUBSTITUTE(A18:A20, "£", )*1)