站內搜索
數字筆記珍寶插件 OneNoteGem
  • 首頁
  • 插件
    • Windows Office 插件 >
      • 數字筆記珍寶 Gem for OneNote 79.0.0.365
      • 批量處理器 OneNote Batch 40.3.0.223
      • 數字筆記思維導圖插件 Mind Map for OneNote 12.6.0.79
      • 數字筆記珍寶之至愛 OneNote Gem - Favorites 36.2.0.146
      • 腦橋 Pons for MindManager and OneNote 20.2.25.78
      • 自動工具 Auto OneNote 3.9.0.36
      • 搜索工具欄 OneNote Search Bar 7.3.0.36
      • 筆記錨 Anchor to OneNote 17.0.0.98
      • 筆記 PDF 錨 Anchor to OneNote for PDF 7.0.0.26
      • 表格行筆記 Row to OneNote 15.0.0.51
      • 添加到數字筆記 Bring to OneNote 18.1.0.111
      • 收藏到數字筆記 Favorite to OneNote 17.0.0.67
      • 腦橋 Pons for Visio and OneNote 10.3.0.31
      • 彩虹橋 Bridge for EndNote and OneNote 7.3.0.31
      • 珍寶表格 Gem Table for OneNote 6.0.0.18
    • Windows Web 雲端插件 >
      • 精摘板 CiteBoard for OneNote 3.0.0.5
      • 視窗版思維壹圖 OneMind 雲版
      • OneNote 共享頁面閱讀器 OneReader 1.0.0.0
      • OneNote Reminder 提醒工具(雲版)
      • 雲版批量處理器 OneNote Batch Cloud 8.0.0.19
    • Mac 插件 >
      • 蘋果版珍寶菜單 Gem Menu for Mac OneNote 20.5.2.184
      • 精摘板 CiteBoard for OneNote 3.0.0.5
      • 蘋果版思維壹圖 OneMind for Mac OneNote
      • 蘋果版批量處理器 OneNote Batch for Mac 10.2.0.70
      • 蘋果版 Fix One for Mac 修復 Mac OneNote 登錄、同步工具 2.0
      • 蘋果版提醒工具 OneNote Reminder for Mac
    • 安卓插件 >
      • 精摘板 CiteBoard for OneNote 3.0.0.5
      • 安卓版 Fix One for Android 修復 OneNote 登錄、同步工具 1.0
    • 跨平臺插件 >
      • 思維壹圖 OneMind for OneNote 2.10.0.26
      • 提醒工具 OneNote Reminder 16.0.0.81
      • 精摘板 CiteBoard for OneNote 3.0.0.5
      • Fix One 修復 OneNote 網絡登錄同步工具
    • Markdown 插件 >
      • 數字筆記珍寶 Gem for OneNote 79.0.0.365
      • 珍寶壹脈 One Markdown 4.1.0.15
    • 思維導圖插件 >
      • 數字筆記思維導圖插件 Mind Map for OneNote 12.6.0.79
      • 數字筆記珍寶之至愛 OneNote Gem - Favorites 36.2.0.146
      • 思維壹圖 OneMind for OneNote 2.10.0.26
      • 腦橋 Pons for MindManager and OneNote 20.2.25.78
      • 腦橋 Pons for Visio and OneNote 10.3.0.31
    • 其他插件 >
      • UWP 版珍寶菜單 Gem Menu for OneNote UWP 25.1.0.54
      • 珍寶壹脈 One Markdown 4.1.0.15
      • 剪輯到數字筆記 Clip to OneNote
      • 珍寶文檔筆記 Gem WordNote 9.3.0.23
      • OneNote 單頁面共享 OneShare
      • Fix One for Windows 修復 OneNote 登錄同步工具 14.1
      • OneNote for Windows 10 起死回生版 UWP Reviver 1.1
  • 購買
  • 模板
  • 文檔教程
  • 疑難問題
  • 支持
  • 珍寶文檔筆記
思維導圖
 
AD
 
使用 OneNote 原生元素來創建思維導圖。時間軸。

OneNote 表格裏的公式計算

2019-11-13
 
