メインコンテンツへスキップ

Excelで時間をテキストまたは時間/分/秒にすばやく変換するにはどうすればよいですか?

このチュートリアルでは、時間をテキスト文字列または数値文字列、あるいはExcelで小数の時間、分、秒に変換する方法を紹介します。

時間をテキスト文字列に変換する

時間を数値文字列に変換する

時間を時間/分/秒の数に変換します


時間をテキスト文字列に変換する

これは、時間をテキスト文字列に変換できる数式です。

テキスト結果を配置するセルを選択し、この数式を入力します =TEXT(A1,"hh:mm:ss AM/PM")、 押す 入力します キー。 また、必要に応じて、塗りつぶしハンドルを下にドラッグして、この数式を下のセルに適用します。

テキスト番号1までのドキュメント時間
テキスト番号2までのドキュメント時間

時間を数値文字列に変換する

時間を数値文字列に変換するには、時間セルを一般としてフォーマットする必要があります。

変換するタイムセルを選択し、をクリックします ホーム タブ、へ グループ、選択 ドロップダウンリストから選択します。
テキスト番号3までのドキュメント時間


時間を時間/分/秒の数に変換します

時間を時間/分/秒に変換する場合は、以下のいずれかの方法を選択して処理できます。

式を使用して時間を時間/分/秒に変換します

Time 結果
16:15:48      = A1 * 24 16.26
16:15:48 = A1 * 1440 975.8
16:15:48 = A1 * 86400      58548      

結果セルを一般的な形式にすることを忘れないでください。

Kutools forExcelで時間を時間/分/秒に変換する

Kutools for Excel, 以上で 300 便利な機能は、あなたの仕事をより簡単にします。 

インストールした後 Kutools for Excel、以下のようにしてください:(今すぐExcel用のKutoolsを無料でダウンロードしてください!)

変換するセルを選択し、をクリックします クツール > Content > Convert Time > Time to Hours/Time to Minutes/Time to Seconds.
テキスト番号4までのドキュメント時間

次に、時間が変換されます。
テキスト番号5までのドキュメント時間

先端:変換した結果を別の場所に配置したい場合は、 クツール > Content > Convert Time > Convert Time to enable Convert Time ダイアログで、変換タイプを選択し、チェックします Save to another location チェックボックスをオンにして、結果を配置するセルを選択します。
テキスト番号6までのドキュメント時間


Excelで日付を他の日付形式にすばやく簡単に変換する

日付を日、月、または年のみに変換しようとしたことがありますか? 数式は覚えにくいかもしれませんが、 日付フォーマットを適用する of Kutools for Excel 以下のスクリーンショットに示すように、必要に応じて標準の日付を日付形式にすばやく変換できます。 しないで、待って、 30 日間の無料トライアルをクリックしてください!
ドキュメントは日付形式を適用します
 
Kutools for Excel:300を超える便利なExcelアドインがあり、30日以内に制限なしで無料で試すことができます。

最高のオフィス生産性向上ツール

🤖 Kutools AI アシスタント: 以下に基づいてデータ分析に革命をもたらします。 インテリジェントな実行   |  コードを生成  |  カスタム数式の作成  |  データを分析してグラフを生成する  |  Kutools関数を呼び出す...
人気の機能: 重複を検索、強調表示、または識別する   |  空白行を削除する   |  データを失わずに列またはセルを結合する   |   数式なしのラウンド ...
スーパールックアップ: 複数の基準の VLookup    複数の値の VLookup  |   複数のシートにわたる VLookup   |   ファジールックアップ ....
詳細ドロップダウン リスト: ドロップダウンリストを素早く作成する   |  依存関係のドロップダウン リスト   |  複数選択のドロップダウンリスト ....
列マネージャー: 特定の数の列を追加する  |  列の移動  |  Toggle 非表示列の表示ステータス  |  範囲と列の比較 ...
注目の機能: グリッドフォーカス   |  デザインビュー   |   ビッグフォーミュラバー    ワークブックとシートマネージャー   |  リソースライブラリ (自動テキスト)   |  日付ピッカー   |  ワークシートを組み合わせる   |  セルの暗号化/復号化    リストごとにメールを送信する   |  スーパーフィルター   |   特殊フィルター (太字/斜体/取り消し線をフィルター...) ...
上位 15 のツールセット12 テキスト ツール (テキストを追加, 文字を削除する、...)   |   50+ チャート 種類 (ガントチャート、...)   |   40+ 実用的 (誕生日に基づいて年齢を計算する、...)   |   19 挿入 ツール (QRコードを挿入, パスから画像を挿入、...)   |   12 変換 ツール (数字から言葉へ, 通貨の換算、...)   |   7 マージ&スプリット ツール (高度な結合行, 分割セル、...)   |   ... もっと

Kutools for Excel で Excel スキルを強化し、これまでにない効率を体験してください。 Kutools for Excelは、生産性を向上させ、時間を節約するための300以上の高度な機能を提供します。  最も必要な機能を入手するにはここをクリックしてください...

説明


Officeタブは、タブ付きのインターフェイスをOfficeにもたらし、作​​業をはるかに簡単にします

  • Word、Excel、PowerPointでタブ付きの編集と読み取りを有効にする、パブリッシャー、アクセス、Visioおよびプロジェクト。
  • 新しいウィンドウではなく、同じウィンドウの新しいタブで複数のドキュメントを開いて作成します。
  • 生産性を 50% 向上させ、毎日何百回もマウス クリックを減らすことができます!
Comments (11)
Rated 4.25 out of 5 · 2 ratings
This comment was minimized by the moderator on the site
in the description is the wrong formula...
It is NOT: =TEXT(A1,"hh:mm:ss AM/PM")
It is: =TEXT(A1; "hh:mm:ss AM/PM")

with a semicolon, not a comma!
Rated 3.5 out of 5
This comment was minimized by the moderator on the site
I want to substitute time in the string, but whenever i use the formula the time converts into timevalue, i dont want time value. Can you please teach me what to do?[img]https://ibb.co/NVvknsF[/img]
This comment was minimized by the moderator on the site
Hi, Md. Shariful Islam, add TEXT function to fix the time format in the formula, the result will keep the time format but not the value.
=SUBSTITUTE(A1,MID(A1,13,8),TEXT(F1,"hh:mm:ss"))
See the screenshot:
https://www.extendoffice.com/images/stories/comments/sun-comment/doc-substitute-time.png
This comment was minimized by the moderator on the site
Hi have a excel roster with time formulas to calculate the total hours for the week for each employee.

My question is on the days that staff member is OFF / Public Hol / Annual leave etc.
Wanting to enter words instead of time when someone is off or sick or on annual leave of if Pub Hol but when time in the words it messes up the time calculation giving a value error.

How do i enter words in a time cell without messing up the calculations.
This comment was minimized by the moderator on the site
Hi, could you upload a file or a screenshot to show what's your data structure like for me to better find a solution?
This comment was minimized by the moderator on the site
¡Excelente ! Gracias
Rated 5 out of 5
This comment was minimized by the moderator on the site
Thank You! I've been looking for a way to do this all day!
This comment was minimized by the moderator on the site
These formulas are super helpful, thank you. I find that I have a question about your Convert Time To Text String formula.I am using it to retain the hh:mm formatting in Excel into a Word doc via a mail merge.
This comment was minimized by the moderator on the site
Hiunable to get the formula in the excel
This comment was minimized by the moderator on the site
really helpful, thx!
This comment was minimized by the moderator on the site
Perfect. Thank you!!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations