Skip to main content

Conas dáta a thiontú go teaghrán uimhreacha nó formáid téacs in Excel?

Sa rang teagaisc seo, tabharfaidh mé isteach roinnt modhanna chun cásanna éagsúla a réiteach maidir le dáta a thiontú go formáid uimhreach nó téacs in Excel.
dáta doc le téacs uimhir 1


1. Tiontaigh an dáta go téacs

Soláthraíonn an chuid seo na modhanna maidir le dáta a thiontú go téacs in Excel.

Chun an dáta a thiontú go téacs, níl uait ach foirmle amháin.

Foirmle: = TEXT (dáta, "date_format")

Tagairt: dáta: an chillín leis an dáta ar mhaith leat a thiontú go téacs
dáta_format: an fhormáid is mian leat a thaispeáint tar éis an dáta a thiontú go téacs

I gcásanna thíos, inseoidh mé duit conas an fhoirmle seo a úsáid.

1.1 Tiontaigh an dáta go téacs i bhformáid mm / dd / bbbb

Mar shampla, an dáta tiontaithe i gCill A3 go mm / dd / bbbb, bain úsáid as an bhfoirmle
= TEXT (A3, "mm / dd / bbbb")
brúigh Iontráil eochair
dáta doc le téacs uimhir 2

Más mian leat an dáta i gCill A8 a thiontú go dd / mm / bbbb, bain úsáid as an bhfoirmle seo
= TEXT (A8, "dd / mm / bbbb")
brúigh Iontráil eochair
dáta doc le téacs uimhir 3

1.2 Tiontaigh an dáta go téacs i bhformáid mmddyyyy nó ddmmyyyy

Más mian leat an dáta i gCill A13 a thiontú go téacs, ach i bhformáid mmddyyyy, clóscríobh an fhoirmle seo
= TEXT (A13, "mmddyyyy")
brúigh Iontráil eochair
dáta doc le téacs uimhir 4

Más mian leat an dáta i gCill A18 a thiontú go téacs i bhformáid ddmmyyyy, clóscríobh an fhoirmle seo
= TEXT (A18, "ddmmyyyy")
brúigh Iontráil eochair
dáta doc le téacs uimhir 5

1.3 Tiontaigh an dáta go téacs i bhformáidí eile

I ndáiríre, cibé formáid téacs is mian leat an dáta a thiontú, clóscríobh an fhormáid atá uait idir luachana san fhoirmle.

Dáta (A3) 12/23/2019
Foirmle = TEXT (A3, "mm-dd-yyyy") = TEXT (A3, "mm / dd") = TEXT (A3, "dd") = TEXT (A3, "d / m / y")
Toradh 23-12-2019 23/12 23 23/12/19

Nua!
uirlisí dáta

Réitíonn 16 fheidhm agus gné dáta nua tascanna 90% faoi phróiseáil dáta in Excel duit.

◆ Bliain / míonna / laethanta / seachtainí go dtí seo a dhealú nó a dhealú go dtí seo, cliceáil le haghaidh sonraí.

◆ Cuir nó dealraigh soicind / nóiméad / uaireanta go dtí seo, cliceáil le haghaidh tuilleadh.

◆ Líon deireadh seachtaine / laethanta seachtaine idir dhá dháta. cliceáil le haghaidh tuilleadh.

◆ Bain an t-am ón dáta. cliceáil le haghaidh sonraí.

◆ Am a thiontú go soicind deachúil / munites / uair an chloig. cliceáil le haghaidh sonraí.

◆ Tiontaigh formáidí ildhátaí go formáid dáta caighdeánach na SA. cliceáil le haghaidh sonraí.

Triail saor in aisce 30 lá le lánghníomhaíochtaí, 30-lá gan aon chúis aisíoc.


2. Tiontaigh an dáta go dtí an uimhir

Sa chuid seo, cuirim modhanna ar fáil maidir le dáta a thiontú go huimhir i bhformáid 5 dhigit i bhformáid mmddyyyy.

2.1 Tiontaigh an dáta go huimhir i bhformáid 5 dhigit

Más mian leat dáta a thiontú go huimhir i bhformáid 5 dhigit, déan mar a leanas iad:

1. Cliceáil ar dheis ag an gcill ina bhfuil an dáta a theastaíonn uait a thiontú go huimhir, agus sa roghchlár cliceáil ar dheis, roghnaigh Cealla Formáid coitianta.
dáta doc le téacs uimhir 6

