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.

假設您想要從數欄數據中建立文法正確的句子,以便大量郵寄或格式化含有文字的日期,而不會影響使用這些日期的公式。 若要將文字與日期或時間結合,請使用 TEXT 函數和 & (擴充器及) 運算符。

範例

說明公式如何將文字與日期和時間值合併的範例

TEXT 函數需要兩個自變數 (,也就是其括弧之間的專案) 。 第一個自變數是一個值,例如日期或數位。 此值會轉換成文字值。 第二個自變數format_text是 Excel 辨識並用來以指定格式顯示轉換文字值的特殊字串。 在第二個和第三個範例中,B3 和 B4 中的日期會轉換成文字,然後以兩種不同的格式顯示:「d-mmm-yyyy」 (導致 2010 年 6 月 4 日) 和 “mmmm d, yyyy”。 (產生 2010 年 6 月 7 日) 。

TEXT 函數

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!

×