Note: The other languages of the website are Google-translated. Back to English
Inloggen  \/ 
x
or
x
Registreer  \/ 
x

or

Hoe converteer je datum naar weekdag, maand, jaarnaam of nummer in Excel?

Zegt dat u een datum in één cel invoert, en deze wordt weergegeven als 12/13/2015. Is er een manier om alleen de maand of de weekdag weer te geven, of de tekst van de naam van de maand of de weekdag, zoals decemberof zondag? Met de volgende methoden kunt u gemakkelijk alle soorten datums converteren of opmaken om alleen de naam van de weekdag of de maand in Excel weer te geven.

  1. Converteer datums naar de naam of het nummer van de weekdag / maand / jaar met Cel opmaken
  2. Converteer datums naar de naam van de weekdag / maand met de TEXT-functie
  3. Converteer een datum naar de naam van een weekdag / maand met de functie CHOOSE
  4. Converteer datums naar weekdag / maand / jaar naam of nummer met een geweldige tool

Converteer datums naar de naam of het nummer van de weekdag / maand / jaar met Cel opmaken

We kunnen de datumnotatie aanpassen en datums weergeven als weekdagnamen of maandnamen alleen eenvoudig in Excel.

1. Selecteer de datumcellen die u wilt converteren naar dag van week, maand of jaarnamen / nummers, klik met de rechtermuisknop en selecteer het Cellen opmaken vanuit het rechtsklikmenu.

Kutools for Excel

Wees anders dan de rest

300 handige gereedschappen
Los 80% problemen op in Excel
Gratis proef nu

Zeg vaarwel tegen vreselijke VBA en formules!

2. In het dialoogvenster Cellen opmaken openen, onder Aantal klik op de Eigen functie in het Categorie vak, en voer vervolgens "ddd" in de Type doos.

Opmerking:: De "ddd"geeft de datum weer als naam van de weekdag, zoals"Za". Neem de date 3 / 7 / 2019 de volgende tabel toont bijvoorbeeld andere aangepaste datumnotaties:

  A B C D
1 Datum 3 / 7 / 2019    
2        
3 Nee. Weergeven als Code opmaken Voorbeeldshows
4 1 Naam weekdag ddd Don
5 2 Naam weekdag dddd donderdag
6 3 Naam maand mmm Mar
7 4 Naam maand hmm Maart
8 5 Maand nummer m 3
9 6 Jaarnummer yyyy 2019
10 7 Jaarnummer yy 19
11 8 Datum nummer d 7
12 9 Datum nummer dd 7

3. Klik op de OK knop om de aangepaste datumnotatie toe te passen.

Eén klik om meerdere datums om te zetten in week- / maand- / jaarnamen of getallen in Excel

Heeft u ooit een datum geconverteerd naar de dag van de week door met de rechtermuisknop te klikken en de opmaakcode op te geven in het dialoogvenster Cel opmaken? Hier, met Kutools voor Excel's Datumopmaak toepassen functie, kunt u snel een reeks datums weergeven als alleen maandnamen of dagen van weken eenvoudig met slechts één klik in Excel! Gratis proefperiode van 30 dagen met volledige functionaliteit!

Kutools for Excel - Bevat meer dan 300 handige tools voor Excel. Gratis proefperiode van 30 dagen met volledige functionaliteit, geen creditcard vereist! Snap het nu

Converteer datums naar weekdag / maandnaam of nummer met TEXT-functie

Microsoft Excel's TEKST functie kan u helpen om een ​​datum gemakkelijk naar de bijbehorende maandnaam of weekdagnaam te converteren.

Voer deze formule in een lege cel in = TEXT (A2; "mmmm"), in dit geval in cel C2. en druk op de Enter sleutel. En sleep vervolgens de AutoFill-hendel van deze cel naar het bereik dat u nodig hebt.

En de datum is omgezet in maandnaam. Zie screenshot:

Opmerking:: U kunt de "mmmm" wijzigen in een andere formaatcode volgens boven tafel. U kunt bijvoorbeeld ook een datum naar de naam van de weekdag converteren met de formule = TEXT (A2; "dddd").

Wilt u zich nu onderscheiden van de massa? 30+ datafuncties verhogen uw expertise!

Met 30+ datafuncties van Kutools for Excel, krijgt u praktische vaardigheden over datums in 3 minuten, en werkt u sneller en beter dan anderen, krijgt u gemakkelijk loonsverhoging en promotie!

