Μετάβαση στο κύριο περιεχόμενο

Κατάργηση ή απόκρυψη έτους από την ημερομηνία στο Excel – 3 γρήγοροι τρόποι

Συγγραφέας: Xiaoyang Τελευταία τροποποίηση: 2024-05-11

Removing the year from a date in Excel can be useful for several reasons. For instance, if you want to show only the month and day for annual events, create summaries where the year isn't needed, or keep certain details private, like hiding the year of birth in a list of employee birthdays. Here’s a detailed guide on how to effectively remove the year from a date in Excel, ensuring that your data is displayed exactly as you need it.


Format date to only display the month and day

In Excel, if you only need to modify how a date is displayed—showing just the month and day—you can change the date formatting without altering the actual value. This adjusts only the visual representation of the date while keeping the original data intact. This approach is especially beneficial when you require a quick and temporary change in how the date appears, ensuring that the underlying data remains unchanged.

In this case, here, I will introduce two methods for solving this task.

Format date to only display the month and day by using Format Cells feature

  1. Select the range of cells containing the dates.
  2. Right-click on the selection, choose κύτταρα μορφή, δείτε το στιγμιότυπο οθόνης:
  3. Στο κύτταρα μορφή παράθυρο, περιηγηθείτε στο αριθμός καρτέλα, επιλέξτε Εξατομικευμένο from the categories on the left, and type ΜΜ-ΗΗ or ΗΗ-ΜΜ in the Type box, depending on your preference for month/day order. See screenshot:
  4. Then, click OK to apply the format. This changes the display format without altering the underlying date values, which still retain the year component. See screenshot:

Format date to only display the month and day by using Kutools for Excel

Kutools για Excel's Εφαρμογή μορφοποίησης ημερομηνίας feature offers over 40 predefined date formats, plus the flexibility to create custom formats tailored to your specific needs. This robust tool enhances your spreadsheet management by allowing you to precisely control how dates are displayed, ensuring your data presentation aligns perfectly with your requirements.

Μετά την εγκατάσταση του Kutools για Excel, Κλίκ Kutools > Μορφή > Εφαρμογή μορφοποίησης ημερομηνίας, Στην Εφαρμογή μορφοποίησης ημερομηνίας dialog box, choose the specific month and day format you need, then, click OK κουμπί. Δείτε το στιγμιότυπο οθόνης:

Αποτέλεσμα:

Now, you can see that the dates are displayed as month and day. This display format modifies how the dates appear without changing the underlying date values, which still include the year component.


Remove year from date with formula

If you want to completely remove the year from a date, you can achieve this by using a formula. This method ensures that the year is permanently deleted, leaving only the month and day in the processed date.

1. In the adjacent blank cell, type the following formula:

=TEXT(B2,"mm-dd")

2. Then, drag the fill handle down to apply the formula to other cells in the column. And this formula converts the date into text format showing only the month and day. See screenshot:

Προαιρετικά:
Convert to Values: If you need static text rather than a formula, copy the new column and use Ειδική επικόλληση > αξία σύμφωνα με το Αρχική tab to paste as values.

Σχετικά Άρθρα:

  • Remove time from date / timestamp in Excel
  • Όταν εργάζεστε με δεδομένα ημερομηνίας-ώρας στο Excel, ενδέχεται να συναντήσετε τιμές ημερομηνίας όπως "1/24/2024 14:30:00" και ίσως χρειαστεί να εξαγάγετε μόνο την ημερομηνία "1/24/2024" χωρίς το τμήμα ώρας. Αυτό το άρθρο θα σας παρουσιάσει τέσσερις απλές μεθόδους για να αφαιρέσετε την ώρα από τη χρονική σήμανση. Αυτές οι μέθοδοι είναι απλές και κατανοητές, κατάλληλες για διάφορες καταστάσεις και είτε είστε αρχάριος είτε έμπειρος χρήστης του Excel, μπορείτε να τις μάθετε και να τις εφαρμόσετε γρήγορα.
  • Change American date format in Excel
  • Η διαφορετική χώρα έχει διαφορετική μορφή ημερομηνίας. Ίσως είστε προσωπικό μιας πολυεθνικής εταιρείας στην Αμερική και ενδέχεται να λάβετε κάποια υπολογιστικά φύλλα από την Κίνα ή άλλες χώρες, διαπιστώνετε ότι υπάρχουν ορισμένες μορφές ημερομηνίας που δεν έχετε συνηθίσει να το χρησιμοποιείτε. Τι πρέπει να κάνεις? Σήμερα, θα σας παρουσιάσω μερικούς τρόπους για να το λύσετε αλλάζοντας άλλες μορφές ημερομηνίας σε αμερικανικές μορφές ημερομηνίας στο Excel.
  • Calculate number of days in a month or a year
  • As we all know, there are leap years and common years where leap year has 366 days and common year has 365 days. To calculate the number of days in a month or a year based on a date as below screenshot shown, this article will help you..

