Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
spalmarez
 
Posts: n/a
Default Lookup a date between other dates


Thanks for your everyone's help.
I ended up making a another tab with the dates start and end to get the
dates that I needed.
SEARCH NUMBER START END
138377 1 25-Jan-05 15-Feb-05


=IF(ISBLANK(C4),"",IF(AND(A4=LOOKUP(CONCATENATE(C 4&A4),CYCLE!A:C),A4<LOOKUP(CONCATENATE(C4&A4),CYCL E!A:D)),LOOKUP(CONCATENATE(C4&A4),CYCLE!A:C),""))


--
spalmarez
------------------------------------------------------------------------
spalmarez's Profile: http://www.excelforum.com/member.php...o&userid=15961
View this thread: http://www.excelforum.com/showthread...hreadid=274366

  #2   Report Post  
Harlan Grove
 
Posts: n/a
Default

"spalmarez" wrote...
....
=IF(ISBLANK(C4),"",IF(AND(A4=LOOKUP(CONCATENATE( C4&A4),CYCLE!A:C),
A4<LOOKUP(CONCATENATE(C4&A4),CYCLE!A:D)),LOOKUP(C ONCATENATE(C4&A4),
CYCLE!A:C),""))


No! Don't use CONCATENATE(C4&A4). Just use C4&A4.


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
Excel: How do I enter a date in one cell & automatically dates adj Shannon Excel Discussion (Misc queries) 4 January 12th 05 12:51 AM
Addition to Turn cell red if today is greater or equal to date in cell Rich New Users to Excel 2 December 9th 04 02:06 AM
Lookup the latest date in a range so it appears as my result FBB Excel Discussion (Misc queries) 1 December 4th 04 03:50 AM
How can I hide points for future dates on a Year to Date chart? rlmills Charts and Charting in Excel 1 November 29th 04 05:23 PM
Lookup a date between other dates spalmarez Excel Worksheet Functions 4 November 2nd 04 09:06 AM


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