Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How do I populate a cell with data from a cell in another workshe.

I have one worksheet with a column containing employee names. The names are
listed multiple times in this worksheet:
File # Name Salary
1234 Joe Smith
1234 Joe Smith
1456 Anna Lee
1456 Anna Lee
1456 Anna Lee
I have another worksheet with the employee's name and salary amount:
File # Name Salary
1234 Joe Smith 45000.00
1456 Anna Lee 32000.00
I want to populate the cells in the salary column in the 1st worksheet with
the salary amounts from the second worksheet. How do I do this?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default How do I populate a cell with data from a cell in another workshe.

Put this in C2:
=vlookup(b2,'anothersheet'!b:c,2,false)
and drag down as far as you need.



holtzy24 wrote:

I have one worksheet with a column containing employee names. The names are
listed multiple times in this worksheet:
File # Name Salary
1234 Joe Smith
1234 Joe Smith
1456 Anna Lee
1456 Anna Lee
1456 Anna Lee
I have another worksheet with the employee's name and salary amount:
File # Name Salary
1234 Joe Smith 45000.00
1456 Anna Lee 32000.00
I want to populate the cells in the salary column in the 1st worksheet with
the salary amounts from the second worksheet. How do I do this?


--

Dave Peterson
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
Auto Populate Data from cell to another sell in differant sheets KrazyAmg Excel Discussion (Misc queries) 5 October 12th 07 07:54 PM
How to addthe last cell in the last column across multiple workshe djc Excel Worksheet Functions 0 April 26th 06 05:48 PM
how do I populate a cell with data from another worksheet, deniseh Excel Discussion (Misc queries) 3 October 4th 05 07:00 PM
how do I populate a cell with data from another worksheet, deniseh Excel Discussion (Misc queries) 0 October 4th 05 02:34 PM
How can I populate an Excel cell based on the data in another cell JerseyBoy Excel Worksheet Functions 3 September 30th 05 03:53 PM


All times are GMT +1. The time now is 12:42 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"