Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default Locating First and Last Cell Containing a Specific Value

Hello,

I have data in several columns, the first being a date and timestamp
and the second being an identifier (numeric). The numeric identifier
occurs repeatedly at different times (each identifier appears in
numerous rows).

I would like a way of extracting the timestamp of the first and last
occurrence of an identifier.

A:A contains Timestamp
B:B contains Identifier (not unique)

Ideally, given a particular Identifier, I would like to write a formula
that would return the timestamp of its first occurrence and another
that would return the last occurence.

I've tried multiple suggestions including ADDRESS and various LOOKUPs,
but no luck yet.

Thanks for any suggestions!

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gary''s Student
 
Posts: n/a
Default Locating First and Last Cell Containing a Specific Value

1. sort the data by column A (the stamp)
2. autofilter by column B (the ident)
the first visible entry is the first value that last visible entry is the
laster entry for that ident
--
Gary's Student


" wrote:

Hello,

I have data in several columns, the first being a date and timestamp
and the second being an identifier (numeric). The numeric identifier
occurs repeatedly at different times (each identifier appears in
numerous rows).

I would like a way of extracting the timestamp of the first and last
occurrence of an identifier.

A:A contains Timestamp
B:B contains Identifier (not unique)

Ideally, given a particular Identifier, I would like to write a formula
that would return the timestamp of its first occurrence and another
that would return the last occurence.

I've tried multiple suggestions including ADDRESS and various LOOKUPs,
but no luck yet.

Thanks for any suggestions!


Reply
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



All times are GMT +1. The time now is 03:29 AM.

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

About Us

"It's about Microsoft Excel"