OneNote 表格公式是 Gem for OneNote 的壹組功能。這組功能為 OneNote 的表格添加類似 Excel 的公式,用於計算統計單元格。

如何找到 OneNote 表格公式
OneNote 表格公式隱藏在第二個“珍”選項卡中。當妳在 OneNote裏選中表格時,該選項卡才會出來。

首先,在 OneNote 當前頁面裏,創建或者選中壹個表格。這是 OneNote 功能區會多出壹個“表格工具”的隱藏選項卡集合,這個選項卡集合顯示有 2 個選項卡“布局”和“珍”選項卡。

其中“珍”選項卡則是 Gem for OneNote 的選項卡,專門用於針對表格的處理功能。表格公式就在這個組裏。
如何找到 OneNote 表格公式
 
在單元格裏插入公式
首先,妳可以選中壹個或者選中壹組單元格。然後在點擊“表格公式”功能。則會彈出壹個“Formula”的對話框。

在 Formula  公式對話框裏:
  •     在 Formula:輸入框,輸入妳的公式
  •     在 Format:輸入框裏,輸入格式。用於對公式計算的結果,按壹定的格式顯示到單元格裏。
  •     Function 列表裏,則是列出 Gem 表格公式支持的函數。


點擊“OK”按鈕,則會把公式放到這個單元格裏,並顯示格式化的計算結果。
如果選中的是多個單元格,則 Gem 會應用這個公式到所有選中的單元格,同時會自動調整公式裏的單元格地址,以相對性的進行計算。

比如:對 單元格 D3 到 D14 進行批量應用公式 D2+B3-C3
則應用公式後的結果是:
  •     單元格 D3 得到的公式是 D2+B3-C3
  •     單元格 D4 得到的公式是 D3+B4-C4
  •     單元格 D5 得到的公式是 D4+B5-C5
  •     ……
在單元格裏插入公式
 
​修改單元格裏的公式
如果想修改單元格裏已經存在的公式,則先選中這個單元格,或者選中這組單元格,再點擊壹次“表格公式”。還在彈出的 Formula 對話框裏進行公式修改。

刪除單元格公式
如果想刪除單元格裏的公式,可以先選中這個單元格(或者選中這組單元格),再點擊功能區上的“公式”組裏“刪除”就可以把公式從這些單元格裏移除掉了。

高亮存在公式的單元格
如果想知道哪裏單元格包含公式,則可以點擊功能區上的”公式”組裏的“含公式格”,則會選中表格裏所有包含公式的單元格。

重新計算單元格數值
在表格裏修改完部分數值後,表格公式並不會自動計算數值,妳需要到功能區裏“公式”組,點擊“重新計算”功能,來讓表格裏的公式重新計算。
 

 
單元格地址、單元格區域
單元格地址使用 A1 的格式指定壹個單元格、壹組單元格或壹個單元格區域。
在此約定中,字母表示單元格所在的列,數字表示單元格所在的行。
表格中的第壹列為列 A;第壹行為行 1。

第壹列第二行中的單元格
A2

第壹行中的前兩個單元格
A1,B1

第壹列中的所有單元格以及第二列中的前兩個單元格
A1:B2

第壹行
1:1

第壹列
A:A
單元格地址、單元格區域
 
​算數操作符
算數操作符包括:+,-,*(乘),/
例子 1:
單元格 D2 加上 單元格 B3 減去 單元格 C3
D2+B3-C3

其他例子:
  •     If( (D2+B3-C3)>(D3+B4-C4), (D2+B3-C3), (D3+B4-C4) )
  •     SUM(A:A) * SUM(B:B)


關系操作符
關系操作符包括: <, >, <=, >=, =

關系操作符的使用:
  •     If( D3>D4, D3, D4)
  •     AND(SUM(LEFT)<10,SUM(ABOVE)>=5)
 

 

顯示格式

 

Date

以日期 2020-01-15 的格式顯示值。
 

Time

以時間 09:12:13  的格式顯示值。
 

DateTime

以日期時間 2020-01-15 09:12:13 的格式顯示值。
 

Date: yyyy/mm/dd hh:nn:ss

以自定義的日期時間格式顯示值。


