+ Reply to Thread
Results 1 to 3 of 3

if a cell in one column contains a value of one cell, the return value in another cell

  1. #1
    Registered User
    Join Date
    08-24-2018
    Location
    Arizona
    MS-Off Ver
    MS2016
    Posts
    2

    if a cell in one column contains a value of one cell, the return value in another cell

    I have two sheets of data.

    Sheet 1 contains
    Column A = List of Parent Accounts
    Column B = Parent IDs

    Sheet 2 contains
    Column A = Business Names
    Column B = (currently blank) but I want to return the corresponding Parent ID

    However, Parent accounts and not formatted the same as business names. Example a Parent account could read: "Parent: A Pea in the Pod" but the Business Name could read "Pea in the pod"

    Can I create a formula that will look a given cell on sheet 2 in column A, then search for that text within column A on sheet 1, and return the value from sheet 1 column B when it finds that text? I have a feeling it's a mix of vlookup, IF, isnumber, search? But I can't quite figure it out.

    Thanks for the help!

  2. #2
    Valued Forum Contributor PeteABC123's Avatar
    Join Date
    09-21-2012
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ver 2202
    Posts
    1,104

    Re: if a cell in one column contains a value of one cell, the return value in another cell

    Try this in sheet2 B2 and copy down:
    Please Login or Register  to view this content.
    Or, to trap the errors:
    Please Login or Register  to view this content.

    Pete
    Last edited by PeteABC123; 08-24-2018 at 05:14 PM.

  3. #3
    Registered User
    Join Date
    08-24-2018
    Location
    Arizona
    MS-Off Ver
    MS2016
    Posts
    2

    Re: if a cell in one column contains a value of one cell, the return value in another cell

    THANK YOU! Looks so easy now that I look at it, but I could NOT figure that out. Thank you so much for saving me HOURSSS!

+ 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] If a cell in a column equals today's date return the value of another cell adjacent to it
    By DeanExcel in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-24-2021, 01:38 AM
  2. Replies: 9
    Last Post: 08-24-2017, 09:16 PM
  3. Match Cell Substrings to Column and Return Adjacent Cell
    By ashb444 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-06-2015, 11:24 AM
  4. Replies: 8
    Last Post: 06-25-2014, 05:43 AM
  5. Replies: 6
    Last Post: 09-18-2012, 10:43 AM
  6. Replies: 1
    Last Post: 08-02-2012, 11:39 PM
  7. Replies: 2
    Last Post: 06-29-2012, 07:02 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