+ Reply to Thread
Results 1 to 2 of 2

Figures read as text and numbers in the same column

  1. #1
    Forum Contributor
    Join Date
    10-31-2006
    Location
    Oslo, Norway
    MS-Off Ver
    MS 365 Business
    Posts
    286

    Figures read as text and numbers in the same column

    I have a big worksheet with a columne with figures. Some of these figures are read as numbers, other are read as text.

    The figures are not actually numbers but rather model-identificators so it is not a task to summarize them.
    These 'model-id's have other data connected to them in the table so I have made a pivot-table
    in order to sort data connected to the various model-id's.

    The problem is that some of these model-IDs er read as numbers, others as text.
    Because of this the pivot lists up a model-ID at two separate places in the pivot-table.

    Looking at the table I am not capable to identify which are read as what. They have the same cell format etc.

    I have tried to change the format in the column to Text and Numbers. It doesnt help.

    Is there a smart method to 'clean up' the column in the source table in order to have the figures to be read in the same format ?

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,852

    Re: Figures read as text and numbers in the same column

    If you want to turn them all to numbers, then a quick way is to highlight the column then click on Data | Text-to-columns then click Finish. Note that you will loose any leading zeros that you might have.

    If you want to convert them all to text values, then you will need to use a new column, with this formula on row 2 (assuming you have headings in row 1):

    =A2&""

    which assumes the values are in column A. Copy this down, and then you can fix the values and copy/paste over the original values in column A.

    Hope this helps,

    Pete

+ 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. Replies: 4
    Last Post: 12-17-2015, 06:26 PM
  2. SUM only the numbers if cell contains the text as well... Please read to understand
    By Natasha Coole Swan in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-04-2014, 09:53 AM
  3. Macro to read just the text in a cell containing text and numbers
    By rjm87 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-10-2014, 08:09 PM
  4. [SOLVED] Code to Properly Format numbers stored as text so they can be read by a formula
    By Student1990 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-15-2013, 05:06 PM
  5. VBA / read column headings and numbers
    By Sumo44 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-28-2013, 01:15 PM
  6. Adding figures in one column but only if another column has text
    By jemacca in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-13-2012, 09:11 AM
  7. Numbers read as text
    By anandmr65 in forum Excel General
    Replies: 5
    Last Post: 02-01-2006, 07:45 AM

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