LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Brian
 
Posts: n/a
Default Confusing VLOOKUP with Indirect reference

Here is what I am trying to do:
I have about 50 sheets in a workbook, each for a different month. In column
A, I have an item id # listed all the way down(over 500). With each id #, i
have a current prep. date in column E, current ship date in column F, future
prep date in column H, and future ship date in column J. What I would like is
to have each of the cells with dates refer back to the previous month's page.
I have an indirect reference in C2(with the name of the sheet). Since the
period between some of the dates is more than a month, I am trying to set up
a statement saying find the id# on last month's page; if the future ship date
occurs in this month, take the date from the future ship date from last
month's page and place it in current date column for this month, otherwise
take the current date from last month's sheet for this months' page current
date.(Sorry so confusing, trying to be specifice)...please look at what I
ahve and see what my errors are. someone told me it can't be done without the
ISNA statement:

=IF(ISNA(VLOOKUP(A92,INDIRECT("'"&$C$2&"'!$b$2:$M$ 3639"),1,0)),"Not
found",IF(MONTH(TODAY())=MONTH(VLOOKUP(A92,INDIREC T("'"&$C$2&"'$B$2:$M$3639"),7,0)),
VLOOKUP(A92,INDIRECT("'"&$C$2&"'!$B$2:$M$3639"),7, 0)),VLOOKUP(A92,INDIRECT("'"&$C$2&"'!$B$2:$M$3639" ),4,0))

Thanks in advance!

 
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
Indirect reference to another sheet that can be dragged Brian Excel Worksheet Functions 1 October 17th 05 09:05 PM
Using single cell reference as table array argument in Vlookup CornNiblet Excel Worksheet Functions 3 September 22nd 05 09:15 AM
Vlookup will not reference a validation/drop down box Dave Excel Discussion (Misc queries) 2 August 19th 05 09:52 PM
Using a cell reference of a sheet in Vlookup crazybass2 Excel Worksheet Functions 3 August 12th 05 07:51 PM
Convert VLOOKUP to absolute cell reference Rich Excel Discussion (Misc queries) 2 August 6th 05 03:49 AM


All times are GMT +1. The time now is 01:24 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"