+ Reply to Thread
Results 1 to 3 of 3

Calculate Amounts for Specific Dates

Hybrid View

  1. #1
    bw
    Guest

    Calculate Amounts for Specific Dates

    Column A has Dates.
    Column B has corresponding Amounts

    I want to calculate the average amount for a specific given month.

    If my data has two months in September, and the Amounts for these dates are
    1.23 and 5.26 respectively, then my average for September would be
    (1.23+5.26)/2.

    So I need to calculate how many dates have September as the month, and the
    rows they are in to get the Amounts.

    Suggestions please?

    Thanks,
    Bernie



  2. #2
    Bob Phillips
    Guest

    Re: Calculate Amounts for Specific Dates

    =AVERAGE(IF(MONTH(A1:A200)=9,B1:B200)

    which is an array formula, so commit with Ctrl-Shift-Enter

    --
    HTH

    Bob Phillips

    (remove nothere from email address if mailing direct)

    "bw" <iamnu@cableone.net> wrote in message
    news:11lujockv6lg880@corp.supernews.com...
    > Column A has Dates.
    > Column B has corresponding Amounts
    >
    > I want to calculate the average amount for a specific given month.
    >
    > If my data has two months in September, and the Amounts for these dates

    are
    > 1.23 and 5.26 respectively, then my average for September would be
    > (1.23+5.26)/2.
    >
    > So I need to calculate how many dates have September as the month, and the
    > rows they are in to get the Amounts.
    >
    > Suggestions please?
    >
    > Thanks,
    > Bernie
    >
    >




  3. #3
    bw
    Guest

    Re: Calculate Amounts for Specific Dates

    Excellent!
    Thank you sir.

    Bernie


    "Bob Phillips" <bob.phillips@notheretiscali.co.uk> wrote in message
    news:OYDvDMh2FHA.3136@TK2MSFTNGP09.phx.gbl...
    > =AVERAGE(IF(MONTH(A1:A200)=9,B1:B200)
    >
    > which is an array formula, so commit with Ctrl-Shift-Enter
    >
    > --
    > HTH
    >
    > Bob Phillips
    >
    > (remove nothere from email address if mailing direct)
    >
    > "bw" <iamnu@cableone.net> wrote in message
    > news:11lujockv6lg880@corp.supernews.com...
    >> Column A has Dates.
    >> Column B has corresponding Amounts
    >>
    >> I want to calculate the average amount for a specific given month.
    >>
    >> If my data has two months in September, and the Amounts for these dates

    > are
    >> 1.23 and 5.26 respectively, then my average for September would be
    >> (1.23+5.26)/2.
    >>
    >> So I need to calculate how many dates have September as the month, and
    >> the
    >> rows they are in to get the Amounts.
    >>
    >> Suggestions please?
    >>
    >> Thanks,
    >> Bernie
    >>
    >>

    >
    >




+ 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