+ Reply to Thread
Results 1 to 11 of 11

How to lookup and post data from a list if it matches names in another cell

  1. #1
    Registered User
    Join Date
    04-09-2013
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    8

    How to lookup and post data from a list if it matches names in another cell

    Hello,
    I am trying to create a spreadsheet that will lookup miles traveled in spreadsheet A. And if that name of place matches the same name in Spreadsheet B, it will post the miles traveled field from Spreadsheet A into the corresponding named place in Spreadsheet B.
    The names are not exact, so the field must state "if contains text" rather than "exact match"
    Thanks


  2. #2
    Valued Forum Contributor AZ-XL's Avatar
    Join Date
    03-22-2013
    Location
    Azerbaijan, Baku
    MS-Off Ver
    Excel 2007
    Posts
    603

    Re: How to lookup and post data from a list if it matches names in another cell

    Here is formula
    =INDEX(A!$B$2:$B$5,MATCH(1,IF(ISERROR(SEARCH(A2,A!$A$2:$A$6)),"",1),0)) CSE

    For clarity look to the file. Simulated there
    Attached Files Attached Files
    Appreciate the help? CLICK *

  3. #3
    Registered User
    Join Date
    04-09-2013
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: How to lookup and post data from a list if it matches names in another cell

    Thank you, I will try this.

  4. #4
    Registered User
    Join Date
    04-09-2013
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: How to lookup and post data from a list if it matches names in another cell

    Book1 (Recovered).xlsxBook1 (Recovered).xlsxHello, May I send you my file so you can show me more exactly how to place that Lookup formula?
    I tried it but am new and not understanding.

    I have attached my file:
    I am wanting to lookup any matching names in column C of this worksheet 1, and find the miles traveled from the same names in worksheet 2, column A.
    Thanks
    Last edited by kirtan; 04-09-2013 at 03:12 PM.

  5. #5
    Valued Forum Contributor AZ-XL's Avatar
    Join Date
    03-22-2013
    Location
    Azerbaijan, Baku
    MS-Off Ver
    Excel 2007
    Posts
    603

    Re: How to lookup and post data from a list if it matches names in another cell

    Quote Originally Posted by kirtan View Post
    Hello, May I send you my file so you can show me more exactly how to place that Lookup formula?
    I tried it but am new and not understanding.
    Thanks
    Sure, upload it here from Advanced button.

  6. #6
    Registered User
    Join Date
    04-09-2013
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: How to lookup and post data from a list if it matches names in another cell

    Book1 (Recovered).xlsxBook1 (Recovered).xlsx

    Here is my file thanks for your help!!!!

  7. #7
    Registered User
    Join Date
    04-09-2013
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: How to lookup and post data from a list if it matches names in another cell

    Hello? Did you receive the file?

  8. #8
    Valued Forum Contributor AZ-XL's Avatar
    Join Date
    03-22-2013
    Location
    Azerbaijan, Baku
    MS-Off Ver
    Excel 2007
    Posts
    603

    Re: How to lookup and post data from a list if it matches names in another cell

    I looked to the file but none of the names in Sheet1 column c is in the sheet2 columns. There few common words. But one of the names must be placed fully in another cells.

  9. #9
    Registered User
    Join Date
    04-09-2013
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: How to lookup and post data from a list if it matches names in another cell

    Ok, I see. I will manually change the names in the field to more closely match. Could you send me the formula that you would use in my file? Can it look for a word that "starts with" or "contains" matching names in sheet 2 column B, or does it need to be "exact match"?

  10. #10
    Valued Forum Contributor AZ-XL's Avatar
    Join Date
    03-22-2013
    Location
    Azerbaijan, Baku
    MS-Off Ver
    Excel 2007
    Posts
    603

    Re: How to lookup and post data from a list if it matches names in another cell

    My Formula look for word that contains. Formula is above and you can get it from the my uploaded file too.

    Writing again =INDEX(A!$B$2:$B$5,MATCH(1,IF(ISERROR(SEARCH(A2,A!$A$2:$A$6)),"",1),0)) CSE

  11. #11
    Registered User
    Join Date
    04-09-2013
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: How to lookup and post data from a list if it matches names in another cell

    Many thanks and blessings to you friend!

+ 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