Skip i'r prif gynnwys

Sut i drosi amrywiol fformatau dyddiad ansafonol i ddyddiad safonol yn Excel?

Efallai eich bod wedi dod ar draws amryw o fformatau dyddiad ansafonol pan ddefnyddiwch lyfr gwaith Excel. Nid yw Excel yn eu hadnabod ac ni allwch eu defnyddio at unrhyw bwrpas cyfrifo na newid eu fformat yn ôl yr angen. Sut allech chi newid y fformatau dyddiad rhyfedd hyn i ddyddiad safonol Excel?

Trosi dyddiadau sydd wedi'u storio fel testun i ddyddiad Excel arferol gyda'r fformiwla
Trosi rhifau i ddyddiad Excel arferol gyda swyddogaeth Testun i Golofnau
Trosi dyddiadau ansafonol amrywiol yn hawdd i ddyddiad Excel arferol gyda Kutools ar gyfer Excel


Trosi dyddiadau sydd wedi'u storio fel testun i ddyddiad Excel arferol gyda'r fformiwla

Yma, byddaf yn siarad am ddefnyddio swyddogaeth DateValue i newid y dyddiadau testun i ddyddiadau Excel cywir. Pan fyddwch chi'n mewnbynnu '2013 / 03 / 21 i mewn i gell, defnyddir yr collnod hwnnw cyn y dyddiad i ddangos i Excel mai'r gwerth yn y gell yw gwerth testun (gweler y screenshot canlynol). Gallwch drosi'r dyddiadau testun hyn i ddyddiad Excel fel y camau canlynol:

dyddiad doc-trosi-i-normal1

1. Yn y gell B1 gyfagos, nodwch y fformiwla = Dyddiad Gwerth (A1), gweler y screenshot:

dyddiad doc-trosi-i-normal2

2. Yna pwyswch Rhowch yn allweddol, mae'r fformiwla'n dychwelyd rhif 41317. Dyma'r ateb cywir, ond mae ganddo'r fformat anghywir. Felly mae angen ichi newid fformat y dyddiad.

3. Dewiswch y gell B1 a chliciwch ar y dde, dewiswch Celloedd Fformat o'r ddewislen cyd-destun. Yn y Celloedd Fformat blwch deialog, cliciwch Nifer > dyddiad, a dewis y dyddiad lleol yn ôl yr angen. Gweler y screenshot:

dyddiad doc-trosi-i-normal3

4. Yna cliciwch OK, mae'r rhif wedi'i drosi i ddyddiad Excel arferol. Ac yna dewiswch y gell B1 a llusgwch y ddolen llenwi i'r ystod rydych chi am gynnwys y fformiwla hon. Gweler y screenshot:

dyddiad doc-trosi-i-normal4

Tip: Efallai bod gennych y fformat dyddiad hwn hefyd 2013-maw-12, Dyddiad Gwerth gall swyddogaeth ei newid i ddyddiad Excel hefyd. Gwnewch fel hyn:

1. Rhowch y fformiwla = DYDDIAD (DDE (A1,2) a "-" & MID (A1,6,3) a "-" & CHWITH (A1,4)) i mewn i'r gell wag B1. Gweler y screenshot:

dyddiad doc-trosi-i-normal5

2. Yna tap y Rhowch allwedd, dewiswch gell B1, ac yna llusgwch y ddolen llenwi i'r ystod sydd ei hangen arnoch chi. Gweler y screenshot:

dyddiad doc-trosi-i-normal6

Dim ond dwy enghraifft syml yw'r rhain, os oes gennych unrhyw fformat dyddiad testun arall, mae angen fformiwlâu eraill arnoch i ddelio â nhw.

Un clic i drosi dyddiadau ansafonol i ddyddiad arferol yn Excel:

Mae adroddiadau Trosi hyd yn hyn cyfleustodau Kutools ar gyfer Excel gall eich helpu i drosi dyddiadau ansafonol yn gyflym i ddyddiadau arferol ar yr un pryd gyda dim ond un clic yn Excel. Dadlwythwch Kutools ar gyfer Excel Nawr! (llwybr am ddim 30 diwrnod)


Trosi rhifau i ddyddiad Excel arferol gyda swyddogaeth Testun i Golofnau

Weithiau efallai y bydd gennych rifau fel 20130321 mewn celloedd, ond nawr rydych chi am ei drosi i ddyddiad Excel arferol 3/21/2013, Testun i Colofnau gall offeryn drosi'r rhifau i ddyddiad Excel cydnabyddedig.

1. Dewiswch y celloedd rydych chi am eu newid.

2. Cliciwch Dyddiad > Testun i Colofnau, Yn y Trosi Deunydd Testun i Colofnau, gwirio Wedi'i ddosbarthu, a chliciwch Digwyddiadau.

dyddiad doc-trosi-i-normal7

3. Yn step2, cliciwch yn uniongyrchol Digwyddiadau i barhau.

