Skip i'r prif gynnwys

Sut i dynnu neu gael y flwyddyn, y mis a'r diwrnod o'r rhestr dyddiad yn Excel?

Am restr dyddiad, a ydych chi'n gwybod sut i dynnu neu gael rhif y flwyddyn, y mis a'r diwrnod? Gweler y screenshot isod. Yn yr erthygl hon, byddwn yn dangos fformiwlâu i chi o gael rhif blwyddyn, mis a dydd ar wahân i restr dyddiad yn Excel.


Detholiad / cael y flwyddyn, y mis a'r diwrnod o'r rhestr dyddiad yn Excel

Cymerwch y rhestr o dan y dyddiad fel enghraifft, os ydych chi am gael y rhifau blwyddyn, mis a dydd o'r rhestr hon, gwnewch fel a ganlyn gam wrth gam.

Tynnwch rif y flwyddyn

1. Dewiswch gell wag ar gyfer lleoli rhif y flwyddyn, fel cell B2.

2. Copi a gludo fformiwla = BLWYDDYN (A2) i mewn i'r Bar Fformiwla, yna pwyswch Rhowch allwedd. Llusgwch y Llenwi Trin i lawr i'r ystod sydd ei hangen arnoch i gael rhif blwyddyn gyfan o'r rhestr.

Tynnwch rif y mis

Mae'r adran hon yn dangos i chi'r fformiwla o gael rhif y mis o'r rhestr.

1. Dewiswch fformiwla cell wag, copïo a gludo MIS (A2) i mewn i'r Bar Fformiwla a gwasgwch y Rhowch allweddol.

2. Llusgwch y Llenwi Trin i lawr i'r ystod sydd ei hangen arnoch chi.

Yna fe gewch rifau mis y rhestr ddyddiadau.

Tynnwch rif y dydd

Mae'r fformiwla cael rhif diwrnod mor syml â'r fformwlâu uchod. Gwnewch fel a ganlyn.

Copi a gludo fformiwla = DYDD (A2) i mewn i gell wag D2 a'i wasgu Rhowch allwedd. Yna llusgwch y Llenwch Trin i lawr i'r amrediad i dynnu rhifau'r dydd o'r rhestr dyddiad y cyfeiriwyd ati.

Nawr mae'r rhifau blwyddyn, mis a dydd yn cael eu tynnu o'r rhestr dyddiadau fel y dangosir y screenshot uchod.


Newid fformatio dyddiad yn hawdd yn yr ystod dyddiad a ddewiswyd yn Excel

Kutools ar gyfer Excel's Gwneud Cais Fformatio Dyddiad mae cyfleustodau yn eich helpu i newid pob fformat dyddiad yn hawdd i fformat dyddiad penodol mewn ystod dyddiad dethol yn Excel.
Dadlwythwch y nodwedd lawn 30-diwrnod llwybr rhad ac am ddim o Kutools ar gyfer Excel nawr!

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 (16)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
EN MI CASO QUE TIENE 2022-07-01T00:00:01-06:00 PERO YO LO UNICO QUE NECESITO ES EL AÑO EL MES Y EL DIA

COMO PODRIA APLICAR A LA FORMULA
This comment was minimized by the moderator on the site
Hola Cesar22,

Lo que podes hacer es lo siguiente:
Si la informacion esta en A1
-=TEXT(LEFT(A1,10),"dd mm yyyy")

Esto saca la fecha de toda la otra informacion y te da el dia (dd), el mes (mm) y el año (yy).

Buena suerte
This comment was minimized by the moderator on the site
Hi, i have tried and these formulas do not seem to working for what i intend or understand. I need to extract the day and month from a cell.

Ex. 1955-03-08 (current data) to 8 Mar (required data)

Please could someone assist.
This comment was minimized by the moderator on the site
Hi Ansonica Campher,
The following formula can do you a favor. Please give it a try.
=TEXT(A1,"dd mmm")
This comment was minimized by the moderator on the site
HELP. I have a list of Payment dates, (8/1/16, 9/1/16, 10/1/16, + 30 years). How do I find the current month/year? Im trying to have my formula find the current month/year and grab the data from a different column from the row that the current month is in.
This comment was minimized by the moderator on the site
Hi Brittany,
Supposing all dates are in column B and the current date is in F1. You need to create a helper column, enter the following formula into the first cell of that column (the cell should be in the same row as the first date in column B), press Enter to get the first result. Then drag its AutoFill Handle down to get the rest of the results.
If the result comes TRUE, it means that the date is the same month and year as the current date.
=MONTH(B1)&YEAR(B1)=MONTH($F$1)&YEAR($F$1)
This comment was minimized by the moderator on the site
this website help me to find what ive been searching all this time.. many thanks..
This comment was minimized by the moderator on the site
This is stupid. Anyone who comes to this website wants the day of the month to populate into a cell! Anyone can plug in a random number into cell A2 and the click into cell B2 and insert the formula =A2. That's not what anyone is looking for that comes to this page. People want the cell to populate with the DAY OF THE MONTH!!!! This information and website is USELESS!!!
This comment was minimized by the moderator on the site
You wanted the actual day of the week or month?? Day of the week would be...

=TEXT(B2,"dddd") for full day

=TEXT(B704,"ddd") for 3 letter day like Mon, Tue, Wed etc
This comment was minimized by the moderator on the site
That's amazing, thanks Charles, did not really seen this one coming.
This comment was minimized by the moderator on the site
i got what i need from this text function. Thank you
This comment was minimized by the moderator on the site
Did you actually read the site? The formula =DAY(A2) would extract the day of the month from whatever date you had entered in cell A2. How is that not what you're asking for?
This comment was minimized by the moderator on the site
No, that would extract the day number, not the actual day. I believe frank means he wants to see MON, TUE, WED etc.
This comment was minimized by the moderator on the site
=MONTH(A2) drops the leading zero for single digit months. Having that cell formatted as Text does not solve. How to keep the leading zero?
This comment was minimized by the moderator on the site
=text(A2, "mmm") for month name in abbreviations


=text(A2, "mmmm") for full month name
This comment was minimized by the moderator on the site
Thank u Sonu, u answered my question as well..
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations