I have a report that I need to put together regularly from several
different data sources. I keep each data set on it's own sheet within
a workbook. To create a  single data set that I can generate a pivot
table from I usually end up using many looks-ups like this one:

=INDEX(Exchanges,MATCH($E14,ExchangeCodes,0),10)

When I need another field, I just drop in another one and change the
last number: =INDEX(Exchanges,MATCH($E14,ExchangeCodes,0),3)

To avoid errors I usually wrap these requests in an "if/iserror"
statement:
if ( iserror(INDEX(Exchanges,MATCH($E14,ExchangeCodes,0),10)) , "0",
=INDEX(Exchanges,MATCH($E14,ExchangeCodes,0),10) )

As you can imaging having several hundred of these statements is a
killer on my cpu during the constant recalcs. I've tried disabling
auto-calc but I really need the instant feedback to make sure I'm not
entering any erroneous formulas.

Does anyone know of a better, more elegant way to retrieve data from
several worksheets to create a single data table?


Thanks,
Eric

--~--~---------~--~----~------------~-------~--~----~
----------------------------------------------------------------------------------
Some important links for excel users:
1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
2. Excel tutorials at http://www.excel-macros.blogspot.com
3. Learn VBA Macros at http://www.vbamacros.blogspot.com
4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com or
Ashish Jain @ 26may.1...@gmail.com
<><><><><><><><><><><><><><><><><><><><><><>
HELP US GROW !!

We reach over 6,500 subscribers worldwide and receive many nice notes about the 
learning and support from the group. Our goal is to have 10,000 subscribers by 
the end of 2009. Let friends and co-workers know they can subscribe to group at 
http://groups.google.com/group/excel-macros/subscribe
-~----------~----~----~----~------~----~------~--~---

Reply via email to