Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
AAS AAS is offline
external usenet poster
 
Posts: 24
Default linking different worksheets in a workbook for a formula

two excel worksheets. Worksheet 1 includes all of the employees along with
their hourly rate. These employees can also be filtered according to their
job position. In worksheet 2 the company is broken down into different job
positions and the quantity of people in each job position..it also has their
average hourly wage. I want to link the two worksheets therefore if you add
an employee to worksheet 1, then worksheet 2's formula will also include the
newly added employee's hourly wage into the average on worksheet 2.
Thanks for any help you might have.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default linking different worksheets in a workbook for a formula

You can use COUNTIF to count the number of people in a certain job
position, such as:

=COUNTIF(Sheet1!C:C,"supervisor")

To get the average you can use:

=SUMIF(Sheet1!C:C,"supervisor",Sheet1!B:B)/COUNTIF(Sheet1!
C:C,"supervisor")

Assumes pay rate is in column B and job position is in column C in
Sheet1. The word supervisor can be replaced by acell reference on
Sheet2 which contains the job position, and then the formula can be
copied down.

Hope this helps.

Pete

On May 27, 9:36*pm, AAS wrote:
two excel worksheets. Worksheet 1 includes all of the employees along with
their hourly rate. These employees can also be filtered according to their
job position. In worksheet 2 the company is broken down into different job
positions and the quantity of people in each job position..it also has their
average hourly wage. I want to link the two worksheets therefore if you add
an employee to worksheet 1, then worksheet 2's formula will also include the
newly added employee's hourly wage into the average on worksheet 2.
Thanks for any help you might have.


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
linking worksheets to a closed workbook LLK Excel Worksheet Functions 2 May 16th 08 10:14 PM
Linking to worksheets from another workbook Ben Excel Discussion (Misc queries) 1 April 16th 08 05:14 PM
linking several worksheets to one workbook manager in training Excel Discussion (Misc queries) 3 August 1st 05 12:21 AM
linking worksheets in same workbook pilgrimage Excel Discussion (Misc queries) 1 December 14th 04 03:11 PM
Linking Data between worksheets in a workbook Terry Excel Worksheet Functions 2 November 8th 04 01:04 PM


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