Google spreadsheet

From LemonWiki共筆
Revision as of 12:22, 26 November 2011 by Planetoid (talk | contribs) (Created page with "利用Google spreadsheet的函式,分析及統計可複選的問卷題目結果。 == 測試用問卷 == <div style="float:left; padding-right:5px;"> {{#widget:Iframe |url=http...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

利用Google spreadsheet的函式,分析及統計可複選的問卷題目結果。

測試用問卷


問卷原始結果 與 分析結果

使用函式說明

 =IF( REGEXMATCH(C2, "香草") = TRUE, 1, 0)


  • REGEXMATCH(C2, "香草"): 分析某位使用者作答結果(例子是 C2 欄位值),如果是香草則回傳 TRUE ,如果不是香草則會回傳 FALSE
  • IF( REGEXMATCH(C2, "香草") = TRUE, 1, 0): 當結果是 TRUE ,則會回傳 1,如果不是 TRUE 則會回傳 0。如果作答結果中包含香草,欄位值是 1,否則顯示為 0。
  • 最後我們只要把香草分析結果的數字,加總(sum)即可得到喜愛香草的數量。




參考資料: Google Docs Help