ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Need Formula for Last Occurance (https://www.excelbanter.com/excel-worksheet-functions/35702-need-formula-last-occurance.html)

Reignman

Need Formula for Last Occurance
 

I need a formula or array that will look up the last time a specific
thing occured.

A1:A1000 has the date it occured
B1:B1000 has the thing that occured

A1001 is where I want the formula or array to display the answer
B1001 will be the occurance I enter to be looked up

Thanks, John


--
Reignman
------------------------------------------------------------------------
Reignman's Profile: http://www.excelforum.com/member.php...o&userid=21023
View this thread: http://www.excelforum.com/showthread...hreadid=387810


Biff

Hi!

Array entered:

=MAX(IF(B1:B1000=B1001,A1:A1000))

Format as DATE

Biff

"Reignman" wrote in
message ...

I need a formula or array that will look up the last time a specific
thing occured.

A1:A1000 has the date it occured
B1:B1000 has the thing that occured

A1001 is where I want the formula or array to display the answer
B1001 will be the occurance I enter to be looked up

Thanks, John


--
Reignman
------------------------------------------------------------------------
Reignman's Profile:
http://www.excelforum.com/member.php...o&userid=21023
View this thread: http://www.excelforum.com/showthread...hreadid=387810




Aladin Akyurek

Care to provide a tiny sample along with the expected result?

Reignman wrote:
I need a formula or array that will look up the last time a specific
thing occured.

A1:A1000 has the date it occured
B1:B1000 has the thing that occured

A1001 is where I want the formula or array to display the answer
B1001 will be the occurance I enter to be looked up

Thanks, John




All times are GMT +1. The time now is 07:12 PM.

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