![]() |
index / match function
Criterion
SIN 212475929 Student # =INDEX(Student,MATCH($B$2,SIN,0)) Last Name =INDEX(Last_Name,MATCH($B$2,SIN,0)) First Name =INDEX(First_Name,MATCH($B$2,SIN,0)) I have a table on another worksheet where the user will enter in the SIN # and the other information is extracted from it. I need to lookup this information using ONLY ONE formula. As you can see here I have 3 different ones. Any ideas? Lisa |
This entered with ctrl + shift & enter should give you all 3 items
=INDEX(Last_Name&" "&First_Name&" "&Student,MATCH($B$2,SIN,0)) you can switch places between the ranges -- Regards, Peo Sjoblom "Lisa" wrote in message ... Criterion SIN 212475929 Student # =INDEX(Student,MATCH($B$2,SIN,0)) Last Name =INDEX(Last_Name,MATCH($B$2,SIN,0)) First Name =INDEX(First_Name,MATCH($B$2,SIN,0)) I have a table on another worksheet where the user will enter in the SIN # and the other information is extracted from it. I need to lookup this information using ONLY ONE formula. As you can see here I have 3 different ones. Any ideas? Lisa |
Thanks,
When I enter this they appear all in the same cell?? How can I display the information in different cells? "Peo Sjoblom" wrote: This entered with ctrl + shift & enter should give you all 3 items =INDEX(Last_Name&" "&First_Name&" "&Student,MATCH($B$2,SIN,0)) you can switch places between the ranges -- Regards, Peo Sjoblom "Lisa" wrote in message ... Criterion SIN 212475929 Student # =INDEX(Student,MATCH($B$2,SIN,0)) Last Name =INDEX(Last_Name,MATCH($B$2,SIN,0)) First Name =INDEX(First_Name,MATCH($B$2,SIN,0)) I have a table on another worksheet where the user will enter in the SIN # and the other information is extracted from it. I need to lookup this information using ONLY ONE formula. As you can see here I have 3 different ones. Any ideas? Lisa |
If you use a name for all three ranges, let's call it MyTable, then select 3
cells across and use this formula (also array entered) =INDEX(MyTable,MATCH($B$2,SIN,0),COLUMN(A:C)) COLUMN(A:C) has noting to do with those particular columns, you can also use =INDEX(MyTable,MATCH($B$2,SIN,0),{1,2,3}) -- Regards, Peo Sjoblom "Lisa" wrote in message ... Thanks, When I enter this they appear all in the same cell?? How can I display the information in different cells? "Peo Sjoblom" wrote: This entered with ctrl + shift & enter should give you all 3 items =INDEX(Last_Name&" "&First_Name&" "&Student,MATCH($B$2,SIN,0)) you can switch places between the ranges -- Regards, Peo Sjoblom "Lisa" wrote in message ... Criterion SIN 212475929 Student # =INDEX(Student,MATCH($B$2,SIN,0)) Last Name =INDEX(Last_Name,MATCH($B$2,SIN,0)) First Name =INDEX(First_Name,MATCH($B$2,SIN,0)) I have a table on another worksheet where the user will enter in the SIN # and the other information is extracted from it. I need to lookup this information using ONLY ONE formula. As you can see here I have 3 different ones. Any ideas? Lisa |
All times are GMT +1. The time now is 10:24 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com