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.

本文將說明公式語法及 PROB 的使用方式  函數。

描述

傳回範圍中數值落在上下限之間的機率。 如果沒有提供 upper_limit,會傳回在 x_range 中的值等於 lower_limit 的機率。

語法

PROB(x_range, prob_range, [lower_limit], [upper_limit])

PROB 函數語法具有下列引數:

  • X_range    必要。 這是與 x 數值相關之機率的範圍。

  • Prob_range    必要。 這是一組與 x_range 中各數值相關的機率。

  • Lower_limit    選用。 這是要求得機率之值的下限。

  • Upper_limit    選用。 這是要求得機率之值的選用上限。

註解

  • 如果 prob_range 中的任何一個數值 ≤ 0 或 > 1,PROB 會傳回 #NUM! 錯誤值。

  • 如果 prob_range 的數值總和不等於 1,PROB 會傳回 #NUM! 錯誤值。

  • 如果省略 upper_limit 引數,則 PROB 會傳回等於 lower_limit 的機率值。

  • 如果 x_range 和 prob_range 資料點的數量不同,則 PROB 會傳回錯誤值 #N/A。

範例

請在下列表格中複製範例資料,再將之貼到新 Excel 活頁簿中的儲存格 A1。 若要讓公式顯示結果,請選取公式,按 F2,然後再按 Enter。 如有需要,您可以調整欄寬來查看所有資料。

資料

x 的值

機率

0

0.2

1

0.3

2

0.1

3

0.4

公式

描述

結果

=PROB(A3:A6,B3:B6,2)

x 是 2 的機率。

0.1

=PROB(A3:A6,B3:B6,1,3)

x 介於 1 到 3 的機率。

0.8

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!

×