dyddiad doc-trosi-i-normal8

4. Yng ngham 3, dewiswch dyddiad oddi wrth y Fformat data colofn, a dewis YMD oddi wrth y dyddiad rhestr ostwng. Gweler y screenshot:

dyddiad doc-trosi-i-normal9

5. Yna cliciwch Gorffen, ac mae'r niferoedd yn y celloedd a ddewiswyd wedi'u newid i'r dyddiad Excel arferol. Gweler sgrinluniau:

dyddiad doc-trosi-i-normal10 -2 dyddiad doc-trosi-i-normal11

Trosi amrywiol ddyddiadau ansafonol i ddyddiad Excel arferol gyda Kutools ar gyfer Excel

Mae angen datrysiadau gwahanol ar wahanol ddyddiadau ansafonol, felly mae angen dull defnyddiol ac amlswyddogaethol arnom a all ein helpu i newid dyddiadau rhyfedd amrywiol i ddyddiad Excel arferol ar yr un pryd. Efo'r Trosi hyd yn hyn of Kutools ar gyfer Excel, gallwch drosi rhywfaint o fformat dyddiad ansafonol yn gyflym na all Excel ei nodi fel y fformat dyddiad arferol.

Cyn gwneud cais Kutools ar gyfer Excel, os gwelwch yn dda ei lawrlwytho a'i osod yn gyntaf.

1. Dewiswch yr ystod gyda dyddiadau ansafonol rydych chi am eu trosi, cliciwch Kutools > Cynnwys > Trosi hyd yn hyn, gweler y screenshot:

2. Yna y Trosi hyd yn hyn blwch deialog yn ymddangos, gallwch weld bod yr holl ddyddiadau ansafonol mewn ystod ddethol yn cael eu trosi i fformat dyddiad arferol ar yr un pryd. Gweler y screenshot:

  Os ydych chi am gael treial am ddim (30 diwrnod) o'r cyfleustodau hwn, cliciwch i'w lawrlwytho, ac yna ewch i gymhwyso'r llawdriniaeth yn ôl y camau uchod.


Demo: Trosi fformatau dyddiad ansafonol yn ddyddiad safonol

Offer Cynhyrchiant Swyddfa Gorau

