+ Reply to Thread
Results 1 to 6 of 6

Average

  1. #1
    Registered User
    Join Date
    09-21-2010
    Location
    California, USA
    MS-Off Ver
    Excel 2003
    Posts
    5

    Exclamation Average

    Hello i am working on building a EXCEL sheet that needs to average from multiable spots from within the spreadsheet. See example:

    This is what it looks like (example)
    a b c d
    1 ab 1 5 a
    2 ac 1 10 a
    3 aa 2 10 z
    4 af 1 15 x
    5 aq 2 0 x
    6 ap 2 5 r

    This is what i need it to look like (e=average for matching (b) numbers)
    a b c d e
    1 ab 1 5 a 10
    2 ac 1 10 a 10
    3 aa 2 10 z 5
    4 af 1 15 x 10
    5 aq 2 0 x 5
    6 ap 2 5 r 5

    Step two:

    a b c d e
    1 ab 1 5 a 10
    2 ac 1 10 a 10
    3 aa 2 10 z 5
    4 af 1 15 x 10
    5 aq 2 0 x 5
    6 ap 2 5 r 5

    (Next work sheet)

    a b
    1 1 10
    2 2 5


    Been trying different things all day but havent figured it out yet.

    Thanks, David

  2. #2
    Registered User
    Join Date
    09-21-2010
    Location
    California, USA
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: adverage assistance

    Or you could even skip (column e) and just put it all on the next work sheet like in step two. (I am sure the process is about the same non the less)

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Average

    A basic SUMIF/COUNTIF would suffice (or AVERAGEIF if you happen to have XL 2007+)

    However, based on your desired output I would suggest you just push your data into a Pivot Table - set Column B as Row Field and Column C as Data Field set to AVERAGE
    (you will need header values for each column)

  4. #4
    Registered User
    Join Date
    09-21-2010
    Location
    California, USA
    MS-Off Ver
    Excel 2003
    Posts
    5

    Smile Re: Average

    DonkeyOte,

    I wish the system had 2007 but no luck. Do you have an example of what a SUMIF/COUNTIF might look like to pull that data? I am trying to not get the sheet into a Pivot table to get the data.

    I have attached an example sheet to kind of show a simple set up of what i have
    Attached Files Attached Files

  5. #5
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: Average

    Hi Avidda,

    Find attached a pivot table of your data. I hope this works for you. They are so easy to make.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  6. #6
    Registered User
    Join Date
    09-21-2010
    Location
    California, USA
    MS-Off Ver
    Excel 2003
    Posts
    5

    Post Re: Average

    MarvinP, Thank! it was i want it to look like but i am still trying to avoid putting every thing into a pivot table. I have attached another copy of what i am looknig for but this time it works in 2007 but not in 2003. (starting to pull hair out) I am not sure why it dosent work but if any one can rework E3's function to make it work for 2003 it would get me back on track.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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