ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Indexing/Referencing (https://www.excelbanter.com/excel-worksheet-functions/5874-indexing-referencing.html)

Alan

Indexing/Referencing
 
I have a 3 colums of data with 180 entries in each that remain at a constant
throughout ... such as ID No / Surname / Foremane

I have many other sheets referencig this information and am looking for a
way that if a cell contains the data equalt to A1 then I can have excel fill
in the deatls B1,C1 as appropriate ... Ie if ID No is entered then excel will
populate adjacent cells ??

Many thanks for any suggestion

Alan

Frank Kabel

Hi
use VLOOKUP. e.g. try in B1 and C1
=IF(A1<"",VLOOKUP(A1,'data sheet'!$A$1:$C$200,2,0),"")
and
=IF(A1<"",VLOOKUP(A1,'data sheet'!$A$1:$C$200,3,0),"")

--
Regards
Frank Kabel
Frankfurt, Germany


Alan wrote:
I have a 3 colums of data with 180 entries in each that remain at a
constant throughout ... such as ID No / Surname / Foremane

I have many other sheets referencig this information and am looking
for a way that if a cell contains the data equalt to A1 then I can
have excel fill in the deatls B1,C1 as appropriate ... Ie if ID No is
entered then excel will populate adjacent cells ??

Many thanks for any suggestion

Alan




All times are GMT +1. The time now is 08:36 PM.

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