+ Reply to Thread
Results 1 to 4 of 4

Sumifs Sate Formula

  1. #1
    Registered User
    Join Date
    09-28-2010
    Location
    Isle of man
    MS-Off Ver
    Excel 2007
    Posts
    7

    Angry Sumifs Sate Formula

    aaaaarrrrrrrgggggghhhhhh I hate date Forumla's!!!!!!!

    Workings Sheet:
    Column A - Provider
    B1 - June 2011

    Data Sheet:
    Column A - Duration
    Column B - Provider
    Column C- Date

    What i would like to do in cell B2 in the workings sheet, is to sum based on 2 criterias:

    Criteria one, sum by provider
    Criteria two, then by the month stated in cell b1

    The date format in the data sheet is DD/MM/YYYY and can be any day of the month.

    the forumla i have sort of come to is (not actual formula copied from excel so there may be a few ' and ! missing)
    =Sumifs('data sheet' A:A,'data sheet'B:B,'working sheet'A2,'data sheet'C:C,month('working sheet'B1))

    Yeah i could just insert a new column in the data sheet with the formula
    =Date(year(C1),month(C1),day(1)

    But i would like to keep data to a minimum and also maybe one day understand date formula.

    Any help appreciated and thanks in advace
    Last edited by nic84; 07-22-2011 at 06:34 AM. Reason: wrong formula stated

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

    Re: Sumifs Sate Formula

    aaaaarrrrrrrgggggghhhhhh I hate having to type data when I don't have to

    Please provide a sample worksheet

  3. #3
    Valued Forum Contributor
    Join Date
    05-23-2011
    Location
    Lahore PK
    MS-Off Ver
    Excel 2007, 2013
    Posts
    627

    Re: Sumifs Sate Formula

    hI nic84

    try it

    =SUM(IF('data sheet'!B:B&MONTH('data sheet'!C:C)='working sheet'!$A2&MONTH('working sheet'!$B$1),'data sheet'!A:A))

    Kindly confirm it throuh Ctrl+Shift+Enter as it is an array formula

  4. #4
    Registered User
    Join Date
    09-28-2010
    Location
    Isle of man
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Sumifs date Formula

    LOL @ arthurbr!!!

    Azam Ali its returning #value?!?

    I have attached a sample.

    Thanks
    Attached Files Attached Files
    Last edited by nic84; 07-22-2011 at 10:52 AM.

+ 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