ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   find & copy data from most recent entry (https://www.excelbanter.com/excel-discussion-misc-queries/204891-find-copy-data-most-recent-entry.html)

[email protected]

find & copy data from most recent entry
 
I have a spreadsheet with date & time of entry in column B. Column D
has text data. I want to find the most recent entry (data is not
neccessarily entered in consective rows) and copy the data in Column D
for that row to another cell (E1 in this case).

For example:

B D
8/28/08 8:17 PM RSW
8/28/08 8:18 PM MB
8/28/08 8:15 PM TF
8/28/08 8:16 PM WW

I need a formula that would copy the data in D2 (the most recent row)
and put it into E1. As time goes on this spreadsheet will have several
hundred rows of data so I need to be able to automatically find the
most recent entry.

Thanks in advance,
Brian

Dave Peterson

find & copy data from most recent entry
 
I think...

In E1:

=index(d2:d999,match(max(b2:b999),b2:b999,0))

Adjust the ranges to match or use the entire column:
=index(d:d,match(max(b:b),b:b,0))



wrote:

I have a spreadsheet with date & time of entry in column B. Column D
has text data. I want to find the most recent entry (data is not
neccessarily entered in consective rows) and copy the data in Column D
for that row to another cell (E1 in this case).

For example:

B D
8/28/08 8:17 PM RSW
8/28/08 8:18 PM MB
8/28/08 8:15 PM TF
8/28/08 8:16 PM WW

I need a formula that would copy the data in D2 (the most recent row)
and put it into E1. As time goes on this spreadsheet will have several
hundred rows of data so I need to be able to automatically find the
most recent entry.

Thanks in advance,
Brian


--

Dave Peterson

[email protected]

find & copy data from most recent entry
 
On Oct 2, 8:56*pm, Dave Peterson wrote:
I think...

In E1:

=index(d2:d999,match(max(b2:b999),b2:b999,0))

Adjust the ranges to match or use the entire column:
=index(d:d,match(max(b:b),b:b,0))





wrote:

I have a spreadsheet with date & time of entry in column B. Column D
has text data. I want to find the most recent entry (data is not
neccessarily entered in consective rows) and copy the data in Column D
for that row to another cell (E1 in this case).


For example:


* * * * * * * *B * * * * * * * * * * * * * * D
8/28/08 8:17 PM * * * * * * * * * RSW
8/28/08 8:18 PM * * * * * * * * * * MB
8/28/08 8:15 PM * * * * * * * * * * TF
8/28/08 8:16 PM * * * * * * * * * *WW


I need a formula that would copy the data in D2 (the most recent row)
and put it into E1. As time goes on this spreadsheet will have several
hundred rows of data so I need to be able to automatically find the
most recent entry.


Thanks in advance,
Brian


--

Dave Peterson- Hide quoted text -

- Show quoted text -


Yes, that does exactly what I wanted! Thank you!


All times are GMT +1. The time now is 04:06 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com