+ Reply to Thread
Results 1 to 4 of 4

Convert Text-Formatted Numbers To Number Format

  1. #1
    Registered User
    Join Date
    08-26-2013
    Location
    Portland
    MS-Off Ver
    Excel 2010
    Posts
    9

    Convert Text-Formatted Numbers To Number Format

    Hey guys, I couldn't find this anywhere...

    I know that cells which have green triangles in the upper left hand can be converted back to numbers by using the error checking tool, however this can be really slow and finicky. I would like to write a macro that would do this for the selected range.

    Also, I am looking to write one that would do the opposite and convert numbers into the Text-Format which holds the green triangle in the corner.

    I do alot of vlookups throughout the day and this would help to speed up the process of making keys compatible. Thanks

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,737

    Re: Convert Text-Formatted Numbers To Number Format

    i dont have a macro for you, but just FYI you could multiply by 1 in the vlookup to convert to a number or use value(cell)
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Convert Text-Formatted Numbers To Number Format

    Hi accell,

    I agree with etaf above. This is a VERY Cool thing in Excel. You can convert all those Text Numbers (with green corners) to numbers by doing the following. In any blank cell type a 0 (zero) and then copy the zero into the windows clipboard using either a Right Click and Copy or Ctrl-C. NOW with the zero in the clipboard....

    Select all the cells you want to convert to text and then Right Click in the selected region. NOW do a Paste Special and look at the dialog. Click on the "ADD" radio button and then OK. This will add Zero to all the cells in the selected region, and convert them to numbers. NO VBA needed. See:
    http://www.dummies.com/how-to/conten...xcel-2010.html for some pictures on how to do this.

    Note etaf wanted to multiply by 1 and I liked to add zero. Either will get the same result.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Registered User
    Join Date
    08-26-2013
    Location
    Portland
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Convert Text-Formatted Numbers To Number Format

    Thanks Guys! This will be helpful

+ 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] Convert all numbers stored as text or custom formatted to numbers &no decimals - 40 sheets
    By synses in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-19-2013, 01:46 AM
  2. Extracting numbers and text from inconsistent text/number formatted string
    By Brandivil in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-25-2013, 01:46 PM
  3. Formulae to change text formatted date to number format
    By shekar goud in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-11-2010, 01:57 PM
  4. Convert a number formatted as text to a number in a macro
    By MACRE0 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-21-2005, 09:51 PM
  5. Convert numbers from text format to number format
    By merlin68 in forum Excel General
    Replies: 4
    Last Post: 04-12-2005, 09:06 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