+ Reply to Thread
Results 1 to 7 of 7

Find the right Column then return values from Column A

  1. #1
    Registered User
    Join Date
    02-19-2013
    Location
    Cebu, Philippines
    MS-Off Ver
    Excel 2010
    Posts
    88

    Find the right Column then return values from Column A

    Hello,

    Please help.

    Find the right Column then if has Y, values from Group A will return.

    I hope my picture is clear. I'm sorry if I can't explain it clearly.

    Screenshot.jpg

    Many Thanks,

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,404

    Re: Find the right Column then return values from Column A

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    02-19-2013
    Location
    Cebu, Philippines
    MS-Off Ver
    Excel 2010
    Posts
    88

    Re: Find the right Column then return values from Column A

    Hello,

    Please see attached file.

    Thanks,
    Attached Files Attached Files

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2503
    Posts
    13,702

    Re: Find the right Column then return values from Column A

    In column C I 'shadowed' the example. Array enter this formula in C11 and fill down. If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.
    Formula: copy to clipboard
    Please Login or Register  to view this content.



    A
    B
    C
    D
    E
    F
    1
    GROUP A
    1995
    1996
    1997
    1998
    1999
    2
    TEXT1
    3
    TEXT2
    Y
    Y
    Y
    4
    TEXT3
    Y
    Y
    5
    TEXT4
    Y
    Y
    6
    TEXT5
    Y
    Y
    7
    TEXT6
    Y
    8
    9
    10
    FIND
    1998
    1998
    11
    RETURN
    TEXT4
    TEXT4
    12
    RETURN
    TEXT6
    TEXT6
    Dave

  5. #5
    Registered User
    Join Date
    02-19-2013
    Location
    Cebu, Philippines
    MS-Off Ver
    Excel 2010
    Posts
    88

    Re: Find the right Column then return values from Column A

    Wow!

    It works!

    Thanks Dave,

  6. #6
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2503
    Posts
    13,702

    Re: Find the right Column then return values from Column A

    You're welcome. Thanks for the feedback, rep and marking your thread Solved.

  7. #7
    Forum Contributor
    Join Date
    09-18-2015
    Location
    Republic of Korea
    MS-Off Ver
    2010
    Posts
    314

    Re: Find the right Column then return values from Column A

    You've already solved it ... Please try it.

    =INDEX($A:$A,1/LARGE(INDEX((INDEX($B$2:$F$7,,MATCH($B$10,$B$1:$F$1,0))="Y")/ROW($E$2:$E$7),),ROWS($B$11:B11)))

    * This formula is not an array formula.

+ 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] Find duplicate values in column & return to it
    By Karnik in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-02-2017, 01:42 AM
  2. Replies: 8
    Last Post: 03-23-2017, 02:59 PM
  3. Replies: 2
    Last Post: 10-08-2012, 02:17 PM
  4. [SOLVED] Find a values from within a column then return a value
    By tearl42 in forum Excel General
    Replies: 2
    Last Post: 07-02-2012, 06:11 PM
  5. Find records and return values to new column
    By ironj32 in forum Excel General
    Replies: 4
    Last Post: 11-20-2009, 11:55 AM
  6. Find a column and return values
    By jvarian in forum Excel General
    Replies: 5
    Last Post: 11-03-2008, 12:26 PM
  7. Find Max values in row then return Column Header
    By mrio in forum Excel General
    Replies: 0
    Last Post: 08-23-2006, 12:47 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