+ Reply to Thread
Results 1 to 4 of 4

Find Cell that matches based on other cell contents and display adjacent cell contents

  1. #1
    Forum Contributor
    Join Date
    04-05-2010
    Location
    Lakewood, IL
    MS-Off Ver
    Excel 2016
    Posts
    353

    Find Cell that matches based on other cell contents and display adjacent cell contents

    This should be simple. I have a spreadsheet with a column of model numbers i.e. "Model1", "Model2, "Model3.... I need a formula that compares a cell that is based on a formula and match it to the location of the in the column same row that has the models mention before. Once it finds a direct match display the contents 4 columns to the right if the cell that matches.

    I have attached a sample. C2:C6 is the array, A6 is the cell to compare. When the formula finds "Model3" it displays the text found in Column G in the same row as the match 4 columns to its right.

    Thanks in advance
    Attached Files Attached Files
    Last edited by Bobbbo; 06-29-2015 at 03:03 PM. Reason: Solved

  2. #2
    Forum Moderator Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    27,168

    Re: Find Cell that matches based on other cell contents and display adjacent cell contents

    Hi,

    One way
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    be careful with the spelling of Model3 in A6. At the moment it has a space.
    Richard Buttrey

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    03-08-2014
    Location
    United Kingdom
    MS-Off Ver
    Office 2010, Office 2013 & Office 2016 / 365
    Posts
    23

    Re: Find Cell that matches based on other cell contents and display adjacent cell contents

    Hi,

    Another way is to use the indirect and match functions:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    But as Richard says make sure A6 doesn't have the space.

    Adam

  4. #4
    Forum Contributor
    Join Date
    04-05-2010
    Location
    Lakewood, IL
    MS-Off Ver
    Excel 2016
    Posts
    353

    Re: Find Cell that matches based on other cell contents and display adjacent cell contents

    Excellent, thank you so much Richard. Yes I saw the space in "Model 3" and removed it but it was not picked up in the attachment.

+ 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. Replies: 5
    Last Post: 01-29-2015, 05:44 AM
  2. Replies: 1
    Last Post: 08-10-2012, 04:30 AM
  3. [SOLVED] Need help writing macro to replace one cell based on contents of adjacent cell
    By TheRaptMuse in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-24-2012, 12:54 PM
  4. Macro that will clear contents of cell based on format of text in adjacent cell
    By judasdac in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-12-2012, 01:56 AM
  5. Change cell colour based on contents of adjacent cell
    By guitar@imms12.w in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-10-2008, 11:24 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