View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
John C[_2_] John C[_2_] is offline
external usenet poster
 
Posts: 1,358
Default Question regarding lookup

Assumptions: Your ORANGE workbook is open and in the same folder as your
lookup workbook.
The date you enter is in cell A1 of your lookup workbook.
The tabs in ORANGE workbook are all number mm-dd (with both month and day
having preceding zeroes if single digit).

This is your formula:

=INDIRECT("'[ORANGE.xls]"&TEXT(MONTH(A1),"00")&"-"&TEXT(DAY(A1),"00")&"'!C2")

tested and working.
--
John C


"Susan" wrote:

I am trying to create a lookup in one workbook to another workbook, here is
my problem:

in my other workbook, called ORANGE there are 52 sheets (one for each week).
I want to be able to enter a date 07-27-08 and be able to lookup the
coordinating sheet in workbook ORANGE called 07-27 and give me the value in
cell c2 of that sheet in workbook titled "ORANGE".

Can someone help me with this formula please.

Thank you!