Results 1 to 9 of 9

Thread: [RESOLVED] Excel Weird Average Question

  1. #1

    Thread Starter
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,109

    Resolved [RESOLVED] Excel Weird Average Question

    I've almost put this together, but figured I'd ask here. It's mostly just a set of functions, most likely.

    I have a spreadsheet that has these columns:

    Month, Unimportant,Year,Blah,Blah,Blah,Target

    What I'm trying to do is average Target for every month/year combination.

    AverageIf gets me close, but I don't know what to put into the criteria, or if this isn't the right approach.

    Any suggestions?
    My usual boring signature: Nothing

  2. #2
    PowerPoster Arnoutdv's Avatar
    Join Date
    Oct 2013
    Posts
    6,747

    Re: Excel Weird Average Question

    Use a pivot table?

  3. #3
    Fanatic Member
    Join Date
    Jul 2022
    Location
    Buford, Ga USA
    Posts
    631

    Re: Excel Weird Average Question

    Okay, I'll bite. Is the question weird or just average?

  4. #4

    Thread Starter
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,109

    Re: Excel Weird Average Question

    Quote Originally Posted by jdelano View Post
    Okay, I'll bite. Is the question weird or just average?
    Neither, it's the subject line. I couldn't think of what to put there that would be useful.
    My usual boring signature: Nothing

  5. #5

    Thread Starter
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,109

    Re: Excel Weird Average Question

    Quote Originally Posted by Arnoutdv View Post
    Use a pivot table?
    I was going to say that I couldn't, but now that I think more about it, I realize that I was confusing two different projects. That might very well work.

    I haven't used Excel very much in many years, and I really haven't used pivot tables much, but the ultimate goal is to be able to create a line graph of the average for each month, where the month and year are in two separate columns. The graph is the goal, but the pivot table would create the data for the graph.
    My usual boring signature: Nothing

  6. #6
    Fanatic Member
    Join Date
    Jul 2022
    Location
    Buford, Ga USA
    Posts
    631

    Re: Excel Weird Average Question

    Quote Originally Posted by Shaggy Hiker View Post
    Neither, it's the subject line. I couldn't think of what to put there that would be useful.
    hehehe

  7. #7
    PowerPoster Zvoni's Avatar
    Join Date
    Sep 2012
    Location
    To the moon and then left
    Posts
    5,268

    Re: Excel Weird Average Question

    Quote Originally Posted by Shaggy Hiker View Post
    I've almost put this together, but figured I'd ask here. It's mostly just a set of functions, most likely.

    I have a spreadsheet that has these columns:

    Month, Unimportant,Year,Blah,Blah,Blah,Target

    What I'm trying to do is average Target for every month/year combination.

    AverageIf gets me close, but I don't know what to put into the criteria, or if this isn't the right approach.

    Any suggestions?
    You got any (Bogus?) Data to illustrate?
    Last edited by Zvoni; Tomorrow at 31:69 PM.
    ----------------------------------------------------------------------------------------

    One System to rule them all, One Code to find them,
    One IDE to bring them all, and to the Framework bind them,
    in the Land of Redmond, where the Windows lie
    ---------------------------------------------------------------------------------
    People call me crazy because i'm jumping out of perfectly fine airplanes.
    ---------------------------------------------------------------------------------
    Code is like a joke: If you have to explain it, it's bad

  8. #8

    Thread Starter
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,109

    Re: Excel Weird Average Question

    Month Day Year OtherColumn ColumnToAverage
    1 1 2000 Stuff 7
    1 2 2000 Stuff 8
    1 3 2000 Stuff 5
    ...
    2 1 2000 Stuff 2
    2 2 2000 Stuff 6
    2 3 2000 Stuff 11



    That's roughly how it's laid out. Day is being ignored, the objective is to come up with a single value (the average of that last column) for each month/year combination.
    My usual boring signature: Nothing

  9. #9

    Thread Starter
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,109

    Re: [RESOLVED] Excel Weird Average Question

    The pivot table did the job.
    My usual boring signature: Nothing

Posting Permissions

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



Click Here to Expand Forum to Full Width