+ Reply to Thread
Results 1 to 7 of 7

Substitute, lookup, isnumber help?

Hybrid View

  1. #1
    Registered User
    Join Date
    07-25-2004
    Posts
    24

    Substitute, lookup, isnumber help?

    I've simplified what I need help with ... but I still need help! Here is the thread I started with the more complex need, but I don't need that much work any more!

    http://www.excelforum.com/excel-gene...ml#post2485904


    Here is the hopefully simpler task ...

    I'll attach a spreadsheet with example data and explanation of what I'm trying to do. Seems like just a lot of substitute, lookup, isnumber stuff that I'm not good with! I say that because those are the functions used in the previous spreadsheet I received help with.

    Thanks in advance for any help.

    Mike
    Attached Files Attached Files
    Last edited by mjhaston; 08-10-2011 at 01:08 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Substitute, lookup, isnumber help?

    In A13:

    =LEFT(A2,2)

    copied down

    in H13:

    =LEFT(H2,2)

    copied down

    in F13:

    =LEFT(F2,FIND("-",F2)-1)&"#"&IF(MID(A2,3,10)="",1,MID(A2,3,10))

    copied down

    in I13:

    =LEFT(I2,FIND("-",I2)-1)&"#"&IF(MID(H2,3,10)="",1,MID(H2,3,10))

    copied down
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    07-25-2004
    Posts
    24

    Re: Substitute, lookup, isnumber help?

    Awesome! Thank you very much!

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Substitute, lookup, isnumber help?

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

  5. #5
    Registered User
    Join Date
    07-25-2004
    Posts
    24

    Re: Substitute, lookup, isnumber help?

    Actually, I have one more question. I just noticed something. In the spreadsheet I just upload with this. Check row 9 and then the results in row 30. It's a little bit of unique condition where 135 doesn't have a "-1" after it.
    Attached Files Attached Files

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Substitute, lookup, isnumber help?

    Try in F22:

    =IF(ISNUMBER(FIND("-",F2)),LEFT(F2,FIND("-",F2)-1),F2)&"#"&IF(MID(A2,3,10)="",1,MID(A2,3,10))

    copied down

  7. #7
    Registered User
    Join Date
    07-25-2004
    Posts
    24

    Re: Substitute, lookup, isnumber help?

    Perfect! Solved. Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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