+ Reply to Thread
Results 1 to 2 of 2

SUM a range if the DATE is in the same MONTH and YEAR, AND is from the same acount

  1. #1
    Registered User
    Join Date
    05-31-2013
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    4

    SUM a range if the DATE is in the same MONTH and YEAR, AND is from the same acount

    Hello,

    I have a table with columns 'Date', 'Account', 'Sales'.

    I need a formula that will give me the given sales for a certain month, for a certain account.

    Ive tried various SUMIFS '=SUMIF(Table1[Billing Month],(MONTH(A191)&YEAR(A191) = MONTH(Table1[Billing Month])&YEAR(Table1[Billing Month])),Table1[Net Invoice Value])'

    Ive looked at Arrays =SUM(IF(MONTH($A$2:$A$6)=1,$B$2:$B$6,0))

    And I cant figure it out!!!!

    Any help would be much appreciated

    Thanks

  2. #2
    Registered User
    Join Date
    05-31-2013
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: SUM a range if the DATE is in the same MONTH and YEAR, AND is from the same acount

    Managed to figure it out using arrays and if statements!!

    {=SUM(IF(Billing[Contract]=Template!A1,IF(MONTH(Billing[Billing Month])&YEAR(Billing[Billing Month])=MONTH(Template!A191)&YEAR(Template!A191),Billing[Net Invoice Value])))}

    hope that helps someone in the future!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Need to convert Month/Date/Year to Year/Month/Date so excel will recognize
    By juliettelam in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-25-2014, 04:17 PM
  2. Macro or Formula to create Date range by getting input of month and year
    By indianhp in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-03-2013, 11:00 AM
  3. Replies: 3
    Last Post: 09-04-2013, 10:49 AM
  4. [SOLVED] Locate month n year from range of date
    By Rao Ratan Singh in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 03-02-2006, 05:20 AM
  5. [SOLVED] [SOLVED] Locate month and year from range of date from another sheet
    By Rao Ratan Singh in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 03-01-2006, 04:00 AM

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