View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
elrussell
 
Posts: n/a
Default using index, match on another worksheet


After spending some time searching for instances of INDEX, MATCH, and
WORKSHEETS and not finding an example of what I need to do, I post this
question.

The excel code shown below works when placed in the same sheet as the
table. I need to place the code in another sheet. Here is the
information.

The table "assignTable" resides in the sheet named "StudentCatalog".
The data in the cells "P43" and "Q43" are on a sheet named "Main" (I
tested the code with the data in corresponding P43 and Q43 cells)

What I need to do is insert - correctly - [StudentCatalog!] throughout
the formula in the "Main" sheet and have it read the table in the
"StudentCatalog" sheet.



=INDEX(assignTable,MATCH(P43,INDEX(assignTable,,1) ,0),MATCH(Q43,INDEX(assignTable,1,),0))



I have checked many texts, tutorials, and demos. Almost all limit their
discussions to working with one sheet. Is there a general set of rules
that govern writing code within a sheet to writing within a workbook to
writing among workbooks?

Thanks in advance!


--
elrussell
------------------------------------------------------------------------
elrussell's Profile: http://www.excelforum.com/member.php...o&userid=31020
View this thread: http://www.excelforum.com/showthread...hreadid=519908