+ Reply to Thread
Results 1 to 16 of 16

Index Match function when mutiple criteria meets and extract the date

  1. #1
    Registered User
    Join Date
    02-17-2011
    Location
    india
    MS-Off Ver
    Excel 2016 (home & student version)
    Posts
    79

    Index Match function when mutiple criteria meets and extract the date

    Hi,

    Kindly guide me, attaching the excel file.

    Where there is a name and vehicle no. and no days .
    here i have to extract the days where the name and vehicle no is matched. i tried using index match function but unable to sort it out.

    required answer will be like this,
    CP2710
    aanand 1, 2, 3, 4

    ALL THIS DAYS has been present wherever condition met it has to extract the days
    i have highlighted the row and colum in req sheet with yellow color.
    Attached Files Attached Files

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,926

    Re: Index Match function when mutiple criteria meets and extract the date

    This formula works as an array formula in cell S2. Copy / Paste to other cells.

    This formula only works if the names are in the same order on both sheets.
    =IFERROR(LEFT(SUBSTITUTE(CONCAT(IF(Data!$B3:$AE3=Req!S$1,Data!$B$2:$AE$2&",",FALSE)),FALSE,""),LEN(SUBSTITUTE(CONCAT(IF(Data!$B3:$AE3=Req!S$1,Data!$B$2:$AE$2&",",FALSE)),FALSE,""))-1),"")

    I only copied the formulas to the orange-shaded cells. If you want an explanation as to why this formula works, just ask.
    Attached Files Attached Files
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Registered User
    Join Date
    02-17-2011
    Location
    india
    MS-Off Ver
    Excel 2016 (home & student version)
    Posts
    79

    Re: Index Match function when mutiple criteria meets and extract the date

    Thanks dflak,

    for the quick response and it seems to be new formula for me
    "concat" i searched this in net i learned something new thanks for that.

    but i m using ms office 2016 not office365 where this function is not available in my version. i tired to update office also but no use. is there any alternate.

  4. #4
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,926

    Re: Index Match function when mutiple criteria meets and extract the date

    I am using Excel 2016 here in the office and Excel 365 at home. It is available in both places. According to this: https://www.techonthenet.com/excel/formulas/concat.php, it should be available in Excel 2016.

  5. #5
    Registered User
    Join Date
    02-17-2011
    Location
    india
    MS-Off Ver
    Excel 2016 (home & student version)
    Posts
    79

    Re: Index Match function when mutiple criteria meets and extract the date

    regret to inform u i m unable to use that formula in my excel version i searched in internet also whether any other way to use concat function. i m unable to dod so.

  6. #6
    Registered User
    Join Date
    02-17-2011
    Location
    india
    MS-Off Ver
    Excel 2016 (home & student version)
    Posts
    79

    Re: Index Match function when mutiple criteria meets and extract the date

    i tried using concatenate but not getting as required, can u explain on it, will be a good use.

  7. #7
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Index Match function when mutiple criteria meets and extract the date

    CONCAT isn't exist in 2016 Desktop

    This feature is only available if you have an Office 365 subscription.
    Last edited by sandy666; 06-30-2018 at 02:12 AM.

  8. #8
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Index Match function when mutiple criteria meets and extract the date

    Is that what you want?

    Done with PowerQuery aka Get&Transform

    btw. update your profile about your real excel version

    General Note: Read me

    Try to avoid joining to my Black List by doing this below

    If that takes care of your original question, & to say Thanks and for better Motivation, please
    1. click on Add Reputtion (bottom left corner of the post of the person(s) who helped you)
      then
    2. select Thread Tools from the menu (top right corner of your thread) and mark this thread as SOLVED.
    If you did it already - ignore it.
    Thank you.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    02-17-2011
    Location
    india
    MS-Off Ver
    Excel 2016 (home & student version)
    Posts
    79

    Re: Index Match function when mutiple criteria meets and extract the date

    yes i want this. but can u tell me how to do this i installed power query also and tried something but unable to do.

  10. #10
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Index Match function when mutiple criteria meets and extract the date

    You said
    Quote Originally Posted by FUN2BALA View Post
    i m using ms office 2016
    so update your profile first,
    and PowerQuery exist in Excel 2016 by default so you don't need to install it. (but not in H&S version )

    ad rem:
    you need to clean your source data from unnecessary things like OFF, RININGIN, A, SWITCH OFF etc.
    you need to remove duplicates and change all names to the same format not mixed (small and caps) - all you can do via PQ Editor, as you can see in example
    if you do that the rest of steps are here: (Ribbon - Data tab, Show Queries, dbl click on table from the right side)

    steps.jpg
    Last edited by sandy666; 06-30-2018 at 04:02 PM. Reason: typo

  11. #11
    Registered User
    Join Date
    02-17-2011
    Location
    india
    MS-Off Ver
    Excel 2016 (home & student version)
    Posts
    79

    Re: Index Match function when mutiple criteria meets and extract the date

    Thanks sandy666,

    Sorry for late reply.

    i tried and did as per instructions.

    its worked
    but i want to know in added custom1 we used formula. can u explain it. it will be great help and appreciate it.

  12. #12
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Index Match function when mutiple criteria meets and extract the date

    I think you need re-read whole post#8 (General Note)

    ad rem:
    step8: you've Grouped Rows - column with Table (Count), click once on any "cell" with table in the column you'll see what table contain. You need only Day column from there so if you edit
    step9 you'll see how to extract this column to the list. and again click once on any list ("cell") in this column Day you'll see what List contain. You need extract these values (Days) to the row separated by comma so step10: Extract Values
    and so on...

    List.Distinct(Table.Column([Count],"Day")) - create Distinct List from table (mentioned above) from extracted column "Day"

    anything else ?
    Last edited by sandy666; 07-03-2018 at 01:02 PM.

  13. #13
    Registered User
    Join Date
    02-17-2011
    Location
    india
    MS-Off Ver
    Excel 2016 (home & student version)
    Posts
    79

    Re: Index Match function when mutiple criteria meets and extract the date

    thank u v much. i appreciate for taking time and explaining the things.

    can u tell me if i need to learn this atleast basic, which site or link to be referred.

  14. #14
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Index Match function when mutiple criteria meets and extract the date


  15. #15
    Registered User
    Join Date
    02-17-2011
    Location
    india
    MS-Off Ver
    Excel 2016 (home & student version)
    Posts
    79

    Re: Index Match function when mutiple criteria meets and extract the date

    Thank u Mr. sandy666

  16. #16
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Index Match function when mutiple criteria meets and extract the date

    You are welcome

    Have a nice day

+ 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] How to run reports based on mutiple criteria met? Index match?
    By YUSATrain in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 01-09-2018, 06:54 PM
  2. [Moved to VBA] INDEX MATCH Mutiple worksheet and returns mutiple row
    By joelimzh in forum Excel Programming / VBA / Macros
    Replies: 28
    Last Post: 11-20-2017, 01:33 AM
  3. [Moved to VBA] INDEX MATCH Mutiple worksheet and returns mutiple row
    By joelimzh in forum Excel Formulas & Functions
    Replies: 28
    Last Post: 11-20-2017, 01:33 AM
  4. [SOLVED] INDEX or extract list that doesn't Match to a range as criteria
    By brake in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-16-2017, 11:34 AM
  5. [SOLVED] Index & Match Formula to Get Value; If Criteria meets less than or Equal to Lookup Value
    By Rajeshkumar R in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-16-2017, 12:59 PM
  6. [SOLVED] Extract duplicates from index/match BUT the criteria is three columns?
    By Katie620 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-30-2017, 10:01 AM
  7. [SOLVED] Lookup with mutiple criteria - Vlookup, Match, index not working
    By PM1985 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 05-17-2014, 07:10 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