+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    01-25-2010
    Location
    Philadelphia, PA
    MS-Off Ver
    Excel 2007
    Posts
    1

    Lookup Latest Date Using Multiple Criteria

    I have a list of workshops scheduled and I need to write a function that returns the latest date within each category of workshop. I tried using an "If" statement with a nested "MAX" but I haven't been able to get it to work.

    The current spreadsheet has three columns: Category, Workshop Name, Date Scheduled.

    The output sheet should have two columns: Category, Latest Date Scheduled

    Any ideas? Thanks!

  2. #2
    Forum Moderator teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    2003 & 2010
    Posts
    10,042

    Re: Lookup Latest Date Using Multiple Criteria

    Hi, without seeing your actual data setup it's a bit hard to write a formula, but something along the lines of

    =MAX(($A$1:$A$100="Category X")*$C1:$C$100)

    this needs to be entered with Ctr-Shift-Enter

    format result as date.
    teylyn
    Microsoft MVP - Excel
    At Excelforum, you can say "Thank you!" by clicking the icon below the post.

    Avoid pie charts with more than two data points. Why? See here (pdf, 559 kb). The only acceptable pie chart is here.

  3. #3
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,379

    Re: Lookup Latest Date Using Multiple Criteria

    Just to add to Teylyn's post.

    If you want to return dates for multiple categories you might be best served creating a Pivot Table with Category as Row Label and Date Scheduled as Data Field set to MAX (formatted as Date)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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.2.0