Om sympathieker te zijn

Ga efficiënt om met datumproblemen in Excel, zodat u gemakkelijk waardering krijgt voor anderen op het werk.

Zorg voor uw gezin

Zeg vaarwel tegen repetitief en triviaal datewerk in Excel, bespaar meer tijd om uw gezin te vergezellen.

Geniet van een gezond leven

Datums bulksgewijs invoegen, wijzigen of berekenen, honderden klikken per dag verminderen, afscheid van de muis.

Nooit zorgen maken over ontslagen

Verbeter 91% werkefficiëntie, los uw 95% datumproblemen op in Excel, werk eerder dan gepland af.

Maak je geheugen vrij

12 Kutools-formules over datums, stop met het onthouden van pijnlijke formules en VBA-codes, werk met gemak.

Kutools for Excel brengt 300 handige tools voor 1500 werkscenario's, slechts $ 39.0 maar meer dan $ 4000.0 waard Excel-training van anderen, bespaar elke cent voor jou!

Converteer een datum naar de naam van een weekdag / maand met de functie CHOOSE

Als deze speciale opmaakcodes moeilijk te onthouden zijn en in formules kunnen worden toegepast, kunt u ook de KIEZEN functie om een ​​datum naar de naam van de maand of dag van de week in Excel te converteren. Ga als volgt te werk:

Voer de formule in een lege cel in = KIEZEN (WEEKDAY (B1), "Sun", "Mon", "Tue", "Wed", "Do", "Fri", "Sat")en druk op de Enter sleutel. Deze formule converteert de datum naar de dag van de week zoals hieronder wordt getoond.
Opmerking:: Pas deze formule toe om een ​​datum naar de naam van een maand om te zetten = KIES (MAAND (B1), "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov "," Dec ")

Converteer datums naar weekdag / maand / jaar naam of nummer met Kutools voor Excel

Het TEKST functie is gemakkelijk om te gaan met een paar datums, en het zal tijdrovend zijn als er veel zijn. Kutools voor Excel's Datumopmaak toepassen tool kan u helpen om alle datums in selecties gemakkelijk om te zetten in de naam van de maand of de weekdag.

Kutools for Excel - Bevat meer dan 300 handige tools voor Excel. Gratis proefperiode van 30 dagen met volledige functionaliteit, geen creditcard vereist! Snap het nu

1. Selecteer het bereik waarmee u wilt werken en klik op Kutools > Formaat > Datumopmaak toepassen, zie screenshot:

2. Selecteer in het dialoogvenster Datumopmaak toepassen de datumnotatie in het Datumnotatie in en klik op de Ok knop.
U kunt bijvoorbeeld selecteren 03, Mar or Maart functie in het Datumnotatie om de datums om te zetten in maandnamen of maandnummers, of selecteer trouwen or woensdag om de datums om te zetten in namen van weekdagen, of selecteer 01 or 2001 om datums om te zetten in jaargetallen, of selecteer 14 om te converteren naar datumnummers.

Nu worden alle geselecteerde datums geconverteerd naar de opgegeven datumnotatie, zoals de naam van de maand, de dag van de week of andere naar keuze:

Opmerking:De Datumopmaak toepassen tool verandert de werkelijke waarden niet.

Dit Datumopmaak toepassen functie helpt Excel-gebruikers met één klik om alle geselecteerde datums te converteren naar de maandnamen, dagen van weken, jaar, enz. Probeer gratis!

Gerelateerde artikelen

Met 300 tools onderscheid je je nu van de massa

met Kutools voor Excel - maak u nooit zorgen over het schrappen van banen

Kutools for Excel brengt 300 handige tools voor 1500 werkscenario's, helpt u sneller en beter te werken dan uw collega's en wint gemakkelijk het vertrouwen van uw baas. Je zult de laatste zijn in de lijst met ontslagen en gemakkelijk een stabiel en beter leven voor je gezin behouden!

  • Om in 3 minuten Excel onder de knie te krijgen en gemakkelijk waardering van anderen te winnen.
  • Verbeter 80% werkefficiëntie, los uw 80% problemen op in Excel, maak geen overuren.
  • Versnel uw werk, bespaar elke dag 2 uur om uzelf te verbeteren en uw gezin te begeleiden.
  • Zeg vaarwel tegen ingewikkelde formules en VBA-code, maak geheugen vrij.
  • Verminder duizenden toetsenbordbewerkingen en muisklikken, ver weg van de muis.
  • Besteed $ 39.0, ter waarde van meer dan $ 4000.0 aan training van anderen.
  • Keuze uit 110,000+ zeer effectieve mensen en 300+ bekende bedrijven, werken stabiel in Excel.
  • Gratis proefperiode van 30 dagen met volledige functionaliteit, geen creditcard vereist.
