Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Corissa
 
Posts: n/a
Default Lookup Value is Between Range 1 and Range 2

I have the following data:
Col A = Start Date
Col B = End Date
Col C = Week Number

Is there a way to do a lookup function to display the Week Number if a user
enters a date that is between Col A and Col B?
  #2   Report Post  
cscorp
 
Posts: n/a
Default


Corissa,

I don't think the vlookup as designed can help you to do that. I
designed a small function called "WeekFinder". The spreadsheet
attached is an example on how to use it. The code is unprotected and
documented. Please, verify and test it. It is in a zip file because
this system do not allow Excel Attachments.

Let me know if that helps.

regards

Juan Carlos


+-------------------------------------------------------------------+
|Filename: WeekFinder.zip |
|Download: http://www.excelforum.com/attachment.php?postid=3462 |
+-------------------------------------------------------------------+

--
cscorp
------------------------------------------------------------------------
cscorp's Profile: http://www.excelforum.com/member.php...o&userid=24015
View this thread: http://www.excelforum.com/showthread...hreadid=375478

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
Lookup Value is Between Range 1 and Range 2 bj Excel Worksheet Functions 1 June 1st 05 12:06 AM
Range Lookup Jake Excel Discussion (Misc queries) 2 April 28th 05 11:02 PM
Lookup from a range on separate sheets Paul Reeve Excel Discussion (Misc queries) 1 April 27th 05 11:20 AM
Range Lookup? Is there such a thing like this? Michael Saffer Excel Worksheet Functions 2 April 8th 05 05:45 PM
Lookup with search range start based on position of last blank lin rcmodelr Excel Worksheet Functions 0 November 14th 04 06:32 AM


All times are GMT +1. The time now is 11:41 PM.

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"