+ Reply to Thread
Results 1 to 8 of 8

function: average? please help!

  1. #1
    Registered User
    Join Date
    03-25-2009
    Location
    Tallinn, Estonia
    MS-Off Ver
    Excel 2007
    Posts
    4

    function: average? please help!

    do you know, if is possible to do the thing that i'm gonna explain
    if anybody can help me. please do. you can help me with my thesis research i would appreciate it.

    i have that kind of situation below. and i need to get the average of TOC for every date. is there any funcion that wud be described like: [if the date is 5-Feb-92, then the average value is the average of B2:B5] and i have a looot of dates...
    so as you can you see, i have different amount of blanks on each date..
    i hope anybody understand my situation

    Date TOC
    5-Feb-92 13,63648
    5-Feb-92 13,69421
    5-Feb-92 13,47400
    5-Feb-92 14,21543
    6-Feb-92 14,19115
    7-Apr-92 14,18500
    7-Apr-92 13,85501
    7-Apr-92 13,76435
    8-Apr-92 13,80088
    8-Apr-92 13,70850
    8-Apr-92 13,48686
    8-Apr-92 13,99183
    13-May-92 13,85537
    13-May-92 13,52359
    13-May-92 12,98419
    13-May-92 13,38265
    14-May-92 13,23984
    14-May-92 12,38365
    14-May-92 11,86240
    14-May-92 11,69354
    9-Jun-92 11,86714
    9-Jun-92 11,09365
    9-Jun-92 10,64724
    9-Jun-92 10,45633
    9-Jun-92 10,29736
    10-Jun-92 9,92010
    Last edited by laurakas; 03-25-2009 at 10:18 AM.

  2. #2
    Registered User
    Join Date
    03-25-2009
    Location
    Tallinn, Estonia
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: function: average? please help!

    i'l add little part of this excel file, if anybody is willing to download and try on any kind of function
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    03-24-2009
    Location
    New York
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: function: average? please help!

    Highlight your selected data, then go to Data > Subtotals. Under "Use function" select "average", under "At each change in" select "Date", check "Add subtotal to:" for "TOC", and check off "summary below data".

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

    Re: function: average? please help!

    Another alternative is to use a PT with Date as Row Field and TOC as Data Field set to Average.

  5. #5
    Registered User
    Join Date
    03-25-2009
    Location
    Tallinn, Estonia
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: function: average? please help!

    DonkeyOte, can you explain me more? What is PT?

  6. #6
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: function: average? please help!

    Hi,

    PT is a Pivot Table
    select a cell in your list
    Go to Data - Pivot Tables
    Follow the wizard putting date as row fields and TOC as data Field
    Next right click in data Field
    Select Field Setting
    Change the function to " average"

    BTW your attachments is an xlsx file but you use XL2003??

  7. #7
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    Re: function: average? please help!

    try this!

    I added a pivot table
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    03-25-2009
    Location
    Tallinn, Estonia
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: function: average? please help!

    thanks you all. It helped me a lot..
    but now i have another problem ater solving this one:
    A-column i have all the dates from the calender since 1992
    B column - precipitation for every day.
    then the data i just made the averages of
    C column - date for TOC
    D column - TOC average of the dates that i just figured out with your help
    i add xlsx as well...

    and now i need to calculate the SUM of precipitation for each "date for TOC". and the SUM of precipitation has to be 10 days before the "date for TOC"
    for example:
    1st data for TOC is taken 1992-02-05. then the sumof precipitation has to be from 1992-01-27 till 1992-02-05.

    You think it's possible?

    PS! Yes i actually use excel2007, when i registered, i didnt recognise to change it, and now "my account" here in the forum doesnt open..
    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)

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