+ Reply to Thread
Results 1 to 6 of 6

If a value from "Column A" in a table is in the cell, return "Column B" from the table.

  1. #1
    Registered User
    Join Date
    12-03-2011
    Location
    Miami
    MS-Off Ver
    Excel 2019
    Posts
    14

    If a value from "Column A" in a table is in the cell, return "Column B" from the table.

    Hi all!
    There are many options on the internet for partial vlookup matches in a table. This question is different.
    I have a list of real estate listings with titles like "Dark Wells Fargo (Ground Lease)". This is a "Wells Fargo". I need "Wells Fargo" returned in a cell using a formula.

    To have the target values, I made another worksheet with 800 rows of different store names in "Column A" to match against and the value to return in "Column B" if there is a match.

    I've attached a simplified file.
    Attached Files Attached Files

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: If a value from "Column A" in a table is in the cell, return "Column B" from the table

    Hi pavel,

    This sounds like a problem for Fuzzy Lookup. Read about it at:
    https://www.microsoft.com/en-us/down....aspx?id=15011
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: If a value from "Column A" in a table is in the cell, return "Column B" from the table

    Like this ?

    Property Name Lookup
    Walgreens Walgreens
    Dark Walgreens So Cal Abs Net 7.2 CAP 8 Yrs Walgreens
    7-Eleven (Dark) 7-Eleven
    7-Eleven 7-Eleven
    Dark Wells Fargo (Ground Lease) Wells Fargo
    Dark Rite Aid | Price Below Replacement Cost Rite Aid
    Valvoline (DARK) | Move-in Ready Building Valvoline Instant Oil Change
    Bojangles (Dark) - 9.5 Yr Corporate Lease Bojangles' Famous Chicken 'n Biscuits
    Capital One (Dark Ground Lease) Capital One

  4. #4
    Registered User
    Join Date
    12-03-2011
    Location
    Miami
    MS-Off Ver
    Excel 2019
    Posts
    14

    Re: If a value from "Column A" in a table is in the cell, return "Column B" from the table

    Quote Originally Posted by sandy666 View Post
    Like this ?

    Property Name Lookup
    Walgreens Walgreens
    Dark Walgreens So Cal Abs Net 7.2 CAP 8 Yrs Walgreens
    7-Eleven (Dark) 7-Eleven
    7-Eleven 7-Eleven
    Dark Wells Fargo (Ground Lease) Wells Fargo
    Dark Rite Aid | Price Below Replacement Cost Rite Aid
    Valvoline (DARK) | Move-in Ready Building Valvoline Instant Oil Change
    Bojangles (Dark) - 9.5 Yr Corporate Lease Bojangles' Famous Chicken 'n Biscuits
    Capital One (Dark Ground Lease) Capital One
    Exactly like that! How to do it?

  5. #5
    Registered User
    Join Date
    12-03-2011
    Location
    Miami
    MS-Off Ver
    Excel 2019
    Posts
    14

    Re: If a value from "Column A" in a table is in the cell, return "Column B" from the table

    Quote Originally Posted by sandy666 View Post
    Like this ?

    Property Name Lookup
    Walgreens Walgreens
    Dark Walgreens So Cal Abs Net 7.2 CAP 8 Yrs Walgreens
    7-Eleven (Dark) 7-Eleven
    7-Eleven 7-Eleven
    Dark Wells Fargo (Ground Lease) Wells Fargo
    Dark Rite Aid | Price Below Replacement Cost Rite Aid
    Valvoline (DARK) | Move-in Ready Building Valvoline Instant Oil Change
    Bojangles (Dark) - 9.5 Yr Corporate Lease Bojangles' Famous Chicken 'n Biscuits
    Capital One (Dark Ground Lease) Capital One
    Sorry, user needs it on multiple computers. I'm looking to do this with a formula.

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: If a value from "Column A" in a table is in the cell, return "Column B" from the table

    Quote Originally Posted by Pavel001 View Post
    Sorry, user needs it on multiple computers. I'm looking to do this with a formula.
    if the user has excel 2016 or higher it will work (2010/2013 with power query add-in)

+ 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. Row should move in other Table if column "status" has the value "completed"
    By LorisNic in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-19-2021, 12:23 PM
  2. [SOLVED] Need assistance with "Pivot Table", "Slicer", and "Dynamic/Interactive Graph"
    By skydivetom in forum Excel Charting & Pivots
    Replies: 26
    Last Post: 06-27-2020, 11:03 AM
  3. Replies: 7
    Last Post: 06-27-2020, 05:02 AM
  4. Replies: 7
    Last Post: 03-06-2019, 05:01 PM
  5. [SOLVED] Column X-Ref list - Sheet1 Col A "pages", Col B:FL "Req" to Sheet2 ColA "req", ColB "page"
    By excel-card-pulled in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-07-2017, 09:30 AM
  6. [SOLVED] If there is any text in column "A$" on "sheet1" then move cell to column "A$" on "sheet2"
    By ckgeary in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-27-2013, 08:28 PM
  7. Replies: 2
    Last Post: 06-06-2013, 12:45 PM

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