#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 74
Default Lookup on worksheet

I am building a workbook that has one "master" worksheet. This shows total
hours for various employees, and the first column will be their employee
number.
I will then have individual worksheets for each employee. The worksheet
name will be their employee number, and each person goes into his/her own
sheet to update their hours worked by each day, which will then be totaled
for the entire month.

I want the main worksheet to lookup the total hours for each employee, based
on what is on their individual worksheet. Can I set up VLOOKUP (or another
function) to accomplish this? The sheet name used in the VLOOKUP formula
would have to be each persons' employee number.

Thank you
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Lookup on worksheet

You could use INDIRECT
In your master sheet,
Assuming the employee nums (indiv. sheetnames) are listed in B1 across
you could use this in B2:
=VLOOKUP($A2,INDIRECT("'"&B$1&"'!A:B"),2,0)
with B2 then copied across/filled down as required
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:25,000 Files:370 Subscribers:68
xdemechanik
---
"richzip" wrote:
I am building a workbook that has one "master" worksheet. This shows total
hours for various employees, and the first column will be their employee
number.
I will then have individual worksheets for each employee. The worksheet
name will be their employee number, and each person goes into his/her own
sheet to update their hours worked by each day, which will then be totaled
for the entire month.

I want the main worksheet to lookup the total hours for each employee, based
on what is on their individual worksheet. Can I set up VLOOKUP (or another
function) to accomplish this? The sheet name used in the VLOOKUP formula
would have to be each persons' employee number.

Thank you

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
Lookup on worksheet richzip Excel Discussion (Misc queries) 0 April 20th 09 10:51 PM
How do I lookup a worksheet name in excel? RJL007 Excel Worksheet Functions 2 May 30th 08 02:29 AM
lookup for worksheet Bradrok Excel Worksheet Functions 1 April 2nd 08 11:04 PM
multiple worksheet lookup? spirosu Excel Discussion (Misc queries) 1 March 2nd 06 05:13 PM
Worksheet lookup Greg B Excel Discussion (Misc queries) 2 August 4th 05 12:47 PM


All times are GMT +1. The time now is 01:45 PM.

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

About Us

"It's about Microsoft Excel"