Solved

Index Match question

Posted on 2013-12-06
4
251 Views
Last Modified: 2013-12-11
Hi Guys, if I do a INDEX MATCH to another spreadsheet. Will it work if you use a Named Range?


Also, has anyone any idea how to shorten my lookup path just to include the Name of the external spreadsheet from:

=IF(ISNA(INDEX('V:\Treasury Finance Controls\Ledger v SS Recs\Recs - Murex_GBO\2013 Recs\12_2013 Recs\BS\[Murex BS rec breaks - 041213.xlsm]Rec'!$B$3:$AL$1000
to
=IF(ISNA(INDEX(Murex BS rec breaks - 041213.xlsm]Rec'!$B$3:$AL$1000]
0
Comment
Question by:Justincut
  • 3
4 Comments
 
LVL 31

Expert Comment

by:Rob Henson
Comment Utility
Create NamedRange called for example "BS_Rec_Breaks" with refers to as:

='V:\Treasury Finance Controls\Ledger v SS Recs\Recs - Murex_GBO\2013 Recs\12_2013 Recs\BS\[Murex BS rec breaks - 041213.xlsm]Rec'!$B$3:$AL$1000


=IF(ISNA(INDEX('V:\Treasury Finance Controls\Ledger v SS Recs\Recs - Murex_GBO\2013 Recs\12_2013 Recs\BS\[Murex BS rec breaks - 041213.xlsm]Rec'!$B$3:$AL$1000

would then be

=IF(ISNA(INDEX(BS_Rec_Breaks,....

Thanks
Rob H
0
 

Author Comment

by:Justincut
Comment Utility
Hi Rob, I roll the spreadsheet everyday as its a dated file and do an Index Match on the Previous Day file so this named range would not work would it?
0
 
LVL 31

Expert Comment

by:Rob Henson
Comment Utility
I have just been trying to incorporate a means of putting together the file name as a text string so that you can then adjust the parts of it required by having the date/day part in a cell that changes and feeds into the text string. However, use of this string in the Range Name will then need the use of INDIRECT which as we have discovered is not compatible for the source book being closed.

Apologies I can't take this any further.

Thanks
Rob H
0
 
LVL 31

Accepted Solution

by:
Rob Henson earned 500 total points
Comment Utility
Just thinking, by sounds of it you have a master file which gets renamed each day which you are trying to change so that it then refers to previous day file.

I have found that if you have a destination and source file open at the same time and then do a Save As on the source file, thus changing the name, the link to the destination file also changes.

Are you able to split the section of the data that gets referred to the following day into a separate file. Alternatively setup part of the routine that exports the current days data to a separate file each day.

You would then have master rec file linked to daily data. If you have master rec and daily data open at the same time when you do the save as on the source data, the link in the master rec will change.

Not 100% sure on the logic at the minute so might need to go away and think about this.

Thanks
Rob H
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now