In excel date format is not changing

Почему не меняется формат даты в Excel? Возможной причиной является конфликт форматов или блокировка стиля ячеек, неправильное выполнение работы или временный сбой в работе приложения. Для устранения попробуйте перезапустить программу или воспользуйтесь одним из приведенных в статье способов. Ниже рассмотрим основные причины и способы решения такой проблемы в Excel.

Причины и пути решения

Для решения проблемы нужно понимать, почему Эксель не меняет формат даты при любых попытках. К возможным причинам стоит отнести:

  1. Конфликт форматов и блокировка стиля ячейки.
  2. Несоответствие заданных стилей Excel.
  3. Неправильное выполнение работы.
  4. Временные сбои в работе программы.
  5. Неправильные региональные настройки.

В ситуации, когда не меняется дата в Эксель, можно воспользоваться одним из рассмотренных ниже решений.

Способ №1:

  • Выберите столбец даты в Excel.
  • Зайдите в раздел «Данные» и выберите «Text to Columns».

  • На первом экране поставьте переключатель «delimited».
  • Кликните на кнопку «Далее».
  • Снимите флажки-разделители и кликните на кнопку «Далее».
  • В секции «Формат данных столбца» выберите «Дату».

  • Жмите «Готово».

Решение №2:

  1. Выделите ячейки, где не меняется дата в Экселе.
  2. Жмите на сочетание Ctrl+1.
  3. В разделе «Формат ячеек» откройте вкладку «Число».
  4. В перечне «Категория» выберите требуемый раздел.
  5. Перейдите в «Тип» и укажите подходящий вариант форматирования в Excel. Для предварительного просмотра перейдите в раздел «Образец». Если сделанный вариант не устраивает, можно внести изменения и снова выполнить проверку — меняется отображение или нет.

Метод №3:

  1. Жмите нужную ячейку, где формат даты в Эксель не меняется.
  2. Кликните сочетание Ctrl+Shift+#.

Способ №4:

  1. Используйте формулу: =DATE(MID(A1,FIND(«,»,A1)+1,5),MATCH(LEFT(A1,3),{«Jan»;»Feb»;»Mar»;»Apr»;»May»;»Jun»;»Jul»;»Aug»;»Sep»;»Oct»;»Nov»;»Dec»},0),MID(SUBSTITUTE(A1,»,»,»   «),5,5)) для перевода в REAL.
  2. Проверьте, что отображение в Excel меняется с учетом предпочтений.

Такой вариант может сработать в случае неправильных региональных настроек и невозможности изменения форматирования для дня, строки и времени. Представленную форму Excel можно сделать проще, если представить больше сведений о формате ввода. Но даже в таком случае все должно работать корректно. Кроме того, при желании сохранить часть времени можно воспользоваться формулой +RIGHT(A1,11).

Решение №5:

  1. Загрузите лист Excel, где не меняется стиль отображения, на Гугл Док.
  2. Откройте файл с помощью электронной Гугл-таблицы.
  3. Выберите весь столбец с информацией.
  4. Установите тип формата для даты. На данном этапе можно выбрать любой подходящий вариант.
  5. Закройте электронную таблицу Гугл в формате .xlsx.

Метод №6:

  1. Копируйте несколько ячеек, где не меняется форматирование даты в Excel, в блокнот.
  2. Жмите на Clear All.
  3. Вставьте содержимое ячейки в блокнот обратно в те же ячейки.
  4. Установите их в качестве текущего дня в нужном варианте и т. д.

Как поменять формат в Excel

Распространенная причина, почему софт не меняет дату в Экселе — неправильные действия пользователя. Для решения проблемы необходимо правильно сделать эту работу. Здесь существует несколько путей.

Вариант №1:

  1. Зайдите во вкладку «Главная».
  2. Перейдите в раздел «Число».
  3. Жмите на кнопку вызова диалогового окна (находится над строчкой «Число»).
  4. В списке «Категория» выберите нужный пункт.
  5. Перейдите в раздел «Тип» и установите нужный вариант отображения в Excel.

Тип форматирования, который начинается со звездочки, влияют за изменение параметров дня / времени, установленных на панели управления. В ином случае этого влияния нет. После этого необходимо выбрать нужный язык, который меняется с помощью специального переключателя. Выбор осуществляется из доступного перечня (русский язык предусмотрен).

Вариант №2:

  1. Зайдите во вкладку XLTools.
  2. В группе «Дата и время» откройте выпадающий перечень.
  3. Войдите в раздел «Изменить формат даты и времени».
  4. Задайте область поиска. Здесь указывается выбранный диапазон, рабочий лист, книга, открытые книги.
  5. Выберите подходящий вариант из перечня, принятый в стране и на нужном языке. По желанию задайте пользовательский формат.
  6. Кликните на кнопку «Готово».

