+ Reply to Thread
Results 1 to 5 of 5

find smallest time value per date per criteria

  1. #1
    Registered User
    Join Date
    10-28-2012
    Location
    Poland
    MS-Off Ver
    Excel 2007/2010
    Posts
    94

    find smallest time value per date per criteria

    Hi,
    I've got 2 column table. In column A I've got list of different names. In column B I've got date and time (yyyy-mm-ss hh:mm:ss). I need to write formula which tell me which of data value is the smalest one per name in every day. In need to write formula in column C which show me X when the time is the smalest one per name and per specific day, like you see below.
    A B C
    name1 2014-09-01 12:20:56
    name1 2014-09-01 12:10:51 x
    name1 2014-09-02 12:02:10 x
    name1 2014-09-02 12:11:51
    name2 2014-09-01 12:12:12
    name2 2014-09-01 12:20:56
    name2 2014-09-01 12:10:56
    name2 2014-09-01 04:10:56 x
    name2 2014-09-02 12:10:56
    name2 2014-09-02 09:10:56 x

    I try something with matching but without any positive result.
    Thank you in advance for help.
    Attached Files Attached Files
    Like to say thanks ?Please use the star icon.

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: find smallest time value per date per criteria

    Try this array formula** entered in C2 and copied down:

    =IF(B2=MIN(IF(A$2:A$11=A2,IF(INT(B$2:B$11)=INT(B2),B$2:B$11))),"x","")

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: find smallest time value per date per criteria

    Or this array formula in C2 and dragged down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Please add reputation by clicking on the * if I have helped.
    Please mark the thread SOLVED if your issue has been resolved.
    Thanks, Glenn.

  4. #4
    Registered User
    Join Date
    10-28-2012
    Location
    Poland
    MS-Off Ver
    Excel 2007/2010
    Posts
    94

    Re: find smallest time value per date per criteria

    tahanks for help!!!

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: find smallest time value per date per criteria

    You're welcome!

+ 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. Find smallest number that fits a criteria
    By HalPlz in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-10-2014, 03:49 PM
  2. [SOLVED] count the values from smallest date with criteria!!! help excel formula
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-08-2013, 11:34 AM
  3. [SOLVED] find second smallest date...
    By Shishek in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-18-2012, 04:26 PM
  4. Using VBA Find smallest date larger than refdate for each lotid
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-09-2012, 07:08 AM
  5. Replies: 0
    Last Post: 08-28-2005, 10:35 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