ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   remove a year from date value in mulitple cells (https://www.excelbanter.com/excel-worksheet-functions/50300-remove-year-date-value-mulitple-cells.html)

kb

remove a year from date value in mulitple cells
 
I have about 1,000 cells with a xx/dd/yyyy format. I am trying to delete
just the year in each cell so that it shows only the month and day. Is there
a formula I can use to globally delete the year from each cell? Thanks, Karen

David Billigmeier

Just format it as such:

Select your range, Format-Cells-'Number' tab-Date, and choose the way you
would like your values to be displayed.


--
Regards,
Dave


"kb" wrote:

I have about 1,000 cells with a xx/dd/yyyy format. I am trying to delete
just the year in each cell so that it shows only the month and day. Is there
a formula I can use to globally delete the year from each cell? Thanks, Karen


Roger Govier

Hi Karen

FormatCellsNumberCustom and in the white pane type mm/dd or any
combination to get the format you like.
mm will give month number
mmm will give Jan, Feb etc.
mmmm will give January, February etc.

Regards

Roger Govier



kb wrote:

I have about 1,000 cells with a xx/dd/yyyy format. I am trying to delete
just the year in each cell so that it shows only the month and day. Is there
a formula I can use to globally delete the year from each cell? Thanks, Karen



Conan Kelly

Are these cells formatted as a Date format or are they formatted as
Text? If they are formatted as Date, Do you really need to delete the
year or can you just change the format so the year doesn't show?

If you set the format to MM/dd it should show the way you want it to
without deleting any data. There is even a predefined formatt for
this: "Format Cells" dialog box"Number" tab"Date" Category. It is
the third one in the "Type" list on my computer ("3/14")

I hope this helps,

Conan Kelly



"kb" wrote in message
...
I have about 1,000 cells with a xx/dd/yyyy format. I am trying to
delete
just the year in each cell so that it shows only the month and day.
Is there
a formula I can use to globally delete the year from each cell?
Thanks, Karen





All times are GMT +1. The time now is 01:08 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com