+ Reply to Thread
Results 1 to 6 of 6

Min Function with multiple criteria

  1. #1
    Registered User
    Join Date
    11-11-2009
    Location
    Reading, England
    MS-Off Ver
    2010
    Posts
    69

    Min Function with multiple criteria

    Hi

    I basically need a formular that returns a value for the earliest time on a Monday morning for a certaan person in a sheet of data.

    My data has 4 columns

    A = Employee Number

    B = Times

    C = Days

    D = Event



    So basically at the ealiest time that data is present on a Monday, for a certain person, i would like the formular to show the event that occured at that time from column D.

    I have been trying to add multiple criteria to the =MIN function, but am only managing to return the earliest time on a Monday and not the coressponding event.

    Note employee number is 3 digits, time is in format 00:00:00, days are in format DDDD and the event is a 6 figure number.

    Does anyone know the best way to go about this?

    Kind Regards

  2. #2
    Valued Forum Contributor JeanRage's Avatar
    Join Date
    03-02-2009
    Location
    Nice, France
    MS-Off Ver
    Excel 2003
    Posts
    705

    Re: Min Function with multiple criteria

    Hi,

    With array formula ... : Min(If( ...

    Why don't you post a sample worksheet for a precise answer ...

    HTH

  3. #3
    Registered User
    Join Date
    11-11-2009
    Location
    Reading, England
    MS-Off Ver
    2010
    Posts
    69

    Re: Min Function with multiple criteria

    As suggested here is an example with simplified data removing personal details.

    Thanks
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor JeanRage's Avatar
    Join Date
    03-02-2009
    Location
    Nice, France
    MS-Off Ver
    Excel 2003
    Posts
    705

    Re: Min Function with multiple criteria

    Among many possibilities, see attached proposal ...

    HTH
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    11-11-2009
    Location
    Reading, England
    MS-Off Ver
    2010
    Posts
    69

    Re: Min Function with multiple criteria

    Thanks Very Much, greatly appreciated.

    Henry

  6. #6
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Min Function with multiple criteria

    Please note that the time values in your original sample workbook are NOT real time values - they are text. As such, Jean Rage's solution will not work unless you convert the text values into real numbers. He has done the conversion in the workbook he provided.

    You can use the PasteSpecial (Multiply x 1 or Add + 0) to convert the text into real times, then format then as time so that they display correctly.
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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