+ Reply to Thread
Results 1 to 13 of 13

Basing on the condition, needs to extract the data

  1. #1
    Registered User
    Join Date
    08-21-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    43

    Basing on the condition, needs to extract the data

    Hi Basing on the drop down list I am expecting the data to retrieve. I am attaching the file, kindly help me out

    Sateesh
    Attached Files Attached Files

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Basing on the condition, needs to extract the data

    Enter this array formula in cell K7 and copy across
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    ***Array formula
    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER.
    You will know the array is active when you see curly braces { } appear around your formula.
    If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,824

    Re: Basing on the condition, needs to extract the data

    Try

    =IFERROR(INDEX($B$4:$I$23,SMALL(IF(INDEX($B$4:$I$23,,MATCH($K$4,$B$3:$I$3,0))=$K$5,ROW($B$4:$B$23)-ROW($B$4)+1,""),ROWS($B$4:B4)),COLUMNS($A:A)),"")

    Enter with Ctrl+Shift+Enter
    Last edited by JohnTopley; 10-10-2016 at 09:29 AM.

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,824

    Re: Basing on the condition, needs to extract the data

    Try for "wildcard" name ...

    =IF($K$4="Name of the Candidate",IFERROR(INDEX($B$4:$I$23,SMALL(IF(LEFT($D$4:$D$23,LEN($K$5))=$K$5,ROW($B$4:$B$23)-ROW($B$4)+1,""),ROWS($B$4:B4)),COLUMNS($A:A)),""),IFERROR(INDEX($B$4:$I$23,SMALL(IF(INDEX($B$4:$I$23,,MATCH($K$4,$B$3:$I$3,0))=$K$5,ROW($B$4:$B$23)-ROW($B$4)+1,""),ROWS($B$4:B4)),COLUMNS($A:A)),""))

    Enter with Ctrl+Shift+Enter
    Last edited by JohnTopley; 10-10-2016 at 09:38 AM.

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,824

    Re: Basing on the condition, needs to extract the data

    Re: Basing on the condition, needs to extract the data
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    08-21-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    43

    Re: Basing on the condition, needs to extract the data

    Hi John Topley,
    Awesome, it working. In addition to that can I go for the multiple search criteria.
    If I add same drop down list in L4, do we get both condition accepted data.
    Sateesh

  7. #7
    Registered User
    Join Date
    08-21-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    43

    Re: Basing on the condition, needs to extract the data

    Sir,
    Its Working. Thanks for your time.
    In addition to that can I go for the multiple search criteria.
    If I add same drop down list in L4, do we get both condition accepted data.
    Sateesh

  8. #8
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,824

    Re: Basing on the condition, needs to extract the data

    If you want to have two or more conditions then you will need additional formulae.

  9. #9
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,824

    Re: Basing on the condition, needs to extract the data

    Please post a file with your additional requirements for L4.

  10. #10
    Registered User
    Join Date
    08-21-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    43

    Re: Basing on the condition, needs to extract the data

    Hi
    If I put the same drop down list selection criteria in L4 & search words with specific text which are mentioned in the attachment.
    Kindly go through the attachment.
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    08-21-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    43

    Re: Basing on the condition, needs to extract the data

    HI

    sorry its
    L4:L5 with M4:M5

  12. #12
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,824

    Re: Basing on the condition, needs to extract the data

    Try

    in L7

    Please Login or Register  to view this content.
    Enter with Ctrl+Shift+Enter

    Copy across and down

    NOTE: the "wildcard" name MUST be in L5 i.e L4="Name of the Candidate"
    Attached Files Attached Files

  13. #13
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Basing on the condition, needs to extract the data

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

    See attached file
    Attached Files Attached Files

+ 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] formula to calculate the average of a range basing on condition
    By Bob Phillips in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-06-2005, 10:05 AM
  2. formula to calculate the average of a range basing on condition
    By Bob Phillips in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-06-2005, 07:05 AM
  3. formula to calculate the average of a range basing on condition
    By Bob Phillips in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-06-2005, 06:05 AM
  4. [SOLVED] formula to calculate the average of a range basing on condition
    By Krishna Mohan in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  5. [SOLVED] formula to calculate the average of a range basing on condition
    By Krishna Mohan in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  6. [SOLVED] formula to calculate the average of a range basing on condition
    By Krishna Mohan in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM
  7. formula to calculate the average of a range basing on condition
    By Krishna Mohan in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  8. formula to calculate the average of a range basing on condition
    By Krishna Mohan in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-21-2005, 07:05 AM

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