+ Reply to Thread
Results 1 to 6 of 6

SumIf

  1. #1
    Registered User
    Join Date
    02-13-2012
    Location
    Sydney Australia
    MS-Off Ver
    Excel 2010
    Posts
    3

    SumIf

    Hey guys, your forum has been an amazing help to me in the past and today i finallly decided to join.

    I have an issue with SumIf. I know how to use it based on one condition and even based on two numerical conditionals, however i can not for the life of me get it to work based on a description and a date, see below. The data is a list of account transactions over the past 6 years and i dont want to have to manually add the cells up i need. What i am looking for is the total of col C, when Col A less than 31Jan 2012 and col B has the decription PP P & F LAZARUS.

    Col A: Dates
    Col B: Descriptions
    Col C: Values

    Would also be terrific if you could help with a date range as well. Something like add Col C when date is between 1.01.11 and 01.01.12 with the description.

    I really hope this all make sense and that someone is able to assit. This has been driving me crazy!!

    Cheers
    L

  2. #2
    Registered User
    Join Date
    10-13-2011
    Location
    Topeka, Kansas
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: SumIf and my recent headache with it!!

    Try this =SUMIFS(C2:C26,A2:A26,"<1/31/2012",B2:B26,"PP P & F LAZARUS").

    Good luck!

  3. #3
    Registered User
    Join Date
    02-13-2012
    Location
    Sydney Australia
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: SumIf and my recent headache with it!!

    Hi Deliguy, nope didnt work

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,695

    Re: SumIf and my recent headache with it!!

    If you use DATE function that won't be "region specific" like 1/31/2012

    =SUMIFS(C:C,A:A,"<"&DATE(2012,1,31),B:B,"PP P & F LAZARUS")

    It may be better to use cells for the dates, e.g. if you want the sum between two dates in J2 and K2 you can use

    =SUMIFS(C:C,A:A,">="&J2,A:A,"<="&K2,B:B,"PP P & F LAZARUS")
    Audere est facere

  5. #5
    Registered User
    Join Date
    02-13-2012
    Location
    Sydney Australia
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: SumIf

    Hey Guys,

    Attached is a section of the spreadsheet. I am waiting to get a formula that i can apply to the whole spreadsheet to add the cells in column C highlighted in yellow, (they all all the same decription, which is given in column B)and between date ranges. The dates are in column A.

    Does this make sense?
    Attached Files Attached Files

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

    Re: SumIf

    Look like a wildcard "*" needed.
    C10:
    Please Login or Register  to view this content.
    C11:
    Please Login or Register  to view this content.
    Copy to C12
    Quang PT

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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