+ Reply to Thread
Results 1 to 3 of 3

Return specific cell from specific row that matches logic

  1. #1
    Registered User
    Join Date
    06-07-2016
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    6

    Return specific cell from specific row that matches logic

    Hi,

    I've tried a few ways to get this to work, but need some help please.

    I have some data which is formatted as per the attached example file.

    I want to pull through data into the viewing sheet (Sheet1) from the mailing tab. What formula will check first that the team name matches, then search all rows with that team name to see if the column header (Team Leader) for example, has a "Y" value. If both match, then return the full name (Column E) from mailing, into the viewing sheet.

    The green cells are what I wish to auto-populated based on the data from the mailing tab.

    Grateful for your help as always!
    Attached Files Attached Files
    Last edited by KDDB; 10-06-2016 at 06:10 AM. Reason: Edited to mark as solved

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,444

    Re: Return specific cell from specific row that matches logic

    Hi,

    In C3 and D3, use the following array functions and copy down

    =INDEX(Mailing!$F$2:$F$4,MATCH(A3&"Y",Mailing!$A$2:$A$4&Mailing!$G$2:$G$4,0)) =INDEX(Mailing!$F$2:$F$4,MATCH(A3&"Y",Mailing!$A$2:$A$4&Mailing!$H$2:$H$4,0))

    make sure to confirm an aray with CTRL, SHIFT and ENTER.
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Registered User
    Join Date
    06-07-2016
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    6

    Re: Return specific cell from specific row that matches logic

    Works perfectly, thank you!

+ 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: 3
    Last Post: 05-25-2016, 11:36 AM
  2. Replies: 2
    Last Post: 05-25-2016, 11:32 AM
  3. Replies: 4
    Last Post: 08-15-2013, 09:50 AM
  4. Replies: 2
    Last Post: 08-05-2013, 07:32 PM
  5. If cell X matches a value in a cell range, return "specific text" - HELP :(
    By paulandrewlee in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-02-2013, 07:06 PM
  6. Replies: 3
    Last Post: 06-20-2012, 07:16 AM
  7. Replies: 1
    Last Post: 06-05-2012, 02:22 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