+ Reply to Thread
Results 1 to 4 of 4

text to numbers

  1. #1
    Registered User
    Join Date
    02-17-2020
    Location
    Louisville, KY
    MS-Off Ver
    2016
    Posts
    43

    text to numbers

    having trouble converting certain numbers
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    03-18-2014
    Location
    Singapore
    MS-Off Ver
    Excel 2016 / 2019
    Posts
    251

    Re: text to numbers

    Hi jeffkirk

    two forumulas require for your scenario

    =VALUE(A1)

    =VALUE(SUBSTITUTE(A3,"-",""))


    if you have other scenario then you got to use nested if loop to put in multiple conditions, or use Power Query to transform
    Attached Files Attached Files
    Christopher Yap

  3. #3
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: text to numbers

    Try:

    =SUBSTITUTE(A1&"-","-","")+0
    Quang PT

  4. #4
    Registered User
    Join Date
    02-17-2020
    Location
    Louisville, KY
    MS-Off Ver
    2016
    Posts
    43

    Re: text to numbers

    Thanks Bebo & BlueSky

+ 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. Extract Text from Numbers Where Text and Numbers are Different # of Characters
    By EvolutionJulie in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-06-2019, 10:50 PM
  2. VBA to convert a range from numbers to numbers stored as text (Text to Columns)
    By tantcu in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-06-2017, 05:50 PM
  3. Replies: 11
    Last Post: 04-10-2017, 06:23 AM
  4. [SOLVED] make Userform entries with just numbers stay as text and not numbers upon pasting
    By vpan in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-01-2016, 02:13 PM
  5. [SOLVED] Marco to convert numbers stored as text to numbers and dates stored as text to numbers
    By a2424 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-22-2014, 10:19 AM
  6. [SOLVED] [SOLVED] Macro/Wildcard to remove only numbers excluding text with numbers
    By indianhp in forum Word Programming / VBA / Macros
    Replies: 6
    Last Post: 06-21-2013, 08:16 AM
  7. [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

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