![]() |
Return a specified date when it falls within a range....
Hello all. I hope someone can help me figure this one out. So here we go.... I have a spread sheet that you plug in a date and then enter another date manually. The second date is the on I would like to automate. I need the first date to be complared in a range of dates and then return the effective date. Example: Entered date - 01/08/2006 Range Table: Effective: 01/01/2006 - 01/05/2006 01/05/2006 01/06/2006 - 01/10/2006 01/10/2006 01/11/2006 - 01/15/2006 01/15/2006 I would like it to return the 01/10/2006 effective date for that range. Any help is appreciated. -- Nokose451 ------------------------------------------------------------------------ Nokose451's Profile: http://www.excelforum.com/member.php...o&userid=30528 View this thread: http://www.excelforum.com/showthread...hreadid=501829 |
Return a specified date when it falls within a range....
Use VLOOKUP:
If your data is in cols A,B,C and the target is in F1 then =VLOOKUP(F1,A1:C3,3,TRUE) will return the desired value. -- Gary's Student "Nokose451" wrote: Hello all. I hope someone can help me figure this one out. So here we go.... I have a spread sheet that you plug in a date and then enter another date manually. The second date is the on I would like to automate. I need the first date to be complared in a range of dates and then return the effective date. Example: Entered date - 01/08/2006 Range Table: Effective: 01/01/2006 - 01/05/2006 01/05/2006 01/06/2006 - 01/10/2006 01/10/2006 01/11/2006 - 01/15/2006 01/15/2006 I would like it to return the 01/10/2006 effective date for that range. Any help is appreciated. -- Nokose451 ------------------------------------------------------------------------ Nokose451's Profile: http://www.excelforum.com/member.php...o&userid=30528 View this thread: http://www.excelforum.com/showthread...hreadid=501829 |
All times are GMT +1. The time now is 06:56 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com