Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=IFERROR(INDEX("Spilletider!"&O&G$1:U&G$1;MATCH($ B2;"Spilletider!"&A&G$1:D&G$1;0));0)
Without having to use INDIRECT, see if this does what you want: =IFERROR(INDEX(Spilletider!$O:$U;MATCH($B2;INDEX(S pilletider!$A:$D;G1;0);0);G1);0) -- Biff Microsoft Excel MVP "HebbeLille" wrote in message ... Hopefully somebody can tell me what's wrong with this formula: =IFERROR(INDEX("Spilletider!"&O&G$1:U&G$1;MATCH($B 2;"Spilletider!"&A&G$1:D&G$1;0));0) This one works: =IFERROR(INDEX(Spilletider!$O$2:$R$2;MATCH($B2;Spi lletider!$A$2:$D$2;0));0) but I want to replace the number 2 in $O$2, $R$2, $A$2 and $D$2 with the value from row 1. (In the example the value 2 is in cell G1 in the same tab as the formula is in, and the column shall change when the formula is copied one cell to the right, the value G should be H.) The value $B2 shall not be changed, the value here changes for each row. -- HebbeLille |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Using a changing cell reference as part of a workbook name 2 link | Excel Discussion (Misc queries) | |||
INDEX - MATCH - OFFSET By Reference | Excel Worksheet Functions | |||
Search/Match/Find ANY part of string to ANY part of Cell Value | Excel Worksheet Functions | |||
Using the result of formula as part of reference to a cell in form | Excel Worksheet Functions | |||
Index match formula works in for one worksheet reference but not another | Excel Worksheet Functions |