![]() |
#1
|
|||
|
|||
![]() I have a work book that looks at usage. There are two sheets. Sheet 1 contains usage data for 1 month. Sheet 2 contains usage data with no restrictions. The data is generated by a data connection to an Oracle database. Here is what I am trying to accomplish..... On sheets 1 and 2 there is a Nomenclature Key. For each key that is on sheet 1 there will be a coresponding key on sheet 2. For each time the key appears on sheet 2 I want to get the average of the total quantites. I have attached a small sample of my sheet and what I am trying to accomplish. |
#2
|
||||
|
||||
![]()
So for C3 in your sample, you want a formula that does this:
1) Checks the nomenclature key in B3 (that's 243, in this case) 2) Finds all the rows in Sheet2 that have that nomenclature key in col A 3) Displays the average of the corresponding values in col B Right? Seems to me you want COUNTIF and SUMIF. No, wait, I just looked it up; Excel now has an AVERAGEIF function, so it's even simpler. I've never used it, but according to the documentation it should go like this: Code:
=AVERAGEIF(Sheet2!A:A,B3,Sheet2!B:B) |
#3
|
|||
|
|||
![]()
Thank you very much. The Formula works exactly as I need it to. However, I asked the wrong question.....
Thats how it usually works for me. There will be a new post with the updated questions. Thanks again. |
#4
|
||||
|
||||
![]()
LOL! It often happens that way; once I see the answer, I realize I asked the wrong question. Well, someone will be here.
|
![]() |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Column Chart Average | blaqsheep | Excel | 0 | 02-07-2012 07:04 PM |
Average minus outliers? | markg2 | Excel | 2 | 01-07-2012 05:46 PM |
Linking sheets to fetch transactions from sheets to another | waqer | Excel | 4 | 09-01-2011 12:35 PM |
'AVERAGE' Formula | nfphilpot | Excel | 3 | 11-24-2010 02:19 PM |
![]() |
speedycorn1 | Excel | 1 | 10-30-2010 07:54 PM |