公式註解是包含在公式中的摘要文字,用來解說公式的設計及操作方式。註解不會列印,也不會影響公式;它們只會出現在 [公式編輯器] 中。請使用註解來說明公式的目的,或說明寫公式時進行的步驟。
註解的開始是兩條斜線 (//),後面跟著註解文字。在斜線後同一行的所有文字都會被視為註解的一部份:
//This formula returns the string "Hello" //This is another comment "Hello" //Comments can be added at the end of a line //Comments can occur after the formula text