Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default 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:


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default 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:




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default 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:




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Return info based on 1 criteria John Moore Excel Discussion (Misc queries) 5 September 17th 08 01:02 PM
Enter info in one sheet, auto enter in another based on one field The BusyHighLighter[_2_] New Users to Excel 1 August 1st 07 10:54 PM
varying validation info based on preceding info georgejl Excel Discussion (Misc queries) 1 November 9th 06 10:31 PM
Return info based on Date Range kermitforney Excel Worksheet Functions 3 July 11th 06 07:59 PM
Set color of cell based on info on another sheet? 43fan Excel Worksheet Functions 2 December 13th 05 07:53 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"