+ Reply to Thread
Results 1 to 11 of 11

Extract Data, one condition !

  1. #1
    Forum Contributor
    Join Date
    05-20-2016
    Location
    Detroit
    MS-Off Ver
    Office 365 Version 2008 (July 2020)
    Posts
    819

    Extract Data, one condition !

    I want to extract data to corresponded row and column.
    If Column B = E2 , then extract Column E to corresponded row and column, see H5
    I was trying at H5 (without E2 condition) but formula do not move to right !
    In column B I will have multiple E2 (now I have only one)
    Attached Files Attached Files

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

    Re: Extract Data, one condition !

    INDEX MATCH MATCH needs a matrix. Try this instead:

    =IFERROR(LOOKUP(2,1/(($C$5:$C$388=$G5)*($D$5:$D$388=H$4)),$E$5:$E$388),"")
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    05-20-2016
    Location
    Detroit
    MS-Off Ver
    Office 365 Version 2008 (July 2020)
    Posts
    819

    Re: Extract Data, one condition !

    Cool, works, but could you make this IF Column B=E2 ?
    In B I will have multiple numbers, selection will be at E2

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Extract Data, one condition !

    How about
    =IFERROR(INDEX($E$5:$E$388,MATCH($E$2&"|"&$G5&"|"&H$4,INDEX($B$5:$B$388&"|"&$C$5:$C$388&"|"&$D$5:$D$388,0),0)),"")

  5. #5
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Extract Data, one condition !

    How can a column be equal to a cell?

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,745

    Re: Extract Data, one condition !

    Quote Originally Posted by ionelz View Post
    Cool, works, but could you make this IF Column B=E2 ?
    This?

    =IFERROR(LOOKUP(2,1/(($B$5:$B$388=$E$2)*($C$5:$C$388=$G5)*($D$5:$D$388=H$4)),$E$5:$E$388),"")

  7. #7
    Forum Contributor
    Join Date
    05-20-2016
    Location
    Detroit
    MS-Off Ver
    Office 365 Version 2008 (July 2020)
    Posts
    819

    Re: Extract Data, one condition !

    Thank you all, done !

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,745

    Re: Extract Data, one condition !

    You're welcome!

    Please mark as solved.

  9. #9
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Extract Data, one condition !

    You're welcome & thanks for the feedback

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,745

    Re: Extract Data, one condition !

    By the way, your title is quite misleading: this is data extraction with THREE conditions!

  11. #11
    Forum Contributor
    Join Date
    05-20-2016
    Location
    Detroit
    MS-Off Ver
    Office 365 Version 2008 (July 2020)
    Posts
    819

    Re: Extract Data, one condition !

    Yes, I was trying to pay less !!!

+ 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. Extract Data from Range with Condition
    By ionelz in forum Excel General
    Replies: 5
    Last Post: 09-04-2019, 11:14 AM
  2. [SOLVED] Basing on the condition, needs to extract the data
    By sateesh konduru in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 10-10-2016, 02:38 PM
  3. [SOLVED] Need Help to Extract data from required tab as per condition
    By Naveed Raza in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-30-2013, 01:54 AM
  4. [SOLVED] Extract data that meets specific condition from large raw data
    By tekobayashi in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-27-2012, 03:50 AM
  5. [SOLVED] Extract Data from one sheet to new sheet on date condition
    By Alok-nigam in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-09-2012, 02:26 AM
  6. [SOLVED] Extract data based upon Yes/No condition
    By dramadog in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-07-2012, 05:15 PM
  7. Using condition to extract data by matching values from 2 different Excel files
    By schellam in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-29-2005, 04:43 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