+ Reply to Thread
Results 1 to 7 of 7

Excel 2003 finding average with multiple spreadsheets

  1. #1
    Registered User
    Join Date
    12-24-2012
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2003
    Posts
    7

    Excel 2003 finding average with multiple spreadsheets

    Hi,

    I am currently using Excel 2003. I have a worksheet with two tabs.

    First tab has a list of bank Names.
    Second list has Bank Names and balances.

    I need to find out the the average from a Bank in the first tab, to the same bank on the second tab that reflects the balances.

    Please help.
    Last edited by dodger34; 12-26-2012 at 05:17 PM.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Excel 2003 finding average with multiple spreadsheets

    You get better result if you and an excel file without confidentional information.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    12-24-2012
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Excel 2003 finding average with multiple spreadsheets

    The worksheet I'm working from are not valid Banks. The information I have is for training purposes only.

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,705

    Re: Excel 2003 finding average with multiple spreadsheets

    Welcome to the Forum!

    You have not given enough information about how your data is organized. I think you misunderstood oeldere's suggestion. You get much better answers here if you give detailed information about what you need to do, and how your data is laid out. You can describe it, or simply attach your file as suggested by oeldere.

    I will assume that:
    Sheet1 has a list of bank names in column A and you want the average balance in column B.
    Sheet2 has a list of bank names in column A and their corresponding balances in column B, starting in row 2 after one row of headings.

    In Sheet1 column B use this formula starting in row 2 and copy down:

    =SUMIF(Sheet2!A:A,A2,Sheet2!B:B)/COUNTIF(Sheet2!A:A,A2)

    (If you were using a later version of Excel you could use AVERAGEIF, which doesn't exist for 2003.)
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  5. #5
    Registered User
    Join Date
    12-24-2012
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Excel 2003 finding average with multiple spreadsheets

    I apologoze for the confusion.

    In the first tab, I have a list of three Bank names (not valid banks).

    in the second tab, I have a list of bank names with Balances.

    what I am trying to find out is the average balance for each bank.

    attahced is the worksheet I am working on. Thank you in advance.
    Attached Files Attached Files

  6. #6
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,705

    Re: Excel 2003 finding average with multiple spreadsheets

    Your data is exactly what I guessed, and so the answer is exactly what I gave.

    In "Bank" column B use this formula starting in row 2 and copy down:

    =SUMIF(Balances!A:A,A2,Balances!B:B)/COUNTIF(Balances!A:A,A2)

    You will see that you get an error for 123 Bank. That is because you added an extra space in the name where it appears on sheet "Balances" and so no entries are found.

  7. #7
    Registered User
    Join Date
    12-24-2012
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Excel 2003 finding average with multiple spreadsheets

    Thank you, your example worked.

    I applied the smae logic to my worksheet and got the results a Iwanted. Thank you.

    =SUMIF('Data Set A'!C:C,Variables!B3,'Data Set A'!D:D)/COUNTIF('Data Set A'!C:C,Variables!B3)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1