+ Reply to Thread
Results 1 to 3 of 3

Numbers changing to dates

  1. #1
    Registered User
    Join Date
    11-22-2021
    Location
    Michigan
    MS-Off Ver
    16.54
    Posts
    1

    Numbers changing to dates

    Hi all,

    Thanks in advance. I'm doing some coding for my job and every time I input a number ( just a regular number like "1" or "2" into a cell it changes it to this format:1/1/1900 12:00:00 AM with the day and month as the number I entered in. It's really frustrating and throwing a wrench in my work. How can I fix this?

    Thanks again!

  2. #2
    Forum Expert WideBoyDixon's Avatar
    Join Date
    10-03-2016
    Location
    Sheffield, UK
    MS-Off Ver
    365
    Posts
    2,182

    Re: Numbers changing to dates

    The cell where you're entering the text has been formatted as a date. Highlight the cell (or cells) where you're entering data, press [Ctrl]+1 and change the Number Category to "General". That should prevent it from changing it to a date.

    WBD
    Office 365 on Windows 11, looking for rep!

  3. #3
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Numbers changing to dates

    Change number formatting.

    https://exceljet.net/custom-number-formats

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Worksheet Automation -- Changing start dates and end dates of growth curves & acct numbers
    By adam_d_john in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-06-2017, 06:20 PM
  2. Stopping dates changing to random numbers
    By thingstodo123 in forum Excel General
    Replies: 5
    Last Post: 12-09-2015, 05:57 AM
  3. Numbers constantly changing to Dates
    By excelsoft in forum Excel General
    Replies: 8
    Last Post: 06-03-2015, 01:23 PM
  4. [SOLVED] Stop Excel from changing numbers to dates in CSV file
    By Curt L. in forum Excel General
    Replies: 3
    Last Post: 11-04-2013, 12:26 PM
  5. Macro for changing numbers to dates
    By Marsupial in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 12-01-2011, 05:21 PM
  6. How to stop Changing Numbers to Dates
    By luu980 in forum Excel General
    Replies: 3
    Last Post: 09-28-2008, 11:30 PM
  7. [SOLVED] Prevent excel changing numbers data to dates.
    By Cindax in forum Excel General
    Replies: 2
    Last Post: 02-28-2006, 05:35 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1