PC Review


Reply
Thread Tools Rate Thread

Add worksheet Lookup based on date

 
 
edwardpestian
Guest
Posts: n/a
 
      12th Jul 2006

I have a workbook that pulls data from another workbook. The workbook
that houses the data has a worksheet for each day of the month: 1,2,3,4
etc..

I need the workbook that pulls the data to take it from the worksheet
that corresponds to the date in a specific cell.

Here's my formula so far:

=INDEX('[July 06.xls]11'!$A$34:$D$58,MATCH(LARGE('[July
06.xls]11'!$D$34:$D$58,1),'[July 06.xls]11'!$D$34:$D$58,0),1

As you can see, it is pulling the date from workbook July 06; worksheet
11. I need it to pull from worksheet 11 if the date in B5 is
07/11/2006; worksheet 10 if the date is 07/10/2006..etc.

Thanks in advance.

ep


--
edwardpestian
------------------------------------------------------------------------
edwardpestian's Profile: http://www.excelforum.com/member.php...o&userid=33809
View this thread: http://www.excelforum.com/showthread...hreadid=560547

 
Reply With Quote
 
 
 
 
Biff
Guest
Posts: n/a
 
      12th Jul 2006
Hi!

Using a formula to do this requires the Indirect function and the Indirect
function requires the other file to be open. If the other file is not open
you will get errors. Still interested?

Biff

"edwardpestian" <(E-Mail Removed)>
wrote in message
news:(E-Mail Removed)...
>
> I have a workbook that pulls data from another workbook. The workbook
> that houses the data has a worksheet for each day of the month: 1,2,3,4
> etc..
>
> I need the workbook that pulls the data to take it from the worksheet
> that corresponds to the date in a specific cell.
>
> Here's my formula so far:
>
> =INDEX('[July 06.xls]11'!$A$34:$D$58,MATCH(LARGE('[July
> 06.xls]11'!$D$34:$D$58,1),'[July 06.xls]11'!$D$34:$D$58,0),1
>
> As you can see, it is pulling the date from workbook July 06; worksheet
> 11. I need it to pull from worksheet 11 if the date in B5 is
> 07/11/2006; worksheet 10 if the date is 07/10/2006..etc.
>
> Thanks in advance.
>
> ep
>
>
> --
> edwardpestian
> ------------------------------------------------------------------------
> edwardpestian's Profile:
> http://www.excelforum.com/member.php...o&userid=33809
> View this thread: http://www.excelforum.com/showthread...hreadid=560547
>



 
Reply With Quote
 
edwardpestian
Guest
Posts: n/a
 
      12th Jul 2006

More often than not, the workbook containing the data would not be
open.

Thanks anyway Biff.

ep


--
edwardpestian
------------------------------------------------------------------------
edwardpestian's Profile: http://www.excelforum.com/member.php...o&userid=33809
View this thread: http://www.excelforum.com/showthread...hreadid=560547

 
Reply With Quote
 
Biff
Guest
Posts: n/a
 
      12th Jul 2006
There's another option available but I have never tried it. It's a VBA coded
routine by Harlan Grove. The utility name is PULL. I don't have any handy
links for this but I'm sure a Google search will find many hits.

Biff

"edwardpestian" <(E-Mail Removed)>
wrote in message
news:(E-Mail Removed)...
>
> More often than not, the workbook containing the data would not be
> open.
>
> Thanks anyway Biff.
>
> ep
>
>
> --
> edwardpestian
> ------------------------------------------------------------------------
> edwardpestian's Profile:
> http://www.excelforum.com/member.php...o&userid=33809
> View this thread: http://www.excelforum.com/showthread...hreadid=560547
>



 
Reply With Quote
 
edwardpestian
Guest
Posts: n/a
 
      12th Jul 2006

I will check it out Biff. I'll let you know how it goes.

Thanks.


--
edwardpestian
------------------------------------------------------------------------
edwardpestian's Profile: http://www.excelforum.com/member.php...o&userid=33809
View this thread: http://www.excelforum.com/showthread...hreadid=560547

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Import entire row of data to other worksheet based on one lookup v mae_bear22 Microsoft Excel Misc 4 16th Jun 2009 03:52 AM
copy partial worksheet to a different worksheet based on date?? Kevin J Prince Microsoft Excel Discussion 4 8th Sep 2007 07:01 AM
Date Lookup based on Combo Box mattc66 via AccessMonster.com Microsoft Access Forms 1 13th Jun 2006 02:03 AM
Fill a column in a worksheet from a formula worksheet based on the date NadiaR Microsoft Excel Programming 4 15th Mar 2006 10:42 PM
Lookup question based on 2 columns per worksheet, 2 worksheets total TBA Microsoft Excel Misc 0 30th Sep 2003 05:01 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:46 AM.