LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Sum Vlookup / Match Formula across 8 workbooks

I have a multiple vloookup question. Currently I have a consolidation
model that pulls in data from 3 other workbooks based on 2 conditions:

1: does the user want the submodel included - a "y" or "n" is entered
2: is the consolidation model month number for the row/column we are
in = the month number on which we should start including the submodel

These conditions do not apply to the first model as it is always
included.

My formula which appears below has worked fine for three workbooks,
but now I am asked to include a total of 8 workbooks making the
formula cumbersome and likely (haven't tested yet) running over the
formula character limit.

All the sheets are formatted the same with month numbers running on
line 3 and account names in column B.

1 2 3 .. 120
Accnt 1
Accnt 2
Accnt 3
...
Acct 65


=IF(Model1_Flag="y",VLOOKUP($B6,'Model1.xls'!PLDat aTable,MATCH(M
$3,'[Model1.xls]PandL'!$B$3:$EB$3,0),FALSE),0)

+IF(AND(Model2_Flag="y",M$3=Model2Start),VLOOKUP( $B6,'Model2'!
PLDataTable,MATCH(M$3-Model2Start+1,'[Model2.xls]PandL'!$B$3:$EB$3),
0),FALSE)

+IF(AND(Model3_Flag="y",M$3=Model3Start),VLOOKUP( $B6,'Model3.xls'!
PLDataTable,MATCH(M$3-Model3Start+1,Model3.xls]PandL'!$B$3:$EB
$3,0),FALSE))

I would appreciate any feedback on how to change the formula, us VBA
instead, etc.
 
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
If isna match vlookup formula maijiuli Excel Worksheet Functions 6 November 20th 07 10:09 PM
Formula To Use A Dynamic Named Ranges With VLOOKUP On Different Workbooks Minitman Excel Worksheet Functions 6 August 28th 07 12:18 AM
n/a in vlookup/index/match formula andrewm Excel Worksheet Functions 5 July 7th 05 12:58 PM
dynamic, double vlookup, match, index, dget?? different workbooks Leslie Excel Worksheet Functions 11 June 27th 05 09:45 PM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


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