+ Reply to Thread
Results 1 to 4 of 4

Function to compare then populate cells

  1. #1
    Registered User
    Join Date
    11-27-2019
    Location
    South Africa
    MS-Off Ver
    Office 365
    Posts
    3

    Function to compare then populate cells

    I have 2 tables, 1 with master data populated with "Restaurant", "State" and "Suburb" information. I have a second table with only the "Restaurant" data. Is there a function that will search and compare the 2 tables' "Restaurant" text fields, and if there is a match, populate the "State" and "Suburb" fields in the second table?

    Restaurant State Suburb Restaurant State Suburb
    Julios - NY New York Manhattan Julios - NY
    Last edited by gajerose; 11-27-2019 at 07:29 AM.

  2. #2
    Forum Contributor jomaor1's Avatar
    Join Date
    10-08-2018
    Location
    Brasil
    MS-Off Ver
    Excel 2016
    Posts
    177

    Re: Function to compare then populate cells

    Hi,

    Yes, you're talking about VLOOKUP, follow Attatched

    Cheers!
    Attached Files Attached Files
    John.

    "I excel at jumping to conclusions"

  3. #3
    Registered User
    Join Date
    11-27-2019
    Location
    South Africa
    MS-Off Ver
    Office 365
    Posts
    3

    Re: Function to compare then populate cells

    Thanks! that did the trick

  4. #4
    Forum Contributor jomaor1's Avatar
    Join Date
    10-08-2018
    Location
    Brasil
    MS-Off Ver
    Excel 2016
    Posts
    177

    Re: Function to compare then populate cells

    Glad I could help


    - If your question is resolved, mark it SOLVED using the thread tools
    and if you think I deserve reputation points, click on the star "Add Reputation"

+ 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] Compare 2 work sheet cells and populate based on results
    By marimuthuravi in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 06-02-2018, 06:52 AM
  2. Replies: 9
    Last Post: 01-23-2018, 09:52 AM
  3. [SOLVED] Formula to compare cells and populate a different cell
    By MasterB in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-08-2017, 04:22 PM
  4. [SOLVED] Using IF Function to Compare Multiple Cells
    By gco484 in forum Excel General
    Replies: 4
    Last Post: 11-27-2013, 06:10 PM
  5. Replies: 2
    Last Post: 01-30-2013, 12:59 PM
  6. [SOLVED] compare two cells with OR function
    By ghladik in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-10-2012, 04:49 PM
  7. [SOLVED] Populate a range of cells from a function
    By 4eyed in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-01-2005, 07:05 PM

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