+ Reply to Thread
Results 1 to 10 of 10

convert number to number in excel

  1. #1
    Forum Contributor
    Join Date
    12-20-2014
    Location
    england
    MS-Off Ver
    2007
    Posts
    104

    convert number to number in excel

    hello
    tks for help me

    EXCEL QUIESTION.jpg

    my problem is describes up
    Attached Images Attached Images

  2. #2
    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
    52,946

    Re: convert number to number in excel

    Hi, welcome to the forum

    I have NO idea what you want here

    Please describe in words, what you are doing, and Please upload a sample of your workbook, not a picture of your data. Pictures are pretty much impossible to edit, and no-one wants to re-type your data for you
    Also, not all members can upload picture files (Company firewalls and stuff)

    Your workbook should show a small desensitized example of the data you are working with and a manual mockup of the expected results.
    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

  3. #3
    Forum Contributor
    Join Date
    12-20-2014
    Location
    england
    MS-Off Ver
    2007
    Posts
    104

    Re: convert number to number in excel

    prblem is this

    i have in column A a name johnn, peter, sergio; in colomn b is number p.123456/7 and i want to transform in R37 if in first cell A1 is S and rest of numbers in same 123456 result is R37123456
    if i dont have in colomn A letter S RETURN R17123456
    i try with left right mid FUNCTION but i dont know how i use for the resultat want to be right

    tks

  4. #4
    Forum Contributor
    Join Date
    12-20-2014
    Location
    england
    MS-Off Ver
    2007
    Posts
    104

    Re: convert number to number in excel

    nobody have a idea?

  5. #5
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: convert number to number in excel

    Try this
    =IFERROR(IF(LEFT(A1)="S","R37","R17")&MID(B1,FIND(".",B1)+1,FIND("/",B1)-FIND(".",B1)-1),"")
    Happy to Help

    How to upload excel workbooks at this forum - http://www.excelforum.com/the-water-...his-forum.html

    "I don't get things easily, so please be precise and elaborate"

    If someone's post has helped you, thank by clicking on "Add Reputation" below the post.
    If your query is resolved please mark the thread as "Solved" from the "Thread Tools" above.

    Sourabh

  6. #6
    Forum Contributor
    Join Date
    12-20-2014
    Location
    england
    MS-Off Ver
    2007
    Posts
    104

    Re: convert number to number in excel

    TEST.jpg

    it is good but not enough

    thanks man

  7. #7
    Forum Contributor
    Join Date
    12-20-2014
    Location
    england
    MS-Off Ver
    2007
    Posts
    104

    Re: convert number to number in excel

    any sugestion?

  8. #8
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,627

    Re: convert number to number in excel

    You really need to post a sample workbook so members don't have to recreate new ones from those pictures. Also, in post #5 you should explain why it's wrong or not enough.
    Ben Van Johnson

  9. #9
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: convert number to number in excel

    Try this one
    ="R"&IF(LEFT(A1)="S",30,10)+(RIGHT(B1,LEN(B1)-FIND("/",B1))+0)&MID(B1,FIND(".",B1)+1,FIND("/",B1)-FIND(".",B1)-1)

    Next time upload a sample workbook instead of pictures to understand the problem better...
    You can upload a workbook--
    1. While starting a new thread-- by clicking on the paper clip icon from the icons above
    2. While replying--by clicking on go advanced button and then selecting the paper clip icon from icons above..

  10. #10
    Forum Contributor
    Join Date
    12-20-2014
    Location
    england
    MS-Off Ver
    2007
    Posts
    104

    Re: convert number to number in excel

    TEST.xlsx

    hello again

    [QUOTE=sourabhg98;4009446]Try this one
    ="R"&IF(LEFT(A1)="S",30,10)+(RIGHT(B1,LEN(B1)-FIND("/",B1))+0)&MID(B1,FIND(".",B1)+1,FIND("/",B1)-FIND(".",B1)-1)
    tks man , you are a great man

    i try this formula is very good if i have " /1" or "/xx" but if don't have excel give me a error (p.123456/1 is good formula) (p.123456 isn't good )
    i delevop a formula but i want same formula for all colummn i not want to have two formulas

    tks again

+ 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] Macro to convert text number to digital number
    By Patish in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-18-2014, 07:43 AM
  2. Replies: 1
    Last Post: 10-28-2012, 05:42 AM
  3. 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
  4. [SOLVED] convert text-format number to number in excel 2000%3f
    By Larry in forum Excel General
    Replies: 1
    Last Post: 07-29-2005, 04:05 PM
  5. [SOLVED] not able to convert text, or graphic number to regular number in e
    By knutsenk in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-02-2005, 04:14 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