[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

ISNA(Index

Posted on 2011-09-15
2
Medium Priority
?
224 Views
Last Modified: 2012-06-27
Experts,
I have run across a spreadsheet that uses the Isna(Index function. I'm not familiar with this function and was wondering if a vlookup could be used in place of? Here's an example:

=IF(ISNA(INDEX('C:\Users\ffreese\AppData\Local\Microsoft\Windows\Temporary Internet Files\OLK1FC4\[Summary.xls]MS AUG'!$A$1:$G$1000,MATCH($A5,'C:\Users\ffreese\AppData\Local\Microsoft\Windows\Temporary Internet Files\OLK1FC4\[Summary.xls]MS AUG'!$A$1:$A$1000,),MATCH($A$1,'C:\Users\ffreese\AppData\Local\Microsoft\Windows\Temporary Internet Files\OLK1FC4\[Summary.xls]MS AUG'!$A$1:$G$1,))),0,INDEX('C:\Users\ffreese\AppData\Local\Microsoft\Windows\Temporary Internet Files\OLK1FC4\[Summary.xls]MS AUG'!$A$1:$G$1000,MATCH($A5,'C:\Users\ffreese\AppData\Local\Microsoft\Windows\Temporary Internet Files\OLK1FC4\[Summary.xls]MS AUG'!$A$1:$A$1000,),MATCH($A$1,'C:\Users\ffreese\AppData\Local\Microsoft\Windows\Temporary Internet Files\OLK1FC4\[Summary.xls]MS AUG'!$A$1:$G$1,))*-1)+'#21TL'!L5

This just looks like too much work
0
Comment
Question by:Frank Freese
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 33

Accepted Solution

by:
Rob Henson earned 2000 total points
ID: 36544295
The majority of the text in that formula is the file path for a linked file.

The other reason for the lengthy text is becuase of the lack of a better error evaluation formula in xl2003.

The formula is saying IF the results of the formula give an NA error then zero else do the formula.

xl2007 has got round this with the IFERROR function, you only need to specify the formula once and the value if an error.

I have just had a similar question answered that was in fact the other way round. I had literally tens of thousands of vlookup formulae in a workbook creating a cost model for an 18 month weekly forecast. The filesize is 16Mb and it was taking at least 1 minute to recalculate.

I have now changed the lookups for INDEX using MATCH to identify the row and the calculation time isn't even noticeable.

INDEX does basically the same as a lookup:

=INDEX(Array,Row,Column)

Array - block of data same as would use for lookup
Row - the row within the array that the data to be found is on
Column - Offset like lookup

I have replaced the Row with a MATCH formula to identify the row number from the column which would normally have been used for a lookup and then column is variable.

HTH
Rob H
0
 

Author Closing Comment

by:Frank Freese
ID: 36544328
thanks
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

649 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