LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default How to find earliest record based on unique identifier from a

You can use Data - Filter, Advanced Filter to create a unique list of numbers
(copy somewhere). Then use the formula I gave, base it off of this new list,
copy down the list of unique numbers to generate list of earliest time.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Lee" wrote:

On Jul 24, 9:47 am, Luke M wrote:
Try this array** formula to find earliest time for 12345678:

=MIN(IF($E$2:$E$200=12345678,$A$2:$A$200+$C$2:$C$2 00))

Increase range sizes as needed. Do not use a column callout (A:A)
Note that you can replace the 12345678 with a cell reference, if desired.

**Array formulas need to be confirmed using Ctrl+Shift+Enter, not just Enter.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*

"Lee" wrote:
I have a bunch of test data. Column A is the date, Column C is the
time and Column E is the unique identifier. Because this is test
data, a failed unit might be tested multiple times. What I need is a
way to find the earliest test time of the unique identifier in Column
E.


How do I restrict the data to return me the earliest date and time for
a unique unit from Column E, when the date and time are in two
separate columns?


Column A Column B Column C Column
D Column E
12-Mar-08 XXXXXXX 15:22:25
XXXXXXXX 12345678
12-Mar-08 XXXXXXX 15:25:25
XXXXXXXX 12345679
12-Mar-08 XXXXXXX 15:28:27
XXXXXXXX 12345680
12-Mar-08 XXXXXXX 15:32:45
XXXXXXXX 12345681
12-Mar-08 XXXXXXX 16:22:25
XXXXXXXX 12345678
12-Mar-08 XXXXXXX 16:25:25
XXXXXXXX 12345679
12-Mar-08 XXXXXXX 15:28:27
XXXXXXXX 12345698
12-Mar-08 XXXXXXX 15:32:45
XXXXXXXX 12345699


In the example above there are two duplicates (12345678, and
12345679). I would only want to see the earliest of the two records
based on the identifier in column E.


Thanks!
Lee


That works, but I want to be able to get all unique records, not just
12345678. In other words... there may be 1000 rows. Column E may
represent 768 unique units tested. I want 768 unique rows with the
earliest test time for each row. Hope I am making sense!!!

Thanks for your help!

lee



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Find unique record Isabelle Excel Discussion (Misc queries) 3 October 21st 08 03:05 PM
Macro to find and record Unique values? Arlen Excel Discussion (Misc queries) 7 July 18th 08 01:07 PM
EXTRACTING UNIQUE RECORD BASED ON CONDITION SSJ New Users to Excel 6 April 19th 07 04:53 AM
EXTRACTING UNIQUE RECORD BASED ON CONDITION SSJ Excel Worksheet Functions 6 April 19th 07 04:53 AM
Unique identifier Steve Barnett Excel Discussion (Misc queries) 19 January 6th 06 11:26 AM


All times are GMT +1. The time now is 05:55 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"