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.

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

RIGHT 會依據指定的字元數目,傳回字串中最後的字元。

語法

權限(文字num_chars)

文字     是含有您想選錄的部分字元之文字字串。

Num_chars     指定您要以 RIGHT 所選錄的字元數目。

註解

  • num_chars 必須大於或等於零。

  • 如果 num_chars 大於 text 的長度,則 RIGHT 會傳回所有文字。

  • 如果省略 num_chars,則會假設其值為 1。

範例

F ormula

說明 (結果)

=RIGHT("Sale Price",5)

字串的最後 5 個字元 (Price)

=RIGHT("Stock Number")

字串的最後 1 個字元 (r)

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!

×