+ Reply to Thread
Results 1 to 4 of 4

Multiple values with multiple criteria

  1. #1
    Registered User
    Join Date
    10-29-2018
    Location
    Germany
    MS-Off Ver
    2007
    Posts
    21

    Multiple values with multiple criteria

    Hi,
    I have the same issue.

    I have the next dataset

    A B C
    1 PX Door 22.03.18
    2 PX Door 22.03.18
    3 PX Door 23.03.18
    4 PX Window 24.03.14
    5 PX Window 24.03.18
    6 PX Window 26.03.18
    7 YX Door 27.03.18

    I need to get all the dates for PX in one column but without repetition.
    The result should be 22.03.18, 23.03.18, 24.03.18, 26.04.18

    I have tried with Vlookup, Index+Match but I cannot solve it.

    Can anybody help me, please?

    Thank you in advance.

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Multiple values with multiple criteria

    Why not simply use a pivot table?
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Registered User
    Join Date
    10-29-2018
    Location
    Germany
    MS-Off Ver
    2007
    Posts
    21

    Re: Multiple values with multiple criteria

    Hi Olly,

    thanks for answering. I donīt know how to use the pivot table. Besides, this is a easy example about what I want to do. The file where I am working on is quite big and has a lot of data. I would like to do it with a formula if possible. Can you help me with this?

    thanks again.

  4. #4
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Multiple values with multiple criteria

    If your data is "quite big", then all the more reason to use a pivot table. Give your source data headings (in this case, I used "Code", "Type" and "Date", then simply select your source data, click Insert > Pivot Table, check your source data range, and click "OK" to insert a pivot table on a new worksheet. In the Pivot Table Field list, put "Code" in the "Filters" section, and "Date" in the "Rows" section. Now click the "Code" dropdown filter and choose "PX".


    If you're using Excel 2010 or later, then you could use Power Query, instead - format your source data as a table, then use something like this:

    Please Login or Register  to view this content.
    Attached file shows an example of both approaches.
    Attached Files Attached Files
    Last edited by Olly; 10-29-2018 at 10:45 AM.

+ 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. Formula to Sum 3 Column Values based on Multiple Criteria for Multiple Rows
    By RMerckling in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-19-2016, 07:46 PM
  2. [SOLVED] Copy rows from multiple worksheets with multiple criteria - greater than dynamic values
    By stackout in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-03-2015, 04:36 PM
  3. Replies: 2
    Last Post: 05-26-2015, 07:29 PM
  4. [SOLVED] How to return multiple values to a single cell based on multiple criteria
    By lwallace in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-20-2014, 06:32 AM
  5. [SOLVED] Two criteria Index Match on multiple sheets returning multiple values
    By Joak in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-21-2014, 10:03 AM
  6. Replies: 12
    Last Post: 02-10-2014, 11:59 AM
  7. [SOLVED] Lookup and sum multiple values based on a single criteria in multiple sheets.
    By paulsanett in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-17-2014, 12:18 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