+ Reply to Thread
Results 1 to 3 of 3

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 Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,829

    Re: Converting Find formula from Text to Number

    It's the LEFT function which is returning the characters as text, as that is what is does. You can add zero, or multiply by 1, or use the double unary minus (--) to convert the result to a number, like this:

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

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

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

    Hope this helps.

    Pete

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Converting Find formula from Text to Number

    Hi,

    Just use
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ 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. [SOLVED] 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. Converting text to a number
    By Helen Black in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-18-2005, 01:06 PM

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