Lees verder ...
Gratis proef nu
 
Say something here...
symbols left.
You are guest
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Rose · 7 months ago
    In Cell 1, Month is mentioned in Text format and how do I find the number of days for the same month in Cell 2

  • To post as a guest, your comment is unpublished.
    Juss · 1 years ago
    HOW DO I CONVERT 2ND MONDAY 2019 TO A DATE?
  • To post as a guest, your comment is unpublished.
    spj.dangerous@gmail.com · 2 years ago
    Suppose today is 25.10.19 that is Friday and I have to make any kind of statement in excel where I need every day to enter previous day date or you can say one day back date that is 24.10.19 which is Thursday in one of the cell in excel. So I tried for date one formula that is =Today()-1 ,so it becomes 24.10.19 but I don't know how to put formula for weekly day ,Can Anyone help me out
    • To post as a guest, your comment is unpublished.
      kellytte · 1 years ago
      =CHOOSE(WEEKDAY(TODAY()-1),"Sun","Mon","Tue","Wed","Thu","Fri","Sat")
  • To post as a guest, your comment is unpublished.
    Daniel · 2 years ago
    if I have 4th Thursday of Dec 2019, how would I calculate the date in excel , what will be the formulla
    • To post as a guest, your comment is unpublished.
      kellytte · 2 years ago
      Hi Daniel,
      First, define the day of weekday. In general, we can use 1 represents Sun, 2 represents Mon, …, and 7 for Sat.
      Second, the Year and Month are fixed (2019 Dec)
      Now we can use the formula =DATE(B3,C3,1+E3*7)-WEEKDAY(DATE(B3,C3,8-VLOOKUP(D3,B6:C12,2,FALSE))) to return the specified date. See screenshot:
      Note: B3 is the year, C3 is Month, E3 indicates the nth day of week, D3 is the day of week, B6:C12 is the table where we define the day of weeks.
  • To post as a guest, your comment is unpublished.
    Saran · 2 years ago
    Hi,
    How can I convert day and time (IST) to PST? For example, SUN 6:00 AM (IST) in column A2, I need the value for PST which is SUN 7:30 PM.
    • To post as a guest, your comment is unpublished.
      kellytte · 2 years ago
      Hi Saran,
      You can use Kutools formula – Add minutes to date: add 810 minutes (13.5 hours) to the IST time, and get the PST time.
  • To post as a guest, your comment is unpublished.
    Annastacia · 3 years ago
    02/01/2016 00:00 i Have date in this format and i want to convert it to the days of the week.....monday tuesday,wednesday etc. Kindly help
    • To post as a guest, your comment is unpublished.
      kellytte · 2 years ago
      Hi,
      Both =TEXT(A1,"dddd") and =TEXT(A1,"ddd") can convert the dates with time to days of week. Try them!
  • To post as a guest, your comment is unpublished.
    B · 3 years ago
    If I have a date in a1 (1/25/18) and I want a2 to give the month (Jan) but my months from the 25th - 26th of next month, ie; 12/26/17 - 1/25/17 would be Jan, and 1/26/18 - 2/25/18 would be Feb. So in my case if a1 is 1/27/18 would make a2 say Feb. What formula could I use? I can't find anything about setting your own date range to reflect a certain month, for like billing cycles for instance. Please help!!
    • To post as a guest, your comment is unpublished.
      kelly001 · 3 years ago
      Hi,

      you can try this formula =IF(DAY(A1)>25,TEXT(DATE(YEAR(A1),MONTH(A1)+1,DAY(A1)),"MMMM"),TEXT(A1,"MMMM"))
  • To post as a guest, your comment is unpublished.
    owen · 4 years ago
    id like to ask, how to compute for the # of days outstanding based on the cut off date : e.g. 07.21.17 ( cutt off date
    • To post as a guest, your comment is unpublished.
      · 4 years ago
      Hi Owen,


      Do you mean calculate days from today to the deadline? If so, you can try this formula =deadline date -TODAY()
  • To post as a guest, your comment is unpublished.
    pavan · 4 years ago
    hello, how can be show month period in this formate like 1 march 2017 to 31 march 2017, pls help
    • To post as a guest, your comment is unpublished.
      · 4 years ago
      maybe this formula =TEXT(A1,"d mmmm yyyy") can help you
  • To post as a guest, your comment is unpublished.
    Aahana · 4 years ago
    Hi,

    I want to add a column "Month" that displays month of the date mentioned in "Date" column and there are almost 11,000 rows. Please help. text() function cannot be applied to every column individually.

    Thank you
    • To post as a guest, your comment is unpublished.
      Charlie · 4 years ago
      [quote name="Aahana"]Hi,

      I want to add a column "Month" that displays month of the date mentioned in "Date" column and there are almost 11,000 rows. Please help. text() function cannot be applied to every column individually.

      Thank you[/quote]

      Hi, on a separate sheet in the workbook create a table A1- A12 fill 1,2,3 etc, in col B1-12 type the month names.. jan, feb, mar etc..
      Rename the Sheet to: Months
      In name manager create a new name, call this "month" and refer to =Months!$A$1:$B$12
      On the sheet you want to show the month, insert a column after the date, and type the following formula: =IF(A1="";"";VLOOKUP(Month(A1);month;2))
      A1 should be replaced with the reference of the cell that contains the date! Then you can copy the formula down in the column.
      If the dates in your sheet are in format yyyy-mm-dd then this formula will return April for 2017-04-18
      Hope this helps.
  • To post as a guest, your comment is unpublished.
    eyvii · 4 years ago
    how i can display the date like this in excel 23th day of March 24, 2018?
    • To post as a guest, your comment is unpublished.
      test · 3 years ago
      do you mean 23rd day of March, 2018
  • To post as a guest, your comment is unpublished.
    ha · 4 years ago
    anyone please help me to get only weeks like i want to show data group by week and it need to show always Sunday and week group

    example: 1/1, 1/8, 1/15
    • To post as a guest, your comment is unpublished.
      kellytte · 2 years ago
      Hi,

      you can apply the WEEKNUM function to return the week number of specified date. for example, =WEEKNUM("2018/5/27",1) will return 22, it means 2018/5/27 is in the 22ed week of Year 2018.
      And then you can group dates by their week numbers.
  • To post as a guest, your comment is unpublished.
    Mike Delaney · 4 years ago
    When I use the formula in column K =CHOOSE(WEEKDAY(J4), "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday") then copy it down the column, any space in column J that is blank comes up with Saturday in column K. I need a way for if a cell is a blank in column J for it to stay blank in K as well.
    • To post as a guest, your comment is unpublished.
      Charlie · 4 years ago
      [quote name="Mike Delaney"]When I use the formula in column K =CHOOSE(WEEKDAY(J4), "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday") then copy it down the column, any space in column J that is blank comes up with Saturday in column K. I need a way for if a cell is a blank in column J for it to stay blank in K as well.[/quote]

      Hi, try the following formula in K4... =if(J4="","",CHOOSE(WEEKDAY(J4), "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"))
      When copied down in column K if cells in column J is empty it'll stay blank in column K.
  • To post as a guest, your comment is unpublished.
    Marilyn · 5 years ago
    My table came over with the date as 20160502, however I have to add 45 days to all dates so this format does not work, is there a way to convert it to 05/02/2016?
    • To post as a guest, your comment is unpublished.
      · 4 years ago
      Hi Marilyn,
      =DATE(LEFT(A1,4),MID(A1,5,2),RIGHT(A1,2)) this formula will change the string 20160502 to date in default date formatting.
  • To post as a guest, your comment is unpublished.
    Marcia · 6 years ago
    Thanks. This was incredibly helpful!!!
  • To post as a guest, your comment is unpublished.
    Maher · 6 years ago
    Hi,

    How to create a formula for the flowing:
    1- Cell A2 has full birthday date (Day, Month and Year)
    2- I want Cell B to show "happy Birthday" message if Cell A2 is today's birthday date

    Thanks,
    • To post as a guest, your comment is unpublished.
      Charlie · 6 years ago
      Hi,
      1- Type the date in A2 in the date format of your computer
      2- Use formula '=IF(A2=TODAY();"Happy Birthday";FALSE) in the cell you want to show Happy Birthday(cell B2) you may need to change ; with : in the formula if it doesn't work. Also if you want to leave cell B2 empty when A2 is not today then replace FALSE with "".
    • To post as a guest, your comment is unpublished.
      Charlie · 6 years ago
      [quote name="Maher"]Hi,

      How to create a formula for the flowing:
      1- Cell A2 has full birthday date (Day, Month and Year)
      2- I want Cell B to show "happy Birthday" message if Cell A2 is today's birthday date

      Thanks,[/quote]
      Hi,
      Try this formula... =IF(C2=TODAY();"happy birthday";"")
      If it doesn't work replace ; with : also if you wish to leave cell B2 empty when birthday is not today then replace FALSE with "" in the formula.
  • To post as a guest, your comment is unpublished.
    rupesh sharma · 6 years ago
    Thank you, working good.
  • To post as a guest, your comment is unpublished.
    sudha · 7 years ago
    Thank you a lot....to show the weekday formula.
  • To post as a guest, your comment is unpublished.
    sudha · 7 years ago
    Nice formula... working good
  • To post as a guest, your comment is unpublished.
    Charlie · 7 years ago
    Hi using Excel 2007... entered =TEXT(A1,"mmmm") got error... corrected formula with =TEXT(A1;"mmmm") getting result 00!! if I change "mmmm" with "dddd" it displays the "day" properly. How I can I get it to display the "month"?..
    • To post as a guest, your comment is unpublished.
      Geno · 7 years ago
      There's an extra space hiding in your formula (try right before or after the closing parenthesis). The ";" should not work - the "," is the correct format for the formula.
      • To post as a guest, your comment is unpublished.
        Charlie · 6 years ago
        [quote name="Charlie"]Hi using Excel 2007... entered =TEXT(A1,"mmmm") got error... corrected formula with =TEXT(A1;"mmmm") getting result 00!! if I change "mmmm" with "dddd" it displays the "day" properly. How I can I get it to display the "month"?..[/quote]
        [quote name="Geno"]There's an extra space hiding in your formula (try right before or after the closing parenthesis). The ";" should not work - the "," is the correct format for the formula.[/quote]

        Hello again, I've double checked the formula... no hidden spaces etc in it. In excel you can actually choose between "," and ";" as operative divider which in my case is ";" using it in the formula for day dddd works fine but mmmm does not return name of month! All I get is 00. I've tried on several computers with excel installed... seems to be a bug in the program.
  • To post as a guest, your comment is unpublished.
    janey · 7 years ago
    or just =TEXT(WEEKDAY(A1),"dddd")
  • To post as a guest, your comment is unpublished.
    janey · 7 years ago
    for weekday you may use =TEXT(A1,"[$-14409]dddd")and you get Friday displayed. No need that Kutools
  • To post as a guest, your comment is unpublished.
    Girish · 7 years ago
    thanks for the formula.. very nice one :-)
  • To post as a guest, your comment is unpublished.
    Hemant · 7 years ago
    Good Job .... Great .....it solve my issues in seconds
  • To post as a guest, your comment is unpublished.
    Smarty · 7 years ago
    Thanks a lot :)
    Really helpful.
  • To post as a guest, your comment is unpublished.
    John · 7 years ago
    Thank you, this saved me HOURS of time!!!!!
  • To post as a guest, your comment is unpublished.
    hey 1990 · 7 years ago
    need how to convert date(25-02-14) into month in excel. also while creting the pivot if have to date in a same month showing sam e month in two times in pivot.pls
  • To post as a guest, your comment is unpublished.
    PAttie · 7 years ago
    My goodness, it's working now....sorry!
  • To post as a guest, your comment is unpublished.
    PAttie · 7 years ago
    I entered the text formula but it did not work...help?
  • To post as a guest, your comment is unpublished.
    Pankaj Sanwaria · 7 years ago
    Thanks a lot for formula =TEXT(A1,"mmmm")to convert date in text.
  • To post as a guest, your comment is unpublished.
    Pankaj Sanwaria · 7 years ago
    Thanks a lot for formula (=Text(Cell),"mmmm").
  • To post as a guest, your comment is unpublished.
    subhash · 7 years ago
    Thanks, very much effective formula
    • To post as a guest, your comment is unpublished.
      Jacques Limbi · 4 years ago
      Fantastic! I worked very well for me aswell. Really appreciate your help