2. I Cealla Formáid dialóg , faoi Uimhir cluaisín , roghnaigh Go ginearálta ó phána na Catagóir.
dáta doc le téacs uimhir 7

3. cliceáil OK. Tiontaíodh an dáta i gcill roghnaithe go sreangán uimhreacha i bhformáid mmddyyyy.
dáta doc le téacs uimhir 8

2.2 Tiontaigh an dáta go huimhir i bhformáid mmddyyyy nó ddmmyyyy

Más mian leat dáta a thiontú go teaghrán uimhreacha i bhformáid mmddyyyy nó ddmmyyyy, is féidir leat an fheidhm Cealla Formáid a chur i bhfeidhm freisin.

1. Cliceáil ar dheis ag an gcill ina bhfuil an dáta a theastaíonn uait a thiontú go huimhir, agus sa roghchlár cliceáil ar dheis, roghnaigh Cealla Formáid coitianta.

2. Sa Cealla Formáid dialóg, faoi Uimhir tab, roghnaigh An Chustaim ó na Catagóir pána, ansin téigh go dtí an chuid ar dheis, iontráil mmddyyyy isteach sa cineál Bosca téacs.
dáta doc le téacs uimhir 9

3. cliceáil OK. Tiontaíodh an dáta i gcill roghnaithe go sreangán uimhreacha i bhformáid mmddyyyy
dáta doc le téacs uimhir 10

Más mian leat dáta a thiontú go teaghrán uimhreacha i bhformáid eile, is féidir leat an liosta thíos a ghlacadh mar thagairt.

dáta 2/23/2019
Cill Formáid mar is gnách ndmmyyyy dhmmyy mbhbb yyyymmdd
Taispeáin 23022019 230219 022019 20190223

3. Tiontaigh an dáta go mí / lá / bliain nó formáidí dáta eile le cad a tharlaíonn

Más mian leat dáta go formáidí míosa, lae, bliana nó dáta eile a thiontú go tapa, beidh an Cuir Formáidiú Dáta i bhfeidhm fóntais de Kutools le haghaidh Excel beidh rogha mhaith le húsáid.

Slán a fhágáil le Spondylosis Láimhe Luiche agus Ceirbheacs Anois

300 uirlisí chun cinn de Kutools le haghaidh Excel réiteach 80% Tascanna Excel i soicindí, tú a tharraingt amach as na mílte cliceáil ar an luch.

Déileáil go héasca le 1500 cás oibre, ní gá am a chur amú le réitigh a chuardach, bíodh go leor ama agat chun taitneamh a bhaint as do shaol.

Feabhas a chur ar tháirgiúlacht 80% do 110000+ duine ardéifeachtach gach lá, tú féin san áireamh ar ndóigh.

Gan a bheith cráite ag foirmlí pianmhara agus VBA a thuilleadh, tabhair suaimhneas oibre agus lúcháir oibre d’inchinn.

Triail saor in aisce 30 lá le gnéithe iomlána, airgead 30 lá ar ais gan chúiseanna.

Cruthaíonn Comhlacht Níos Fearr Saol Níos Fearr.

Tar éis Kutools a shuiteáil saor in aisce do Excel, déan mar atá thíos le do thoil:

1. Roghnaigh na cealla ina bhfuil na dátaí is mian leat a thiontú go formáidí dáta eile.

2. cliceáil Kutools > déanta > Cuir Formáidiú Dáta i bhfeidhm.
dáta doc le téacs uimhir 11

3. Sa Cuir Formáidiú Dáta i bhfeidhm dialóg, roghnaigh an fhormáid dáta is mian leat a úsáid Formáidiú dáta idir an dá linn, tabharfar réamhamharc ceart ar an toradh tiontaithe réamhamharc pane.
dáta doc le téacs uimhir 12

4. cliceáil Ok, ansin athraíodh na dátaí a roghnaigh tú go formáid an dáta a roghnaigh tú.
dáta doc le téacs uimhir 13

Tiontaigh an dáta go formáidiú dáta Aonair iolraí le cad a tharlaíonn

formáidiú dáta a chur i bhfeidhm

Tuilleadh leideanna maidir le comhshó dáta


Íoslódáil comhad samplach

sampla


Uirlisí Táirgeachta Molta

Cluaisín Oifige - Brabhsáil Tabbed, Eagarthóireacht, Bainistiú Doiciméid In Microsoft Office 2019 - 2003 Agus Office 365


cluaisín oifige

Kutools for Excel - Comhcheanglaíonn Níos Mó ná 300 Ardfheidhmeanna agus Uirlisí do Microsoft Excel


cluaisín kutools
cluaisín kutoolsp
Comments (40)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Hi, I would very much appreciate your help with this formula.How can I switch month, date ,year “030624”in to a number 306042 and put the number in sequential order after the number 306042 like: 3060421
This comment was minimized by the moderator on the site
Hi, I would very much appreciate your help with this formula.How can I switch month, date ,year “030624”in to a number 306042 and put the number in sequential order after the number 306042 like: 3060421
This comment was minimized by the moderator on the site
Hello, how i convert 13.09.2023 to 13.9 my numbers change into dates
This comment was minimized by the moderator on the site
I want to know how many times I went to check the inspection. which I recorded by days.
This comment was minimized by the moderator on the site
Hello. I would very much appreciate your help with this formula. I am wishing to enter the customer's date of birth in cell I3 (custom formatting mm/dd/yy) and would like that date of birth to automatically populate in A3 cell as mmddyy along with adding the First letter from First name cell F3 and First letter from Last name cell G3 in order to have it auto-populate an ID# for our customers in our database.

A3 F3 G3 I3
ID# First Name Last Name Date of Birth
030199AS Adam Smith 03/01/1999

Thank you so much for any help. You have no idea how much I appreciate it. I have been wracking my brain all night to no avail. :(
Shena Bruno
This comment was minimized by the moderator on the site
Hi, Shena, Bruno, in A3, please use the formula =TEXT(I3, mmddyyyy")&LEFT(F3,1)&LEFT(G3,1).
In the formula, it can be explained as two parts:
TEXT(I3, mmddyyyy") will change the value in I3 to this format mmddyyyy
LEFT(F3,1)&LEFT(G3,1) will extract the first character from left side of the strings in cell F3 and G3.
Hope it is helpful.
This comment was minimized by the moderator on the site
I want to convert the day (Tuesday) which is showing up as 1/3/1900 when you click on it because I added a formula on the original data to provide me with Day values. Now I want to use a pivot table to show me the actual days. How do I convert the 1/3/1900 which shows up at Tuesday to just Tuesday? 
This comment was minimized by the moderator on the site
Hi, Cathey, do you want to convert the formula to an actual value? If so, you can use the Paste as Value Only feature in Excel to copy and paste the formulas as values only, or you can use Kutools for Excel's To Actual feature to convert formulas to values.
This comment was minimized by the moderator on the site
Hi, I was trying to copy and past the value but its still showing the date as opposed to the day. 
This comment was minimized by the moderator on the site
Hi, Cathey, do you choose the Paste as Value option in right-click context menu? If you have choosed, try to press Ctrl +1 keys to enable format cells feature and change the cell format to mm/dd/yyyy in Date section.
This comment was minimized by the moderator on the site
Hello. I have the date 26.01.2021 in the cell A1 and in another cell I have the formula: =RIGHT(A1,4) to take the year from that date, and it returns “4526” instead of “2021”. Do you know how to solve it? Thank you very much!
This comment was minimized by the moderator on the site
try to change the format on cell A1 to general or number and then enter the values that you want again to see if it helps. I think your problem is the format issue.
This comment was minimized by the moderator on the site
Hi, I want to convert month to number. For exp: 8 months (date format) ---> "8" as a number or value. I've change its format but I can't count it.Because I want to put it to math format, for exp: 8-2 = 6 (8 from the months). But the 8 doesn't work.Hope you get it. Thank you for helping!
This comment was minimized by the moderator on the site
Hi i have a date in "13/02/2020 11:42:09" format and i want in MM/DD/YYYY format
This comment was minimized by the moderator on the site
Hi, just select the cell then apply the Text to Columns, in the Text to Columns, choose Delimiter > Space > Date(in the Date format, choose DMY) > Finish.
This comment was minimized by the moderator on the site
There is another way, it returns exactly the numeric format that represents the date abbreviated by (/), it would be: '=Substitute(A1;"/";"")
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