Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Greg
 
Posts: n/a
Default Identify last item in a list

I have a list of timestamps in column A (one per minute for a day,
total 1440 entries), and an associated list of TRUE/FALSE values in
column B:

12:00 AM FALSE
12:01 AM FALSE
12:02 AM TRUE
  #2   Report Post  
Domenic
 
Posts: n/a
Default

Try...

=INDEX(A1:A7,MATCH(2,1/(B1:B7=TRUE)))

....confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

Hope this helps!

In article ,
Greg wrote:

I have a list of timestamps in column A (one per minute for a day,
total 1440 entries), and an associated list of TRUE/FALSE values in
column B:

12:00 AM FALSE
12:01 AM FALSE
12:02 AM TRUE
.
.
.
11:56 PM TRUE
11:57 PM TRUE
11:58 PM FALSE
11:59 PM FALSE

I need a formula that will return the timestamp associated with the
*last* TRUE value in the list. In the example above, the formula
would return 11:57 PM.

If there are no TRUE values anywhere in the list, then the formula
should return some error text, i.e., "No TRUE values found."

The spreadsheet has no macros on it, and I would prefer to keep it
that way (so users do not have to contend with macro virus warnings),
therefore a formula-based solution is highly preferable.

Thanks,
Greg Hurwitt

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
I wish to automatically populate cells with list data when a item. juggernaught Excel Discussion (Misc queries) 2 February 23rd 05 09:49 PM
Refresh a Validation List? jhollin1138 Excel Discussion (Misc queries) 3 February 17th 05 05:48 PM
cell reference to last item in a list Lee Excel Discussion (Misc queries) 1 February 2nd 05 08:07 PM
Selecting an Item from a List and getting a different item to pop. Matt Excel Worksheet Functions 1 December 7th 04 02:37 PM
Lists: Clicking on one item in one list and getting certain info i Matt Excel Worksheet Functions 1 November 12th 04 05:17 AM


All times are GMT +1. The time now is 02:16 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"