+ Reply to Thread
Results 1 to 5 of 5

Converting Find formula from Text to Number

  1. #1
    Registered User
    Join Date
    01-04-2016
    Location
    uk
    MS-Off Ver
    10
    Posts
    49

    Converting Find formula from Text to Number

    Hi when using the find forumla, it turns my numbers into text

    e.g
    data
    12/11

    =LEFT(B2,FIND("/",B2)-1)

    Result
    12

    The 12 is now text not a number.

    I can use the =(Value) formula in a new cell to convert the text back into a number, but it looks ugly.

    Is there a way to use the find formula and value formula together, so I can pull the numbers out and view them again as numbers not text.

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Converting Find formula from Text to Number

    Just add +0 to the formula
    =LEFT(B2,FIND("/",B2)-1)+0
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Registered User
    Join Date
    01-04-2016
    Location
    uk
    MS-Off Ver
    10
    Posts
    49

    Re: Converting Find formula from Text to Number

    Quote Originally Posted by AlKey View Post
    Just add +0 to the formula
    =LEFT(B2,FIND("/",B2)-1)+0
    Thanks Alkey, it wont let me add more reputation right now to you, says I have to spread it around lol, thanks though really appreciate it.

  4. #4
    Registered User
    Join Date
    01-04-2016
    Location
    uk
    MS-Off Ver
    10
    Posts
    49

    Re: Converting Find formula from Text to Number

    Quote Originally Posted by AlKey View Post
    Just add +0 to the formula
    =LEFT(B2,FIND("/",B2)-1)+0
    Thanks Alkey, it wont let me add more reputation right now to you, says I have to spread it around lol, thanks though really appreciate it.

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,052

    Re: Converting Find formula from Text to Number

    LEFT/RIGHT/MID always return a text answer, even if it looks like a number.

    Convert with any of these...
    =--LEFT()
    =LEFT()*1
    =LEFT()+0
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Number converting to date, can't find a way to convert back
    By Ouka in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-26-2016, 04:25 AM
  2. Converting text number to a number in a formula...
    By Tommy1115 in forum Excel General
    Replies: 2
    Last Post: 03-24-2016, 05:49 AM
  3. [SOLVED] Converting text to number
    By massoudrm in forum Excel General
    Replies: 7
    Last Post: 06-09-2013, 01:19 PM
  4. [SOLVED] Converting a number to text
    By Fishenguy in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-23-2012, 11:52 AM
  5. what formula converting number to text in english or hindi in exl
    By satyavan in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-17-2006, 02:45 AM
  6. Converting A Number To Text
    By tomfernandez1 in forum Excel General
    Replies: 5
    Last Post: 04-15-2006, 09:30 AM
  7. [SOLVED] Converting text to a number
    By Helen Black in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-18-2005, 01:06 PM

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