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.

附註:  我們想要以您的語言,用最快的速度為您提供最新的說明內容。 本頁面是經由自動翻譯而成,因此文中可能有文法錯誤或不準確之處。讓這些內容對您有所幫助是我們的目的。希望您能在本頁底部告訴我們這項資訊是否有幫助。 此為 英文文章 出處,以供參考。

傳回是在有任何引數為 TRUE; 如果傳回沒有如果所有引數為 FALSE。

語法

logical1logical2...

Logical1,logical2,...    1 至 30 情況您想要測試可以是 TRUE 或 FALSE。

註解

  • 這些引數必須算出等於邏輯值 (如 TRUE 或 FALSE),或是包含邏輯值的陣列或參照。

  • 如果直欄參照引數包含文字或為空白,則會忽略那些值。

  • 如果指定的範圍不包含邏輯值,則 OR 會傳回錯誤值 #VALUE!。

範例

公式

描述 (結果)

=OR(TRUE)

一個引數為 true,則 (是)

=OR(1+1=1,2+2=5)

所有引數評估為 FALSE (否)

=OR(TRUE,FALSE,TRUE)

至少有一個引數為 TRUE (是)

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!

×