+ Reply to Thread
Results 1 to 5 of 5

If Range contains Value then Display Adjacent Cell

  1. #1
    Registered User
    Join Date
    06-22-2016
    Location
    Perth, Australia
    MS-Off Ver
    10
    Posts
    9

    If Range contains Value then Display Adjacent Cell

    Hi Guys,

    I am copy and pasting 2 sets of data into "Column E" and "Column F"

    What I want is to filter some of the data and display the adjacent cells value in "Column B":

    Eg. for cell B7: If E7:E53 contains "N1" then display adjacent cells value into cell B7
    for cell B8: If E7:E53 contains "N2" then display adjacent cells value into cell B8

    Once Column B is populated Column C will be able to cross reference and display the data from the second tab (employee names)

    Any idea's?
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    02-07-2013
    Location
    Philippines
    MS-Off Ver
    Excel Online; 365
    Posts
    610

    Re: If Range contains Value then Display Adjacent Cell

    wouldn't vlookup do the same trick?
    If I've helped U pls click on d *Add Reputation

  3. #3
    Registered User
    Join Date
    06-22-2016
    Location
    Perth, Australia
    MS-Off Ver
    10
    Posts
    9

    Re: If Range contains Value then Display Adjacent Cell

    Quote Originally Posted by bhenlee View Post
    wouldn't vlookup do the same trick?
    Not sure - how do you get it to show adjacents cell value not the value it is searching in?

  4. #4
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: If Range contains Value then Display Adjacent Cell

    maybe something like this... =VLOOKUP(A7,$E$7:$F$53,2,FALSE) dragged down will work for you.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  5. #5
    Registered User
    Join Date
    06-22-2016
    Location
    Perth, Australia
    MS-Off Ver
    10
    Posts
    9

    Re: If Range contains Value then Display Adjacent Cell

    Quote Originally Posted by Sambo kid View Post
    maybe something like this... =VLOOKUP(A7,$E$7:$F$53,2,FALSE) dragged down will work for you.
    So far so good, many thanks!

+ 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] Combo Box to display Data from 2 columns in range and drop into two adjacent cells Inquiry
    By swade730 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-27-2016, 02:29 PM
  2. [SOLVED] Display value of adjacent cell
    By jayzon831 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-12-2015, 11:25 AM
  3. If even, display adjacent cell
    By Nathanj7 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-06-2014, 06:10 AM
  4. [SOLVED] If a specified range contains a text value, then display adjacent cell text?
    By adegroot13 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-09-2014, 03:20 PM
  5. [SOLVED] Find max value in a range and display adjacent values appearing in same row
    By T15K in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-30-2013, 09:15 PM
  6. if cell exists in range, display adjacent cell
    By desybabe in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-22-2013, 04:08 PM
  7. Display adjacent cell as result...
    By prspiderman in forum Excel General
    Replies: 3
    Last Post: 02-24-2006, 01: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