Specifier Displays
c Displays the date using the format given by the ShortDateFormat global variable, followed by the time using the format given by the LongTimeFormat global variable. The time is not displayed if the date-time value indicates midnight precisely.
d Displays the day as a number without a leading zero (1-31).
dd Displays the day as a number with a leading zero (01-31).
ddd Displays the day as an abbreviation (Sun-Sat) using the strings given by the ShortDayNames global variable.
dddd Displays the day as a full name (Sunday-Saturday) using the strings given by the LongDayNames global variable.
ddddd Displays the date using the format given by the ShortDateFormat global variable.
dddddd Displays the date using the format given by the LongDateFormat global variable.
e (Windows only) Displays the year in the current period/era as a number without a leading zero (Japanese, Korean, and Taiwanese locales only).
ee (Windows only) Displays the year in the current period/era as a number with a leading zero (Japanese, Korean, and Taiwanese locales only).
g (Windows only) Displays the period/era as an abbreviation (Japanese and Taiwanese locales only).
gg (Windows only) Displays the period/era as a full name (Japanese and Taiwanese locales only).
m Displays the month as a number without a leading zero (1-12). If the m specifier immediately follows an h or hh specifier, the minute rather than the month is displayed.
mm Displays the month as a number with a leading zero (01-12). If the mm specifier immediately follows an h or hh specifier, the minute rather than the month is displayed.
mmm Displays the month as an abbreviation (Jan-Dec) using the strings given by the ShortMonthNames global variable.
mmmm Displays the month as a full name (January-December) using the strings given by the LongMonthNames global variable.
yy Displays the year as a two-digit number (00-99).
yyyy Displays the year as a four-digit number (0000-9999).
h Displays the hour without a leading zero (0-23).
hh Displays the hour with a leading zero (00-23).
n Displays the minute without a leading zero (0-59).
nn Displays the minute with a leading zero (00-59).
s Displays the second without a leading zero (0-59).
ss Displays the second with a leading zero (00-59).
z Displays the millisecond without a leading zero (0-999).
zzz Displays the millisecond with a leading zero (000-999).
t Displays the time using the format given by the ShortTimeFormat global variable.
tt Displays the time using the format given by the LongTimeFormat global variable.
am/pm Uses the 12-hour clock for the preceding h or hh specifier, and displays 'am' for any hour before noon, and 'pm' for any hour after noon. The am/pm specifier can use lower, upper, or mixed case, and the result is displayed accordingly.
a/p Uses the 12-hour clock for the preceding h or hh specifier, and displays 'a' for any hour before noon, and 'p' for any hour after noon. The a/p specifier can use lower, upper, or mixed case, and the result is displayed accordingly.
ampm Uses the 12-hour clock for the preceding h or hh specifier, and displays the contents of the TimeAMString global variable for any hour before noon, and the contents of the TimePMString global variable for any hour after noon.
/ Displays the date separator character given by the DateSeparator global variable.
: Displays the time separator character given by the TimeSeparator global variable.
 

 
​支持的函數
Expr 表示子公式表達式。

ABS(Expr)
求絕對值。

示例:ABS(C3-(D2+B3)) 結果:1500.64

AND(Expr, Expr, ….)
計算括號中的所有參數是否均為 1 或者 0

示例:AND( (C4-C3)<0, (C6-C5)>0) 結果:1

AVERAGE(Expr, Expr, …)
計算平均值

示例:AVERAGE(C3,C4,C5) 結果:73.67

COUNT(Expr)
計算括號中指定的項目的個數。

示例:COUNT(BELOW) 結果:公式單元格下方(同壹列中)的單元格個數。

IF( ConditionExpr, TrueExpr, FalseExpr)
如果第壹個參數 ConditionExpr > 0,則返回第二個參數 TrueExpr
如果第壹個參數 ConditionExpr = 0,,則返回第三個參數 FalseExpr

示例:IF(C3>10, 100, -100) 結果:100

INT(Expr)
獲取整數部分值。

示例:INT(D2+B3-C3) 結果:1500

MAX(Expr, Expr, …)
計算參數中的最大值。

示例:MAX(C3, C4, C5) 結果:90

MIN(Expr, Expr, …)
計算參數中的最小值。

示例:MIN(C3, C4, C5) 結果:42

