ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Indirect/match formula - array (https://www.excelbanter.com/excel-worksheet-functions/238276-indirect-match-formula-array.html)

al

Indirect/match formula - array
 
{=INDEX(PAYECalc!F$1:F$300,MATCH(1,(PAYECalc!$A$1: $A$300=$A24)*
(PAYECalc!$C$1:$C$300=$C24),0))}

Would like to replace the above array formula with the formula below
using "indirect" where cell F1 contains the sheet name "PAYECalc" -
but get an error message

{=INDEX(INDIRECT(F$1&"!F$1:F$300",MATCH(1,(INDIREC T(F$1&"!$A$1:$A$300=
$A24")*
(INDIRECT(F$1&"!$C$1:$C$300=$C24"),0)))}

Could someone correct my alternative formula pls

thxs

smartin

Indirect/match formula - array
 
al wrote:
{=INDEX(PAYECalc!F$1:F$300,MATCH(1,(PAYECalc!$A$1: $A$300=$A24)*
(PAYECalc!$C$1:$C$300=$C24),0))}

Would like to replace the above array formula with the formula below
using "indirect" where cell F1 contains the sheet name "PAYECalc" -
but get an error message

{=INDEX(INDIRECT(F$1&"!F$1:F$300",MATCH(1,(INDIREC T(F$1&"!$A$1:$A$300=
$A24")*
(INDIRECT(F$1&"!$C$1:$C$300=$C24"),0)))}

Could someone correct my alternative formula pls

thxs


Looks like misplaced quotes and parens. Try this:

=INDEX(INDIRECT(F$1&"!F$1:F$300"),
MATCH(1,(INDIRECT(F$1&"!$A$1:$A$300")=$A24)*
(INDIRECT(F$1&"!$C$1:$C$300")=$C24),0))


All times are GMT +1. The time now is 06:49 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com