Τα καλύτερα εργαλεία παραγωγικότητας γραφείου

🤖 Kutools AI Aide: Επανάσταση στην ανάλυση δεδομένων με βάση: Ευφυής Εκτέλεση   |  Δημιουργία κώδικα  |  Δημιουργία προσαρμοσμένων τύπων  |  Αναλύστε δεδομένα και δημιουργήστε γραφήματα  |  Επίκληση Λειτουργιών Kutools...
Δημοφιλή χαρακτηριστικά: Εύρεση, επισήμανση ή αναγνώριση διπλότυπων   |  Διαγραφή κενών γραμμών   |  Συνδυάστε στήλες ή κελιά χωρίς απώλεια δεδομένων   |   Γύρος χωρίς φόρμουλα ...
Σούπερ Αναζήτηση: VLookup πολλαπλών κριτηρίων    VLookup πολλαπλών τιμών  |   VLookup σε πολλά φύλλα   |   Ασαφής αναζήτηση ....
Σύνθετη αναπτυσσόμενη λίστα: Γρήγορη δημιουργία αναπτυσσόμενης λίστας   |  Εξαρτημένη αναπτυσσόμενη λίστα   |  Πολλαπλή αναπτυσσόμενη λίστα ....
Διαχειριστής στήλης: Προσθέστε έναν συγκεκριμένο αριθμό στηλών  |  Μετακίνηση στηλών  |  Εναλλαγή κατάστασης ορατότητας κρυφών στηλών  |  Συγκρίνετε εύρη και στήλες ...
Επιλεγμένα Χαρακτηριστικά: Εστίαση πλέγματος   |  Προβολή σχεδίου   |   Μεγάλη Formula Bar    Διαχείριση βιβλίου εργασίας & φύλλου   |  Βιβλιοθήκη πόρων (Αυτόματο κείμενο)   |  Επιλογή ημερομηνίας   |  Συνδυάστε φύλλα εργασίας   |  Κρυπτογράφηση/Αποκρυπτογράφηση κελιών    Αποστολή email ανά λίστα   |  Σούπερ φίλτρο   |   Ειδικό φίλτρο (φίλτρο με έντονη γραφή/πλάγια γραφή/διαγραφή...) ...
Κορυφαία 15 σύνολα εργαλείων12 Κείμενο Εργαλεία (Προσθήκη κειμένου, Κατάργηση χαρακτήρων, ...)   |   50 + Διάγραμμα Τύποι (Gantt διάγραμμα, ...)   |   40+ Πρακτικό ΜΑΘΗΜΑΤΙΚΟΙ τυποι (Υπολογίστε την ηλικία με βάση τα γενέθλια, ...)   |   19 Εισαγωγή Εργαλεία (Εισαγωγή κωδικού QR, Εισαγωγή εικόνας από το μονοπάτι, ...)   |   12 Μετατροπή Εργαλεία (Αριθμοί σε λέξεις, Μετατροπή Συναλλάγματος, ...)   |   7 Συγχώνευση & διαχωρισμός Εργαλεία (Σύνθετες σειρές συνδυασμού, Διαίρεση κελιών, ...)   |   ... κι αλλα

Αυξήστε τις δεξιότητές σας στο Excel με τα Kutools για Excel και απολαύστε την αποτελεσματικότητα όπως ποτέ πριν. Το Kutools για Excel προσφέρει πάνω από 300 προηγμένες δυνατότητες για την ενίσχυση της παραγωγικότητας και την εξοικονόμηση χρόνου.  Κάντε κλικ εδώ για να αποκτήσετε τη δυνατότητα που χρειάζεστε περισσότερο...

Περιγραφή


Το Office Tab φέρνει τη διεπαφή με καρτέλες στο Office και κάνει την εργασία σας πολύ πιο εύκολη

  • Ενεργοποίηση επεξεργασίας και ανάγνωσης καρτελών σε Word, Excel, PowerPoint, Publisher, Access, Visio και Project.
  • Ανοίξτε και δημιουργήστε πολλά έγγραφα σε νέες καρτέλες του ίδιου παραθύρου και όχι σε νέα παράθυρα.
  • Αυξάνει την παραγωγικότητά σας κατά 50% και μειώνει εκατοντάδες κλικ του ποντικιού για εσάς κάθε μέρα!
Comments (2)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
excellent stuff, great work
This comment was minimized by the moderator on the site
I want not only it to show only MM-DD but I don't want the year at all as I am sorting this data. I can format as MM-DD but only want that. excel is automatically inserting the current date year( even though it is not shown). which is confusing my sort. I will be adding new dates ongoing and do not want the year I added it in the sort.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations