Forum Discussion
najim_uddin
Sep 24, 2022Copper Contributor
Index Match From another Sheet
Hello, I have attached a file where I have to bring some cell value from another sheet using Index/Match Function. Can anyone help me regarding this! Thanks in Advance!
- Sep 24, 2022
najim_uddin Try following formula and drag down and across as needed.
=INDEX(Data!$B:$D,MATCH($B9,Data!$A:$A,0),COLUMN(A$1))
Harun24HR
Sep 24, 2022Bronze Contributor
najim_uddin Try following formula and drag down and across as needed.
=INDEX(Data!$B:$D,MATCH($B9,Data!$A:$A,0),COLUMN(A$1))
- najim_uddinSep 24, 2022Copper ContributorThanks Harun24HR, it works but can you please explain why you added COLUMN(A$1), in the last? I tried several times without COLUMN(A$1).
- Harun24HRSep 24, 2022Bronze ContributorI have added COLUMN(A$1) to make column reference dynamic for INDEX() function so that you can just drag the formula for right columns. You can use =INDEX(Data!$B:$B,MATCH($B9,Data!$A:$A,0)) without COLUMN(A$1) but in this case you have to use 3 formula for 3 different column like, =INDEX(Data!$B:$B,MATCH($B9,Data!$A:$A,0)), =INDEX(Data!$C:$C,MATCH($B9,Data!$A:$A,0)), =INDEX(Data!$D:$D,MATCH($B9,Data!$A:$A,0))
- GPoobahFeb 14, 2023Copper ContributorMany thx for posting that. It was a big help!