![](/img/trans.png)
[英]Copy value from specific cell in google spreadsheet to another via button
[英]Extract two words from a cell in to another cell in google spreadsheet
我是Google電子表格的新手,並且要將c10范圍中提到的班級名稱復制到b3中。 我正在嘗試使用以下公式,但我知道這是錯誤的:
=query(C3:C52, "copy class name where C contains 'class' in cell c10 ")
C10單元格包含以下數據:
<body bgcolor="beige" class="body"> <div class="big_wrapper">
我想在單元格b3中出現以下兩個單詞:
body big_wrapper
請更正上面的公式。
為了更加清晰,請訪問以下鏈接的sheet1:
https://docs.google.com/spreadsheets/d/1HfgOqprc-P34vOI-nGAionllrGAOsMOVuLB5ozboWBY/edit#gid=0
可能有更簡單的方法,但是請嘗試(在B3中):
=join(" ", regexextract(C10, "class="&char(34)&"(.+?)"&char(34)&">.+class="&char(34)&"(.+?)"&char(34)&">"))
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.