🤖 Kutools AI Aide: Chwyldro dadansoddi data yn seiliedig ar: Cyflawniad Deallus   |  Cynhyrchu Cod  |  Creu Fformiwlâu Personol  |  Dadansoddi Data a Chynhyrchu Siartiau  |  Invoke Swyddogaethau Kutools...
Nodweddion Poblogaidd: Darganfod, Amlygu neu Adnabod Dyblygiadau   |  Dileu Rhesi Gwag   |  Cyfuno Colofnau neu Gelloedd heb Colli Data   |   Rownd heb Fformiwla ...
Super-edrych: VLookup Meini Prawf Lluosog    VLookup Gwerth Lluosog  |   VLookup Ar Draws Taflenni Lluosog   |   Edrych Niwlog ....
Rhestr gwympo Uwch: Creu Rhestr Gollwng yn Gyflym   |  Rhestr Gollwng Dibynnol   |  Rhestr Gollwng Aml-ddewis ....
Rheolwr Colofn: Ychwanegu Nifer Penodol o Golofnau  |  Symud Colofnau  |  Toglo Statws Gwelededd Colofnau Cudd  |  Cymharwch Ystodau a Cholofnau ...
Nodweddion dan Sylw: Ffocws ar y Grid   |  Golwg Dylunio   |   Bar Fformiwla Mawr    Rheolwr Llyfr Gwaith a Thaflen   |  Llyfrgell Adnoddau (Testun Auto)   |  Dewiswr Dyddiad   |  Cyfuno Taflenni Gwaith   |  Amgryptio/Dadgryptio Celloedd    Anfon E-byst trwy Restr   |  Hidlo Super   |   Hidlo Arbennig (hidlo mewn print trwm/italig/strikethrough...) ...
15 Set Offer Gorau12 Testun offer (Ychwanegu Testun, Dileu Cymeriadau,...)   |   50 + Siart Mathau (Siart Gantt,...)   |   40+ Ymarferol Fformiwlâu (Cyfrifwch oedran yn seiliedig ar ben-blwydd,...)   |   19 mewnosod offer (Mewnosod Cod QR, Mewnosod Llun o'r Llwybr,...)   |   12 Trosi offer (Rhifau i Eiriau, Trosi arian cyfred,...)   |   7 Uno a Hollti offer (Rhesi Cyfuno Uwch, Celloedd Hollt,...)   |   ... a mwy

Supercharge Eich Sgiliau Excel gyda Kutools ar gyfer Excel, a Phrofiad Effeithlonrwydd Fel Erioed Erioed. Kutools ar gyfer Excel Yn Cynnig Dros 300 o Nodweddion Uwch i Hybu Cynhyrchiant ac Arbed Amser.  Cliciwch Yma i Gael Y Nodwedd Sydd Ei Angen Y Mwyaf...

Disgrifiad


Mae Office Tab yn dod â rhyngwyneb Tabbed i Office, ac yn Gwneud Eich Gwaith yn Haws o lawer

  • Galluogi golygu a darllen tabbed yn Word, Excel, PowerPoint, Cyhoeddwr, Mynediad, Visio a Phrosiect.
  • Agor a chreu dogfennau lluosog mewn tabiau newydd o'r un ffenestr, yn hytrach nag mewn ffenestri newydd.
  • Yn cynyddu eich cynhyrchiant 50%, ac yn lleihau cannoedd o gliciau llygoden i chi bob dydd!
Comments (36)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
How to convert dd.mm.yyyy to excel date format
This comment was minimized by the moderator on the site
Hello Soon,

Glad to help. I have solution for this. Just use the second method in the article: Convert Numbers To Normal Excel Date With Text To Columns Function. Please follow the instructions in the method, and just make sure you choose DMY from the Date drop down list in step 4. See screenshot. Then click Finish to get the correct result, which is 6/21/2022.

Please have a try.

Sincerely,
Mandy
This comment was minimized by the moderator on the site
Taking A1 as the cell which has the date formatted as dd.mm.yyyy, ~

Formula----> =TEXT(DATEVALUE(SUBSTITUTE(A1,".","-")),"mm-dd-yyyy")
This comment was minimized by the moderator on the site
Hello Siddhartha,

Thank you for your reply. But the formula doesn't work in my case. For example, I have date 21.06.2022 in cell A1. Use your formula and it returns the #VALUE! error value.

I have solution for this. Just use the second method in the article: Convert Numbers To Normal Excel Date With Text To Columns Function. Please follow the instructions in the method, and just make sure you choose DMY from the Date drop down list in step 4. See screenshot. Then click finish to get the correct result, which is 6/21/2022.

Please have a try.

Sincerely,
Mandy
This comment was minimized by the moderator on the site
How do I remove the time form the date in excel?
This comment was minimized by the moderator on the site
Hello Harish,

Glad to help. Please see our article: https://www.extendoffice.com/documents/excel/875-excel-remove-time-from-date.html. In this article lists four methods to remove time from date. Please have a try. Have a nice day.

Sincerely,
Mandy
This comment was minimized by the moderator on the site
Select the column where that dates are > Ctrl+H > Find value as " *"; Replace value as blank > Replace all.
The date format would look something like this - dd-mm-yyyy 00:00:00.
Then change the date format to "Short Date".

Job done!
This comment was minimized by the moderator on the site
Hello Siddhartha,

Thank you again for your help. Have a nice day.

Sincerely,
Mandy
This comment was minimized by the moderator on the site
how do i convert 2109 (YYMM) into 09/2021
This comment was minimized by the moderator on the site
=TEXT(DATE(YEAR(LEFT(F10,2))+(YEAR(TODAY())-YEAR(LEFT(F10,2)))-(TEXT(TODAY(),"yy")-LEFT(F10,2)),RIGHT(F10,2),1),"mm/yyyy")
This comment was minimized by the moderator on the site
Hello Siddhartha,

Thank you for your help. Your formula works perfectly. Have a nice day.

Sincerely,
Mandy
This comment was minimized by the moderator on the site
I wanted to convert 1529557740 to this format Fri 22 Jun 2018 00:09:00. It didn't work. Can someone suggest
This comment was minimized by the moderator on the site
Found the answer: A2 / 86400 + 25569 - 5 / 24 (where A2 is column name and -5 UTC time offset for CST)
This comment was minimized by the moderator on the site
how do o convert from yyyyy-mm-ddd hh mm ss to yyyy-mm-dd?
This comment was minimized by the moderator on the site
how convert 2/1/2018 5:54:58 PM to Feb 01, 2018 3:08 PM
This comment was minimized by the moderator on the site
how to convert 12/14 to December 2014
This comment was minimized by the moderator on the site
Hi Team, how to convert date format from dd/mm/yyyy hh:mm:ss to dd-mm-yyyy hh:mm:ss by using any formula or simple step also. when am trying to do the format cells to change the date format, cells are remain same.pls do the needful.
This comment was minimized by the moderator on the site
Check out the example and formula of how to convert the exact data format which you want in the attached screen shot.
This comment was minimized by the moderator on the site
How to convert date format, '20.06.2016' to '20-06-2016' for applying the text formula?
This comment was minimized by the moderator on the site
Assuming the date is in cell A2, enter the following into cell B2 =SUBSTITUTE(A2,".","/")
This comment was minimized by the moderator on the site
=Text(dd-mm-yyyy)
This comment was minimized by the moderator on the site
I have an excel file that has a countdown function between time NOW and a future date/time. Works fine as long as I open the file every time on a laptop but when opened with a cell phone (IOS), the countdown calculates always to today's date as opposed to an assigned future date. Any thoughts?
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