LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
AAS AAS is offline
external usenet poster
 
Posts: 24
Default averaging info from three columns

Still not quite sure what is going wrong..

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

I'm trying this formula but its not working. I'm trying to average the wages
from column G11:G97 that are Memco column C11:C97 and SMF column D11:D97




Hi,

You can use the function DAVERAGE to get the average wage of Memco,SMF
employees. I have tried it and got the same result i.e. $15.
following is pasted in columns A to E
Name1 Name2 Deptt code Wage
john doe Memco SMF $20
joe garcia $13
jessie nelson Memco SMF $10
david toms Memco SMM $9
Following criteria is given in column H to L
Name1 Name1 Deptt code Wage
Memco SMF

Now you can use the following formulae:-
=DAVERAGE(A1:E5,E1,H1:L2)
and it will give you the desired result $15.
Please let me know if this helps.

Thanks
--
Dilip Kumar Pandey
MBA, BCA, B.Com(Hons.)


New Delhi, India





In Sheet2, array-enter* something like this:
=AVERAGE(IF((Sheet1!B2:B5="Memco")*(Sheet1!C2:C5=" SMF"),Sheet1!D2:D5))
*Press CTRL+SHIFT+ENTER to confirm the formula
Adapt the ranges to suit
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik





"AAS" wrote:

i must make a formula to average a column of numbers but only the numbers
which are narrowed down from two other columns.

for example:

Production Calendar (sheet 1)

john doe Memco SMF $20
joe garcia SMH $13
jessie nelson Memco SMF $10
david toms Memco SMM $ 9


Wage Summary (sheet 2)

average wage of a Memco, SMF employee


The answer would be $15


 
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
Macro to put info into certain columns based on info in another co Studebaker Excel Discussion (Misc queries) 1 December 4th 07 05:27 PM
Can I alphabetize the info in my columns? MrsB New Users to Excel 2 September 22nd 06 09:49 PM
Averaging Columns based on a Text String Gene Haines New Users to Excel 9 September 19th 06 03:16 AM
compare columns of info john mcmichael Excel Discussion (Misc queries) 0 August 19th 05 07:17 PM
Averaging columns rhodesv New Users to Excel 1 December 16th 04 08:14 PM


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