Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

使用 PERCENTOF 函數傳回子集由指定資料集所占的百分比。 通常用於 GROUPBY 和 PIVOTBY 函數。

附註: PERCENTOF 在邏輯上相當於 =SUM(data_subset)/SUM(data_all)

語法

PERCENTOF 函數會加總子集中的值,並將其除以所有值。  

=PERCENTOF (data_subset,data_all)

參數

描述

data_subset

必要

資料子集中的值

data_all

必要

組成整組的值。

範例

範例 1 使用 PERCENTOF 來計算 Bib-Shorts 和單車機架由整組裝置所構成的百分比。

=PERCENTOF (C3:C4,C3:C14)

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×