+ Reply to Thread
Results 1 to 6 of 6

search for a "part number" within a string and return its cell position or contents of cel

  1. #1
    Registered User
    Join Date
    03-23-2013
    Location
    australia
    MS-Off Ver
    Excel 2010
    Posts
    4

    search for a "part number" within a string and return its cell position or contents of cel

    parts x referance.xls Good afternoon,
    I am having trouble with a set of spread sheets. I am a maintenance technical writer and way out of my league writing formulas or vbm in excel. I am looking for a part number that is in cell b2 within a string of text on a separate worksheet page and then return either the completed string of text where it is found or the cell address where it can be found.

    my worksheet is setup like this

    Page 1
    a b c d
    1 Part # part ## found # Found ##
    2 6T-0302 6T0302
    3 310-9247 3109247
    4 01R-2357 01R2357

    Page 2
    a b c
    1 Mat # Description Unit
    2 20000168 Link,cat 6T0302 ea
    3 20001424 Hitch,cat 7G6623 ea
    4 40026564 filter;cat 310-9247 ea
    5 40004487 bolt;unc3/4x4" ea

    so in cell c2 i need either page 2 b2 or b2 or "Link,cat 6T0302".

    I hope someone can help i have tried using a find formula but can only get it to return a 1 or a 0

    Your help would be greatly appreciated.

    Ben

    Re post i have attached a sample copy of the workbook i am working on and have placed some comments in it to explain a little bit further as to what i am looking for.
    Last edited by benakil; 03-23-2013 at 08:38 AM. Reason: include a sample of the worksheet i am using

  2. #2
    Valued Forum Contributor Sean Thomas's Avatar
    Join Date
    03-25-2012
    Location
    HerneBay, Kent, UK
    MS-Off Ver
    Excel 2007,2016
    Posts
    971

    Re: search for a "part number" within a string and return its cell position or contents of

    Hi, i have added a workbook which shows you some formulas to get what you want
    Attached Files Attached Files
    Regards
    Sean

    Please add to my reputation if you think i helped
    (click on the star below the post)
    Mark threads as "Solved" if you have your answer
    (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code:
    [code] Your code here [code]
    Please supply a workbook containing example Data:
    It makes its easier to answer your problem & saves time!

  3. #3
    Registered User
    Join Date
    03-23-2013
    Location
    australia
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: search for a "part number" within a string and return its cell position or contents of

    Thank you Sean for your help unfortunately it wasnt exactly what i was looking for but i can use that formula for another sheet that i am working on. I have just attached a sample of the worksheet i need help with.

  4. #4
    Forum Contributor
    Join Date
    12-23-2003
    Posts
    179

    Re: search for a "part number" within a string and return its cell position or contents of

    Sheet1, C2, control+shift+enter, not just enter, and copy down:
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    03-23-2013
    Location
    australia
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: search for a "part number" within a string and return its cell position or contents of

    thank you worked perfectly i dont know how to thank you enough you guys are really great

  6. #6
    Forum Contributor
    Join Date
    12-23-2003
    Posts
    179

    Re: search for a "part number" within a string and return its cell position or contents of

    You are welcome.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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