मुख्य सामग्री पर जाएं

एक्सेल में टाइम स्ट्रिंग को टाइम में कैसे बदलें?

लेखक: रवि अंतिम संशोधित: 2020-04-30

उदाहरण के लिए, आपके पास वर्कशीट में टेक्स्ट स्ट्रिंग की एक सूची है, और अब आपको इन टेक्स्ट स्ट्रिंग्स को समय या दिनांक और समय में परिवर्तित करने की आवश्यकता है, आप इसे कैसे हल कर सकते हैं? यहां मैं आपके लिए एक्सेल में टेक्स्ट स्ट्रिंग को तुरंत समय में बदलने के लिए कुछ तरकीबें पेश करूंगा।

टेक्स्ट स्ट्रिंग को समय में बदलें

टेक्स्ट स्ट्रिंग को दिनांक और समय में बदलें


तीर नीला दायां बुलबुला टेक्स्ट स्ट्रिंग को समय में बदलें

टेक्स्ट स्ट्रिंग को समय में बदलने के लिए, आप हल करने के लिए कुछ सूत्रों का उपयोग कर सकते हैं।

1. एक सेल का चयन करें और इस सूत्र को टाइप करें =समयमान(बाएँ(A1,LEN(A1)-2)&":"&दाएँ(A1,2)) (A1 वह टेक्स्ट स्ट्रिंग है जिसे आपको समय में कनवर्ट करने की आवश्यकता है) इसमें, और दबाएँ दर्ज. यदि आपको आवश्यकता हो, तो आप भरण हैंडल को अपनी आवश्यकतानुसार सीमा तक खींच सकते हैं। स्क्रीनशॉट देखें:
डॉक-टाइम-स्ट्रिंग-टू-टाइम-1

2. फिर इन चयनित सेलों पर राइट क्लिक करें और चयन करें प्रारूप प्रकोष्ठों संदर्भ मेनू से, और फिर में प्रारूप प्रकोष्ठों संवाद, चुनें पहर से वर्ग के अंतर्गत सूची नंबर टैब, फिर उस समय का प्रकार चुनें जिसकी आपको आवश्यकता है।
डॉक-टाइम-स्ट्रिंग-टू-टाइम-2

3। क्लिक करें OK, अब टेक्स्ट स्ट्रिंग्स को समय में परिवर्तित कर दिया गया है।
डॉक-टाइम-स्ट्रिंग-टू-टाइम-3

नोट:

1. जब टेक्स्ट स्ट्रिंग सेकंड सहित होती है, जैसे कि 120158, तो यह फॉर्मूला सही ढंग से काम नहीं कर सकता है।

2. यदि आपका टेक्स्ट स्ट्रिंग प्रारूप 120456P है, तो आप इस सूत्र का उपयोग कर सकते हैं =TEXT(--(LEFT(A1,LEN(A1)-1)),"0\:00\:00")+((RIGHT(A1,1)="P")/2), फिर सेलों को आपके लिए आवश्यक 12 घंटे की घड़ी के रूप में प्रारूपित करें। स्क्रीनशॉट देखें:

डॉक-टाइम-स्ट्रिंग-टू-टाइम-4
डॉक-टाइम-स्ट्रिंग-टू-टाइम-5

तीर नीला दायां बुलबुला टेक्स्ट स्ट्रिंग को दिनांक और समय में बदलें

यदि आपकी टेक्स्ट स्ट्रिंग में दिनांक और समय जैसे 20141212 0312 शामिल है, तो आप हल करने के लिए थोड़े लंबे फॉर्मूले का उपयोग कर सकते हैं।

1. रिक्त कक्ष में यह सूत्र टाइप करें =DATE(LEFT(A1,4),MID(A1,5,2),MID(A1,7,2))+TIME(MID(A1,10,2),RIGHT(A1,2),0), और उसके बाद दबाएँ दर्ज कुंजी, यदि आपको आवश्यकता हो, तो आप इस सूत्र को किसी श्रेणी में लागू कर सकते हैं।

2. फिर चयनित सेल पर राइट क्लिक करें और चुनें प्रारूप प्रकोष्ठों संदर्भ मेनू से, फिर में प्रारूप प्रकोष्ठों संवाद, चुनें तारीख से वर्ग सूची बनाएं, और दाएं अनुभाग से वह प्रकार चुनें जिसकी आपको आवश्यकता है।
डॉक-टाइम-स्ट्रिंग-टू-टाइम-6

3। क्लिक करें OK. अब आप टेक्स्ट स्ट्रिंग को दिनांक और समय में परिवर्तित होते हुए देख सकते हैं।
डॉक-टाइम-स्ट्रिंग-टू-टाइम-7

