+ Reply to Thread
Results 1 to 4 of 4

Help needed to find the right formula?

  1. #1
    Registered User
    Join Date
    07-11-2012
    Location
    Hampshire
    MS-Off Ver
    Excel 2003
    Posts
    1

    Question Help needed to find the right formula?

    Hello,

    I have a spreadsheet with 2 sheets...

    1st sheet - contains a list of e-mails received and a column with text and a job number (In 1 cell) e.g.

    Harris CK123456
    Benjamin TR345756
    Craig SGL222888

    2nd sheet - contains a column with just the job numbers.

    I'd like to match these so If the job number appears on both sheets it returns that job number onto the second sheet.

    I hope this makes sense...Gulp!

    Thanks in advance.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Help needed to find the right formula?

    Please change the title of your questions.

    Otherwise we are not allowed to help you.

    After done that.

    You get better help if you post an Excel-example of your workbook, without confidential information.
    Make sure the workbook demonstrates your desired results if possible, or just highlight the cells you're trying to fix.
    Use BEFORE/AFTER sheets if that helps make it clearer.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Help needed to find the right formula?

    Use on 2nd sheet

    =if(iserror(vlookup("*"&A1&"*",Sheet1!A:A,1,false)),"",vlookup("*"&A1&"*",Sheet1!A:A,1,false))
    or
    =if(iserror(vlookup("*"&A1&"*",Sheet1!A:A,1,false)),"",A1)

    depending on what you want returned.
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Help needed to find the right formula?

    SDCSpeedy,

    Please take a moment to read the forum rules and then amend your thread title to something descriptive of your problem. Once you have done this please send me a PM and I will remove this request.

    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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