Если Excel не меняет формат даты, это не повод беспокоиться. В большинстве случаев проблема связана с неправильным выполнением работы или временными сбоями в работе приложения. Перед тем, как предпринимать какие-либо шаги, попробуйте сохраниться и перезапустить Excel. Если же это не дало результата, проверьте возможность применения одного из рассмотренных выше методов.

В комментариях расскажите, приходилось ли вам сталкиваться с ситуацией, когда не работает дата в Эксель или не меняется ее форматирование. Поделитесь, какой из приведенных выше методов сработал, и какие еще варианты можно использовать.

Отличного Вам дня!

I have an excel sheet created by a 3rd party program.

One of the columns has dates in this format: «Jan 19, 2015 03:00:00 PM»

I would like these dates to appear in the following format: «19/01/2015»

I have selected the cell or cells, right clicked and selected «Format Cells…», chose «Date» in the category, then chose «14/03/2001» in the type, to no avail, the dates won’t change.

I also tried «Custom» from the category and «dd/mm/yyyy» from the type, again, no changes at all.

The file is not protected, the sheet is editable.

Could someone explain what I could be doing wrong?

Regards
Crouz

asked Feb 14, 2015 at 15:07

Crouzilles's user avatar

6

The following worked for me:

  • Select the date column.
  • Go to the Data-tab and choose «Text to Columns».
  • On the first screen, leave radio button on «delimited» and click Next.
  • Unselect any delimiter boxes (everything blank) and click Next.
  • Under column data format choose Date
  • Click Finish.

Now you got date values

answered Oct 28, 2017 at 13:17

thijs's user avatar

thijsthijs

7616 silver badges7 bronze badges

6

Given your regional settings (UK), and the inability of formatting to change the date, your date-time string is text. The following formula will convert the date part to a «real» date, and you can then apply the formatting you wish:

=DATE(MID(A1,FIND(",",A1)+1,5),MATCH(LEFT(A1,3),{"Jan";"Feb";"Mar";"Apr";"May";"Jun";"Jul";"Aug";"Sep";"Oct";"Nov";"Dec"},0),MID(SUBSTITUTE(A1,",","   "),5,5))

Might be able to simplify a bit with more information as to the input format, but the above should work fine. Also, if you need to retain the Time portion, merely append:

+RIGHT(A1,11)

to the above formula.

answered Feb 14, 2015 at 16:23

Ron Rosenfeld's user avatar

Ron RosenfeldRon Rosenfeld

52.1k7 gold badges28 silver badges59 bronze badges

2

I had a similar problem. My Excel sheet had 102,300 rows and one column with date was messy. No amount of tricks were working. spent a whole day entering crazy formulas online to no success. See the snips

  1. How the column looked («Short Date» format on Excel)

The red circled cell contents (problematic ones) do not change at all regardless of what tricks you do. Including deleting them manually and entering the figures in «DD-MM-YYYY» format, or copying and pasting format from the blue ones. Basically, nothing worked…STUBBORNNESS!!

cells

  1. How the column looked («Long date» format on Excel)

As can be seen, the cell contents doesn’t change no matter what.

column

  1. How I solved it

The only way to solve this is to:

  1. upload the Excel sheet to Google Drive. On Google Drive do this:

  2. click to open the file with Google spreadsheet

  3. Once it has opened as a Google spreadsheet, select the entire column with dates.

  4. select the format type to Date (you can choose any format of date you want).

  5. Download the Google spreadsheet as .xlsx. All the contents of the column are now dates

Wolfie's user avatar

Wolfie

26.8k7 gold badges26 silver badges54 bronze badges

answered Oct 28, 2016 at 8:39

MARIO's user avatar

MARIOMARIO

1192 bronze badges

1

DATEVALUE function will help if date is stored as a text as in

=DATEVALUE("Jan 19, 2015 03:00:00 PM")

20yco's user avatar

20yco

8768 silver badges28 bronze badges

answered Jan 15, 2019 at 19:07

Ted White's user avatar

My solution to a similar problem with Date formatting was solved by:

  1. Copying the problem sheet then pasting it into Sheet
    n.
  2. Deleting the problem sheet.
  3. Renaming Sheet n to the name of the problem sheet.

QED.

The problem sheet contained Date data that I wanted to read as 07/21/2017 that would not display anything other than 42937. The first thing I did was to close Excel and re-launch it. More tries followed. I gave up on my own solutions. I tried a few online suggestions. I then made one more attempt and — Walla — the above three steps fixed the problem. As to why the problem existed? It obviously had something to do with «the» sheet. Go figure!

For me to believe is insufficient for you to know — rodalsa.

answered Dec 6, 2020 at 17:03

