+ Reply to Thread
Results 1 to 3 of 3

Gathering amounts based on date for a monthly average

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    12-15-2005
    MS-Off Ver
    Office 2007
    Posts
    346

    Gathering amounts based on date for a monthly average

    I have a series of employee variances and dates for the variances in two columns.

    I have another section on the same sheet where I want to track the amount of variances & occurances for certain months.

    attached is an example of what I am looking to do.

    I appreciate any help.

    Nick
    Attached Files Attached Files
    Last edited by avidcat; 01-02-2010 at 11:25 AM.

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

    Re: Gathering amounts based on date for a monthly average

    Given use of XL2007

    E3: =COUNTIFS($A$3:$A$32,">="&$D3,$A$3:$A$32,"<"&EDATE($D3,1))
    copied down
    
    F3: =SUMIFS($B$3:$B$32,$A$3:$A$32,">="&$D3,$A$3:$A$32,"<"&EDATE($D3,1))
    copied down
    Note - neither of the above are backwards compatible with earlier versions - for earlier versions either use SUMPRODUCT or use a helper column to normalise date and revert to COUNTIF, SUMIF based around normalised date field.

    EDIT:
    just to add, I'm assuming you don't want to display all months - if you do you should just use a Pivot Table.
    Last edited by DonkeyOte; 01-02-2010 at 10:40 AM.

  3. #3
    Forum Contributor
    Join Date
    12-15-2005
    MS-Off Ver
    Office 2007
    Posts
    346

    Re: Gathering amounts based on date for a monthly average

    Thanks, worked perfect.

+ 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