View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips Bob Phillips is offline
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