MOD(Expr1, Expr2)
計算 Expr2 除以 Expr1 的余數。

示例:MOD(4, 2) 結果:0

NOT(Expr)
計算該參數 Expr = 1。
如果 Expr = 1,則返回 0;
如果 Expr = 0,則返回 1。

示例:NOT(C3=0) 結果:1

OR(Expr1, Expr2)
Expr1, Expr2 中有任何壹個為非 0, 則返回 1, 否則返回 0。

示例:OR(C3<100, C4>40) 結果:1

ROUND(Expr1, Integer)
第二個參數 Integer 必須為整數或計算為整數。
將第壹個參數 Expr 舍入到 Integer 指定的位數。
如果 Integer > 0,則將 Expr 向下舍入到指定的位數。
如果 Integer = 0,則將 Expr向下舍入到最近的整數。
如果 Integer < 0,則將 Expr向下舍入到小數點左側。

ROUND(123.456, 2) 結果:123.46
ROUND(123.456, 0) 結果:123
ROUND(123.456, -2) 結果:100

SIGN( Expr )
計算 Expr 是大於、等於還是小於零 (0)。
如果大於零,則返回 1;
如果等於零,則返回 0;
如果小於零,則返回 -1。

示例:SIGN(-11) 結果:-1

SUM( Expr, Expr, … )
求和

例子:
SUM(LEFT)
SUM(LEFT,ABOVE,RIGHT,BELOW)
SUM(C:C)
SUM(C1:C100)


Now

公式 說明 結果
NOW() 返回當前日期和時間。 2011-11-6 19:30
NOW()-0.5 返回 12 小時前的日期和時間(-0.5 天前)。 2011-11-6 7:30
NOW()+7 返回 7 天後的日期和時間。 2011-11-13 19:30
NOW()-2.25 返回 2 天 6 小時前的日期和時間(-2.25 天前)。 2011-11-4 13:30
 

Date

 
合成日期
Date(Year, Month, Day)
 

Time

 
合成時間
Time(Hour, Minute, second)
 
 

Year

數據    
日期    
2008-7-5    
2010-7-5    
公式 描述(結果) 結果
=YEAR(A3) 單元格 A3 中日期的年份 (2008) 2008
=YEAR(A4) 單元格 A4 中日期的年份 (2010) 2010
 

Month

日期    
2011-4-15    
公式 說明 結果
MONTH(A2) 單元格 A2 中日期的月份 4
 

Day

日期    
2011-4-15    
公式 描述(結果) 結果
DAY(A2) 單元格 A2 (15) 中日期的天數 15
 

Hour

時間    
0.75    
2011-7-18 7:45    
2012-4-21    
公式 說明 結果
HOUR(A2) 返回 24 小時的 75% 18
HOUR(A3) 返回日期/時間值的小時部分。 7
HOUR(A4) 未指定時間部分的日期被視作上午 12:00 或 0 小時。 0
 
 

Minute

時間    
下午 12:45:00    
公式 說明 結果
MINUTE(A2) 返回 A2 中時間值的分鐘部分。 45
 

Second

數據    
時間    
下午 4:48:18    
下午 4:48    
公式 說明 結 果
SECOND(A3) 第壹個時間的秒數 (18) 18
SECOND(A4) 第二個時間的秒數 (0) 0
 



 

 
下載安裝 Gem for OneNote

相關文章

  • 如何在 OneNote 表格中向上或向下移動選中的行,向左或向右移動選中的列?
  • OneNote 看板應用:壹鍵調整所有的子表格寬度適配父表格的列寬
  • 按多列排序 OneNote 原生表格
  • 如何合並 OneNote 表格?剪切壹個表格並粘貼到另外壹個中
  • 在 OneNote 中平均分布表格裏的列
​​OneNote 標簽
OneNote 表格公式​

​思維導圖插件比較​
​查找搜索功能比較​
​One Markdown 語法
插件修復
​珍寶菜單模板
子插件
OneNote 下載
OneNote 書籍下載
OneDrive 下載
OneNote 入門基礎
手機版網站
版權所有 © 2011-2026 數字珍寶軟件 OneNoteGem.com.
英文官網 中文官網