ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Return a value based on another sheet info (https://www.excelbanter.com/excel-worksheet-functions/214052-return-value-based-another-sheet-info.html)

Majic

Return a value based on another sheet info
 
I need to create a formula that returns a value based on the value of another
column. If i enter the name in sheet 2 i need the location and position
column to auto fill with correct info.
Sheet 1 will be my data base.
Sheet 1

Name Location Position
Joe Miami Tech
Mary New York Manager
Frank LA Client

Sheet 2

Name :
Location :
Position:



Bob Phillips[_3_]

Return a value based on another sheet info
 
=VLOOKUP(B2,Sheet1!A:C,2,False)

and

=VLOOKUP(B2,Sheet1!A:C,3,False)

--
__________________________________
HTH

Bob

"Majic" wrote in message
...
I need to create a formula that returns a value based on the value of
another
column. If i enter the name in sheet 2 i need the location and position
column to auto fill with correct info.
Sheet 1 will be my data base.
Sheet 1

Name Location Position
Joe Miami Tech
Mary New York Manager
Frank LA Client

Sheet 2

Name :
Location :
Position:





T. Valko

Return a value based on another sheet info
 
Sheet1 A2:A4 = names
Sheet1 B2:B4 = locations
Sheet1 C2:C4 = positions

Sheet2:

A1 = name = Mary

Enter this formula in A2 and copy down to A3:

=VLOOKUP(A$1,Sheet1!A$2:C$4,ROWS(A$2:A2)+1,0)

--
Biff
Microsoft Excel MVP


"Majic" wrote in message
...
I need to create a formula that returns a value based on the value of
another
column. If i enter the name in sheet 2 i need the location and position
column to auto fill with correct info.
Sheet 1 will be my data base.
Sheet 1

Name Location Position
Joe Miami Tech
Mary New York Manager
Frank LA Client

Sheet 2

Name :
Location :
Position:






All times are GMT +1. The time now is 05:37 PM.

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