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 averaging from another page

I am trying to average certain employees from worksheet 1 into a formula on
worksheet 2. I must be able to specify which employees to only average from.
If another person is added to worksheet 1 i would like worksheet 2 to also
portray the change.
example

worksheet 1
John Doe plumber 10
Jerry Jones technician 12
Tom Tanner electrician 15
Luis Rodriguez plumber 20
Joe Daniels electrician 10


worksheet 2
average wage rate for plumbers $15
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default averaging from another page

One way:

=Sumif(B1:b5,"plumber",C1:C5)/Countif(B1:B5,"plumber)
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"AAS" wrote in message
...
I am trying to average certain employees from worksheet 1 into a formula on
worksheet 2. I must be able to specify which employees to only average
from.
If another person is added to worksheet 1 i would like worksheet 2 to also
portray the change.
example

worksheet 1
John Doe plumber 10
Jerry Jones technician 12
Tom Tanner electrician 15
Luis Rodriguez plumber 20
Joe Daniels electrician 10


worksheet 2
average wage rate for plumbers $15



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default averaging from another page

=AVERAGE(IF(Sheet1!B1:B100="plumber",Sheet1!C1:C10 0))

which is an array formula, so commit with Ctrl-Shift-Enter

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"AAS" wrote in message
...
I am trying to average certain employees from worksheet 1 into a formula on
worksheet 2. I must be able to specify which employees to only average
from.
If another person is added to worksheet 1 i would like worksheet 2 to also
portray the change.
example

worksheet 1
John Doe plumber 10
Jerry Jones technician 12
Tom Tanner electrician 15
Luis Rodriguez plumber 20
Joe Daniels electrician 10


worksheet 2
average wage rate for plumbers $15



  #4   Report Post  
Posted to microsoft.public.excel.misc
AAS AAS is offline
external usenet poster
 
Posts: 24
Default averaging from another page

=AVERAGE(IF('Production Calendar'!D11:D97="SMF",'Production
Calendar'!G11:G97))

this is the exact formula i have been using. i do not know where it is going
wrong.


Production Calendar

John Doe SMF 10
Jerry Jones TC 12
Tom Tanner EC 15
Luis Rodriguez SMF 20
Joe Daniels EC 10


Wage Summary

average hourly wage rate for smf $15









"AAS" wrote:

I am trying to average certain employees from worksheet 1 into a formula on
worksheet 2. I must be able to specify which employees to only average from.
If another person is added to worksheet 1 i would like worksheet 2 to also
portray the change.
example

worksheet 1
John Doe plumber 10
Jerry Jones technician 12
Tom Tanner electrician 15
Luis Rodriguez plumber 20
Joe Daniels electrician 10


worksheet 2
average wage rate for plumbers $15

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default averaging from another page

Did you array enter it?

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"AAS" wrote in message
...
=AVERAGE(IF('Production Calendar'!D11:D97="SMF",'Production
Calendar'!G11:G97))

this is the exact formula i have been using. i do not know where it is
going
wrong.


Production Calendar

John Doe SMF 10
Jerry Jones TC 12
Tom Tanner EC 15
Luis Rodriguez SMF 20
Joe Daniels EC 10


Wage Summary

average hourly wage rate for smf $15









"AAS" wrote:

I am trying to average certain employees from worksheet 1 into a formula
on
worksheet 2. I must be able to specify which employees to only average
from.
If another person is added to worksheet 1 i would like worksheet 2 to
also
portray the change.
example

worksheet 1
John Doe plumber 10
Jerry Jones technician 12
Tom Tanner electrician 15
Luis Rodriguez plumber 20
Joe Daniels electrician 10


worksheet 2
average wage rate for plumbers $15





  #6   Report Post  
Posted to microsoft.public.excel.misc
AAS AAS is offline
external usenet poster
 
Posts: 24
Default averaging from another page

yea i did i just had to tweek it a little bit. Thanks for all the advice Bob.
Now I'm working on another problem

"Bob Phillips" wrote:

Did you array enter it?

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"AAS" wrote in message
...
=AVERAGE(IF('Production Calendar'!D11:D97="SMF",'Production
Calendar'!G11:G97))

this is the exact formula i have been using. i do not know where it is
going
wrong.


Production Calendar

John Doe SMF 10
Jerry Jones TC 12
Tom Tanner EC 15
Luis Rodriguez SMF 20
Joe Daniels EC 10


Wage Summary

average hourly wage rate for smf $15









"AAS" wrote:

I am trying to average certain employees from worksheet 1 into a formula
on
worksheet 2. I must be able to specify which employees to only average
from.
If another person is added to worksheet 1 i would like worksheet 2 to
also
portray the change.
example

worksheet 1
John Doe plumber 10
Jerry Jones technician 12
Tom Tanner electrician 15
Luis Rodriguez plumber 20
Joe Daniels electrician 10


worksheet 2
average wage rate for plumbers $15




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
Averaging elusiverunner Excel Discussion (Misc queries) 4 December 3rd 06 07:15 PM
Help with averaging... lherndo Excel Discussion (Misc queries) 2 April 5th 06 02:54 PM
Averaging waterwayz Excel Discussion (Misc queries) 5 July 11th 05 04:09 PM
Averaging GWit Excel Discussion (Misc queries) 1 May 29th 05 02:46 AM
Averaging again Reggie Excel Worksheet Functions 3 December 30th 04 07:40 AM


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