Rodger Sanders's user avatar

With your data in A1, in B1 enter:

=DATEVALUE(MID(A1,1,12))

and format B1 as dd/mm/yyyy For example:

enter image description here

If the cell appears to have a date/time, but it does not respond to format changes, it is probably a Text value rather than a genuine date/time.

answered Feb 14, 2015 at 15:23

Gary's Student's user avatar

Gary’s StudentGary’s Student

95.3k9 gold badges58 silver badges98 bronze badges

While you didn’t tag VBA as a possible solution, you may be able to use what some feel is a VBA shortcoming to your advantage; that being VBA heavily defaulted to North American regional settings unless explicitly told to use another.

Tap Alt+F11 and when the VBE opens, immediately use the pull down menus to Insert ► Module (Alt+I,M). Paste the following into the pane titles something like Book1 — Module1 (Code).

Sub mdy_2_dmy_by_Sel()
    Dim rDT As Range
    With Selection
        .Replace what:=Chr(160), replacement:=Chr(32), lookat:=xlPart
        .TextToColumns Destination:=.Cells(1, 1), DataType:=xlFixedWidth, FieldInfo:=Array(0, 1)
        For Each rDT In .Cells
            rDT = CDate(rDT.Value2)
        Next rDT
        .NumberFormat = "dd/mm/yyyy"
    End With
End Sub

Tap Alt+Q to return to your worksheet. Select all of the dates (just the dates, not the whole column) and tap Alt+F8 to Run the macro.

Note that both date and time are preserved. Change the cell number format if you wish to see the underlying times as well as the dates.

answered Feb 14, 2015 at 16:41

3

Struggled with this issue for 20 mins today. My issue was the same as MARIO’s in this thread, but my solution is easier. If you look at his answer above, the blue circled dates are «month/day/year», and the red dates are «day/month/year». Changing the red date format to match the blue date format, then selecting all of them, right click, Format Cells, Category «Date», select the Type desired. The Red dates can be changed manually, or use some other excel magic to swap the day and month.

answered Dec 27, 2018 at 21:17

OakTree1's user avatar

Another way to address a few cells in one column that won’t convert is to copy them off to Notepad, then CLEAR ALL (formatting and contents) those cells and paste the cell contents in Notepad back into the same cells.

Then you can set them as Date, or Text or whatever.

Clear Formatting did not work for me. Excel 365, probably version 2019.

RKRK's user avatar

RKRK

1,2845 gold badges14 silver badges18 bronze badges

answered Aug 14, 2019 at 3:00

Craig Roberts's user avatar

Select the cells you want to format.
Press CTRL+1.
In the Format Cells box, click the Number tab.
In the Category list, click Date.
Under Type, pick a date format.

answered Jul 14, 2020 at 10:01

Monica Rajmohan's user avatar

The only way to solve this is to:

upload the Excel sheet to Google Drive. On Google Drive do this:

click to open the file with Google spreadsheet

Once it has opened as a Google spreadsheet, select the entire column with dates.

select the format type to Date (you can choose any format of date you want).

Download the Google spreadsheet as .xlsx. All the contents of the column are now dates

answered Jul 31, 2020 at 20:35

anandh shankar's user avatar

0

Select the column ->
Go to «Data» Tab -> Select «Text to Column» ->
Select Delimited -> check Tab ( uncheck other boxes) -> Select Date -> Change format to MMDDYYY -> Finish.

Redox's user avatar

Redox

7,4765 gold badges8 silver badges25 bronze badges

answered May 12, 2022 at 19:34

user19105025's user avatar

Similar way as ron rosefield but a little bit simplified.

=DATE(RIGHT(A1,4),MATCH(MID(A1,4,2),{«01″;»02″;»03″;»04″;»05″;»06″;»07″;»08″;»09″;»10″;»11″;»12»},0),LEFT(A1,2))

answered Apr 13, 2017 at 13:09

Praza Immortal's user avatar

Excel uses date serial numbers to store date and time information. Date serial numbers are fully explained in our Essential Skills Books and E-books.

If you encounter an Excel date that won’t change when you change its format it’s likely that your dates aren’t being stored as ‘true’ dates (ie. date serial numbers) by Excel, but rather as text. You can confirm this by setting the cell’s format to Number and checking whether a serial number appears.

You can also see more about changing the formats of cells in Essential Skills.

If it turns out that you do have dates stored as text, you can convert them into date serial numbers using the VALUE function. This will convert a textual date into a number, which you can then format to appear as a date. With custom formats, you should be able to arrange the months, days and years however you need them.

Понравилась статья? Поделить с друзьями:
  • In excel columns are labelled as
  • In a word yes flac
  • In other words use in a sentence for each word
  • In excel column are number
  • In a word movie review