+ Reply to Thread
Results 1 to 7 of 7

How to convert contents of column from numeric data type to text

  1. #1
    moondaddy
    Guest

    How to convert contents of column from numeric data type to text

    you know how sometimes when you paste a value into a cell it reads like a
    number but Excel thinks its text and aligns it to the left and gives you a
    little dropdown menu with options such as keep this value as text or to
    convert it to numeric data. I have a whole column of mostly numbers (and
    excel is storing them as numeric data) and want to convert them to text. I
    don't have that menu option available since excel thinks they're numbers.
    Is there a way to convert numeric data to text?

    Thanks.

    --
    [email protected]ail



  2. #2
    Pete_UK
    Guest

    Re: How to convert contents of column from numeric data type to text

    If you don't mind a helper column, then you could enter this formula in
    a column somewhere:

    =""&A1

    and copy down, assuming your data starts in cell A1.

    You could fix the values using Paste Special, then copy the text values
    to overwrite the numeric ones and delete the helper column.

    Hope this helps.

    Pete


  3. #3
    Sandy Mann
    Guest

    Re: How to convert contents of column from numeric data type to text

    Copy an empty cell - but make sure that it is truely empty and then select
    your text numbers and Paste Special > Add. This should change the text into
    real numbers.

    --
    HTH

    Sandy
    In Perth, the ancient capital of Scotland

    [email protected]
    [email protected] with @tiscali.co.uk


    "moondaddy" <[email protected]> wrote in message
    news:[email protected]...
    > you know how sometimes when you paste a value into a cell it reads like a
    > number but Excel thinks its text and aligns it to the left and gives you a
    > little dropdown menu with options such as keep this value as text or to
    > convert it to numeric data. I have a whole column of mostly numbers (and
    > excel is storing them as numeric data) and want to convert them to text.
    > I don't have that menu option available since excel thinks they're
    > numbers. Is there a way to convert numeric data to text?
    >
    > Thanks.
    >
    > --
    > [email protected]ail
    >




  4. #4
    Garage YaKa
    Guest

    Re: How to convert contents of column from numeric data type to text

    -First select Range to convert:

    Sub ConvertValueText()
    For Each c In Selection
    c.Value = "'" & c
    c.Value = c
    Next c
    End Sub

    Cordialy JB


  5. #5
    Pete_UK
    Guest

    Re: How to convert contents of column from numeric data type to text

    Sandy,

    the OP wanted to do the opposite of this, i.e. turn numbers into text
    values.

    Pete


  6. #6
    Sandy Mann
    Guest

    Re: How to convert contents of column from numeric data type to text

    "Pete_UK" <[email protected]> wrote in message
    news:[email protected]...
    > Sandy,
    >
    > the OP wanted to do the opposite of this, i.e. turn numbers into text
    > values.


    Yes so I see from a re-reading of the OP - nothing else for it I'm going to
    have to learn to read! <g>

    --
    HTH

    Sandy
    In Perth, the ancient capital of Scotland

    [email protected]
    [email protected] with @tiscali.co.uk



  7. #7
    Saruman
    Guest

    Re: How to convert contents of column from numeric data type to text

    I have the same problem with thousands of numbers at work and found this
    seems to work.

    Excel gives you a hint on what is needed as the dropdown message says the
    cells are either stored as text or are preceeded by an apostrophe. You need
    to preceed every number with an apostrophe!

    A simple way to do this, is to type an apostrophe in a blank cell. When you
    click off the cell, the apostrophe disappears but is still in the cell as it
    is a nonprinting character. Now copy the cell, highlight the range of
    numbers that you need to see as text, right click in the range selected and
    Paste Special. When the Paste Special menu appears, in the Operation part of
    the menu, click the Add radio button and then click the OK Button.

    Voila, Numbers stored as text!

    Saruman
    ----------------------------------------------------------------------------
    -------
    All Outgoing Mail Checked By Norton Anti-Virus 2003
    ----------------------------------------------------------------------------
    -------

    "moondaddy" <[email protected]> wrote in message
    news:[email protected]...
    > you know how sometimes when you paste a value into a cell it reads like a
    > number but Excel thinks its text and aligns it to the left and gives you a
    > little dropdown menu with options such as keep this value as text or to
    > convert it to numeric data. I have a whole column of mostly numbers (and
    > excel is storing them as numeric data) and want to convert them to text.

    I
    > don't have that menu option available since excel thinks they're numbers.
    > Is there a way to convert numeric data to text?
    >
    > Thanks.
    >
    > --
    > [email protected]ail
    >
    >




+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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