Hi!
First, you need to press Ctrl+Shift+Enter and not just Enter to enter the formula. If you don't, then you will have the error #VALUE!.
Now, try this (with the layout of your last post):
In C4 (Array Formula - use Ctrl+Shift+Enter to enter the formula) and copy to the right
=INDEX(Sheet2!$A$2:$F$10,
MATCH($B$1&$B$2,Sheet2!$B$2:$B$10&Sheet2!$F$2:$F$10,0),
MATCH(C$3,Sheet2!$A$1:$F$1,0))
In B5 (Array Formula - use Ctrl+Shift+Enter to enter the formula)
=INDEX(Sheet2!$A$2:$F$10,
MATCH($B$1&$B$2,Sheet2!$B$2:$B$10&Sheet2!$F$2:$F$10,0),
MATCH(SUBSTITUTE(A$5," :",""),Sheet2!$A$1:$F$1,0))
[TABLE="class: grid, width: 1062"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD][/TD]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Site:[/TD]
[TD]DC3[/TD]
[TD][/TD]
[TD][/TD]
[TD]Sheet1[/TD]
[TD][/TD]
[TD]1[/TD]
[TD]Subnet[/TD]
[TD]Site[/TD]
[TD]vLAN ID[/TD]
[TD]Subnet Mask[/TD]
[TD]Gateway[/TD]
[TD]Network Address[/TD]
[TD]Sheet2[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Network Address:[/TD]
[TD]10.14.121.0[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]2[/TD]
[TD]10.14.177.[/TD]
[TD]DC2[/TD]
[TD="align: right"]246[/TD]
[TD="align: right"]2,55255E+11[/TD]
[TD]10.14.177.1[/TD]
[TD]10.14.177.0[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Network Details[/TD]
[TD]IP Address[/TD]
[TD]Subnet Mask[/TD]
[TD]Gateway[/TD]
[TD][/TD]
[TD][/TD]
[TD]3[/TD]
[TD]10.14.27.[/TD]
[TD]DC2[/TD]
[TD="align: right"]247[/TD]
[TD]255.255.255.0[/TD]
[TD]10.14.27.1[/TD]
[TD]10.14.27.0[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Primary IP:[/TD]
[TD]Manual Entry[/TD]
[TD]255.255.255.0[/TD]
[TD]10.14.121.3[/TD]
[TD][/TD]
[TD][/TD]
[TD]4[/TD]
[TD]10.14.121.[/TD]
[TD]DC3[/TD]
[TD="align: right"]147[/TD]
[TD]255.255.255.0[/TD]
[TD]10.14.121.3[/TD]
[TD]10.14.121.0[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]vLAN ID :[/TD]
[TD="align: right"]147[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]5[/TD]
[TD]10.14.122.[/TD]
[TD]DC3[/TD]
[TD="align: right"]149[/TD]
[TD]255.255.255.0[/TD]
[TD]10.14.122.3[/TD]
[TD]10.14.122.0[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]6[/TD]
[TD]10.16.89.[/TD]
[TD]DC3[/TD]
[TD="align: right"]693[/TD]
[TD="align: right"]2,55255E+11[/TD]
[TD]10.16.89.129[/TD]
[TD]10.16.89.128[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]7[/TD]
[TD]10.16.89.[/TD]
[TD]DC3[/TD]
[TD="align: right"]694[/TD]
[TD="align: right"]2,55255E+11[/TD]
[TD]10.16.89.193[/TD]
[TD]10.16.89.192[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]8[/TD]
[TD]10.16.88.[/TD]
[TD]DC2[/TD]
[TD="align: right"]521[/TD]
[TD="align: right"]2,55255E+11[/TD]
[TD]10.16.88.193[/TD]
[TD]10.16.88.192[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]9[/TD]
[TD]10.16.88.[/TD]
[TD]DC2[/TD]
[TD="align: right"]520[/TD]
[TD="align: right"]2,55255E+11[/TD]
[TD]10.16.88.129[/TD]
[TD]10.16.88.128[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]10[/TD]
[TD]10.16.89.[/TD]
[TD]DC2[/TD]
[TD="align: right"]522[/TD]
[TD="align: right"]2,55255E+11[/TD]
[TD]10.16.89.1[/TD]
[TD]10.16.89.0[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]11[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]***[/TD]
[TD]***************[/TD]
[TD]************[/TD]
[TD]*************[/TD]
[TD]**********[/TD]
[TD]*******[/TD]
[TD]**[/TD]
[TD]***[/TD]
[TD]**********[/TD]
[TD]*****[/TD]
[TD]*********[/TD]
[TD]*************[/TD]
[TD]***********[/TD]
[TD]****************[/TD]
[TD]********[/TD]
[/TR]
</tbody>[/TABLE]
By the way, you can use the normal formulas below too.
=INDEX(Sheet2!$A$2:$F$10,
MATCH($B$1&$B$2,INDEX(Sheet2!$B$2:$B$10&Sheet2!$F$2:$F$10,),0),
MATCH(C$3,Sheet2!$A$1:$F$1,0))
=INDEX(Sheet2!$A$2:$F$10,
MATCH($B$1&$B$2,INDEX(Sheet2!$B$2:$B$10&Sheet2!$F$2:$F$10,),0),
MATCH(SUBSTITUTE(A$5," :",""),Sheet2!$A$1:$F$1,0))
Markmzz