+ Reply to Thread
Results 1 to 8 of 8

Sumif help

  1. #1
    Registered User
    Join Date
    01-02-2013
    Location
    england
    MS-Off Ver
    Excel 2007
    Posts
    6

    Sumif help

    Hi,

    i need some more help.

    I have the following formula

    =SUMIF('ACCOUNT BALANCE'!A:A,"/01/2013",'ACCOUNT BALANCE'!C:C)

    the criteria i need is to search for the month and year, if i just use it like this it returns no value. is there any wild card that i can use to replace the date like ??/01/2013.

    Jonathan

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,645

    Re: Sumif help

    May be:
    =SUMIFS(C:C,MONTH(A:A),1,YEAR(A:A),2013)
    Quang PT

  3. #3
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Sumif help

    Hi jmitton

    Look into the SUMPRODUCT function.
    Regards Kevin


    Merged Cells (They are the work of the devil!!!)

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Sumif help

    If your column A contains true Excel dates try this:

    =SUMPRODUCT(--(TEXT('ACCOUNT BALANCE'!A2:A10,"mmmyyyy")="Jan2013"),'ACCOUNT BALANCE'!C2:C10)

    You should avoid using entire columns as range references with the SUMPRODUCT function.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  5. #5
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Sumif help

    You cant use the SUMIFS like that!

    Quote Originally Posted by bebo021999 View Post
    May be:
    =SUMIFS(C:C,MONTH(A:A),1,YEAR(A:A),2013)

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Sumif help

    Make a column with the formula's:

    =month(a1)
    =Year(a1)

    after that you be able to use these values in a pivot table.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  7. #7
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Sumif help

    Quote Originally Posted by bebo021999 View Post
    May be:
    =SUMIFS(C:C,MONTH(A:A),1,YEAR(A:A),2013)
    That won't work.

    With the SUMIF(S) function(s) you can only do "straight" comparisons. You can't test the range for the month or year.
    Last edited by Tony Valko; 01-05-2013 at 11:08 AM. Reason: I don't know how to spell.

  8. #8
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211

    Re: Sumif help

    Quote Originally Posted by bebo021999 View Post
    May be:
    =SUMIFS(C:C,MONTH(A:A),1,YEAR(A:A),2013)
    Try it like this:

    =SUMIFS(C:C,A:A,">=2013-1-1",A:A,"<=2013-1-31")

+ 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