टिप।यदि आप किसी समय को दशमलव घंटे, मिनट या सेकंड में बदलना चाहते हैं, तो कृपया इसका उपयोग करने का प्रयास करें एक्सेल के लिए कुटूलहै समय परिवर्तित करें जैसा कि निम्नलिखित स्क्रीनशॉट में दिखाया गया है। यह 30 दिनों में बिना किसी सीमा के पूर्ण कार्य करता है, कृपया अभी डाउनलोड करें और निःशुल्क परीक्षण करें।

एक्सेल में समय को तुरंत दशमलव मान में बदलें

उदाहरण के लिए, आपके पास दशमलव घंटे, मिनट या सेकंड में परिवर्तित करने के लिए आवश्यक समय की एक सूची है, आप इसे एक्सेल में जल्दी और आसानी से कैसे हल कर सकते हैं? समय परिवर्तित करें of के लिए कुटूल एक्सेल, आपके लिए एक उपकार कर सकता है।   30 दिनों के निःशुल्क परीक्षण के लिए क्लिक करें!
दस्तावेज़ समय परिवर्तित करें
 
एक्सेल के लिए कुटूल: 300 से अधिक उपयोगी एक्सेल ऐड-इन्स के साथ, 30 दिनों में बिना किसी सीमा के आज़माने के लिए निःशुल्क।

सर्वोत्तम कार्यालय उत्पादकता उपकरण

🤖 कुटूल्स एआई सहयोगी: निम्न के आधार पर डेटा विश्लेषण में क्रांति लाएं: बुद्धिमान निष्पादन   |  कोड जनरेट करें  |  कस्टम फ़ॉर्मूले बनाएं  |  डेटा का विश्लेषण करें और चार्ट बनाएं  |  कुटूल फ़ंक्शंस का आह्वान करें...
लोकप्रिय सुविधाएँ: डुप्लिकेट ढूंढें, हाइलाइट करें या पहचानें   |  रिक्त पंक्तियाँ हटाएँ   |  डेटा खोए बिना कॉलम या सेल को संयोजित करें   |   फॉर्मूला के बिना गोल ...
सुपर लुकअप: एकाधिक मानदंड VLookup    मल्टीपल वैल्यू वीलुकअप  |   अनेक शीटों में VLookup   |   फजी लुकअप ....
उन्नत ड्रॉप-डाउन सूची: शीघ्रता से ड्रॉप डाउन सूची बनाएं   |  आश्रित ड्रॉप डाउन सूची   |  बहु-चयन ड्रॉप डाउन सूची ....
स्तम्भ प्रबंधक: कॉलमों की एक विशिष्ट संख्या जोड़ें  |  कॉलम ले जाएँ  |  छिपे हुए कॉलम की दृश्यता स्थिति टॉगल करें  |  रेंज और कॉलम की तुलना करें ...
फीचर्ड फीचर्स: ग्रिड फोकस   |  डिजाइन देखें   |   बड़ा फॉर्मूला बार    कार्यपुस्तिका एवं शीट प्रबंधक   |  संसाधन लाइब्रेरी (ऑटो टेक्स्ट)   |  खजूर बीनने वाला   |  कार्यपत्रकों को संयोजित करें   |  एन्क्रिप्ट/डिक्रिप्ट सेल    सूची के अनुसार ईमेल भेजें   |  सुपर फ़िल्टर   |   विशेष फ़िल्टर (फ़िल्टर बोल्ड/इटैलिक/स्ट्राइकथ्रू...) ...
शीर्ष 15 टूलसेट12 टेक्स्ट टूल्स (पाठ जोड़ें, अक्षर हटाएँ, ...)   |   50 + चार्ट प्रकार (गैन्ट चार्ट, ...)   |   40+ प्रैक्टिकल सूत्र (जन्मदिन के आधार पर आयु की गणना करें, ...)   |   19 निवेशन टूल्स (QR कोड डालें, पथ से चित्र सम्मिलित करें, ...)   |   12 रूपांतरण टूल्स (शब्दों को संख्याएँ, मुद्रा रूपांतरण, ...)   |   7 विलय और विभाजन टूल्स (उन्नत संयोजन पंक्तियाँ, विभाजन कोशिकाओं, ...)   |   ... और अधिक

एक्सेल के लिए कुटूल के साथ अपने एक्सेल कौशल को सुपरचार्ज करें, और पहले जैसी दक्षता का अनुभव करें। एक्सेल के लिए कुटूल उत्पादकता बढ़ाने और समय बचाने के लिए 300 से अधिक उन्नत सुविधाएँ प्रदान करता है।  वह सुविधा प्राप्त करने के लिए यहां क्लिक करें जिसकी आपको सबसे अधिक आवश्यकता है...

Description


ऑफिस टैब ऑफिस में टैब्ड इंटरफ़ेस लाता है, और आपके काम को बहुत आसान बनाता है

  • Word, Excel, PowerPoint में टैब्ड संपादन और रीडिंग सक्षम करें, प्रकाशक, एक्सेस, विसियो और प्रोजेक्ट।
  • नई विंडो के बजाय एक ही विंडो के नए टैब में एकाधिक दस्तावेज़ खोलें और बनाएं।
  • आपकी उत्पादकता 50% बढ़ जाती है, और आपके लिए हर दिन सैकड़ों माउस क्लिक कम हो जाते हैं!
Comments (19)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Would love any help with this. I have data that is reported as "1d 01h 01m" representing 1 day, 1 hour, 1 min and I need to be able to represent this as a single number (preferably in # of minutes) any thoughts on how I can convert this string to a number value? Thanks all!
This comment was minimized by the moderator on the site
how to convert 06Hr:11Mi into 06:11
This comment was minimized by the moderator on the site
Hi, abinash kumar, you can remove alpha characters from your time string.
This tutorial can help you:
How to remove alpha characters from cells in Excel?
This comment was minimized by the moderator on the site
how do I convert Date/Time with this text format 08/07/2022 1519
This comment was minimized by the moderator on the site
Hi, Tina, please give me a specific example for explaining and descriping your problem. Thank you.
This comment was minimized by the moderator on the site
Hi there!

I used one of formulas above to convert a time string and it worked beautifully expect for anything that had a format of 1200P. It should convert to 12:00 but instead converts to 00:00. Any thoughts on why or how to fix it?

I used: "120456P, you can use this formula =TEXT(--(LEFT(A1,LEN(A1)-1)),"0\:00\:00")+((RIGHT(A1,1)="P")/2)"

I did not have any seconds in my time string so I deleted the last set of 0's in the formula and it still worked.
This comment was minimized by the moderator on the site
Hi.,I have a query.
I want to convert a duration extracted in a format #h #m #s to duration format so that I can filter it. For example:
My data has a field named Session Duration and the format of the cell is "General" and the cell says "1h 2m 15s". I need to convert this data into 01:02:15 but not in time format but a duration. Is there a way to do that.
This comment was minimized by the moderator on the site
=A1/(24*60) (algebra methods)..hahhaha
then apply time format
This comment was minimized by the moderator on the site
How can I convert 1 Hour 35 Min 25 Sec, stored as a text format into Hour format (hh:nn:ss)?
This comment was minimized by the moderator on the site
Hi, Gabriel, you can try this formula =TIME(LEFT(K4,1),MID(K4,8,2),MID(K4,15,2)) K4 is the cell contains text you want to convert, then format the result as time.
This comment was minimized by the moderator on the site
2h 50m how do i convert into 2:50
This comment was minimized by the moderator on the site
Hi, Ayaan, you can try Find and Replace function, h (blank) replace wth : , m replace with nothing
This comment was minimized by the moderator on the site
using the [ =TEXT(--(LEFT(A1,LEN(A1)-1)),"0\:00\:00")+((RIGHT(A1,1)="P")/2) ] formula,
in example #2 above, 123706A >> gets converted to 12:37:06 PM (instead of 12:37:06 AM)
how may this be rectified?
This comment was minimized by the moderator on the site
You only need to change the P to A in the formula =TEXT(--(LEFT(A1,LEN(A1)-1)),"0\:00\:00")+((RIGHT(A1,1)="A")/2), the format the formula cell as hh:mm:ss AM/PM
This comment was minimized by the moderator on the site
so if you enter 35943A you get 3:59:43 AM (which is great).
but if you enter 123706A you would expect to get 12:37:06 AM but instead you get 12:37:06 PM (which is not so great).
also if you enter 123706P you get 12:37:06 AM (again expecting to get 12:37:06 PM).
the meridiem are only incorrect for 12xxxx, formula works flawlessly for 1~11.
any way to improve the formula, to be all encompassing? thank you
This comment was minimized by the moderator on the site
It is a little complex, sorry I cannot help you. Maybe someone in our forum https://www.extendoffice.com/forum.html can help you if you place the question in it.
This comment was minimized by the moderator on the site
using the [ =TEXT(--(LEFT(A1,LEN(A1)-1)),"0\:00\:00")+((RIGHT(A1,1)="P")/2) ] formula,
in example #2 above, 123706A >> gets converted to 12:37:06 PM (instead of 12:37:06 AM)
how may this be rectified?
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations