+ Reply to Thread
Results 1 to 6 of 6

=sumif combining Date, Text & Value for results table

  1. #1
    Registered User
    Join Date
    02-18-2014
    Location
    Tennessee, USA
    MS-Off Ver
    Excel 2010
    Posts
    25

    =sumif combining Date, Text & Value for results table

    So, I've managed to get the sumif to work, using cells matching to total the sum up, but I can't seem to get it to work, so I can separate by months.

    Then I can just punch in the date, the amount and using a drop down, choose the reason, and it will work it out on the right hand side.

    The formula I currently have is '=SUMIF(D:D,"*"&H2&"*",C:C)' [H2, I2, ... is the reason to match column D, the values I have in column C, ignore the notes]

    is there a way to tweak the formula to separate based on date too?

    Example.PNG
    Attached Files Attached Files
    Last edited by peejaygee; 12-10-2019 at 11:05 AM.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Excel 2007
    Posts
    19,573

    Re: =sumif combining Date, Text & Value for results table

    If you want to introduce more conditions, you will need to use SUMIFS, which has a different syntax to SUMIF. Alternatively, you could use SUMPRODUCT.

    I can't recommend a specific solution to you, though, as I can hardly see any details on your screenshot. It would be better to attach a sample Excel workbook - follow the instructions given in the yellow banner at the top of the screen.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    02-18-2014
    Location
    Tennessee, USA
    MS-Off Ver
    Excel 2010
    Posts
    25

    Re: =sumif combining Date, Text & Value for results table

    That was the thing, I tried to put in a attachment and the attachment drop down didn't give me the choice to add a file (using Chrome) , so I just added a picture.

    I've tried to enlarge the attachment of the data, and I've included the picture of the 'attachment' drop down I don't get. Hopefully these will look bigger and I've also included the attachment.

    Attachment 653394

    Attachment 653395

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Excel 2007
    Posts
    19,573

    Re: =sumif combining Date, Text & Value for results table

    You can use this formula in cell H3:

    =SUMIFS($C:$C,$D:$D,"*"&H$2&"*",$A:$A,MONTH($G3))

    then you can copy this across and down as required.

    Hope this helps.

    Pete

  5. #5
    Registered User
    Join Date
    02-18-2014
    Location
    Tennessee, USA
    MS-Off Ver
    Excel 2010
    Posts
    25

    Re: =sumif combining Date, Text & Value for results table

    Pete, thanks for that, yeah, got that working all the way down.

    Based on your example, I also added in another couple of columns, and added the year too, with ,$B:$B,YEAR($H3)) and it works.

    Again, thanks.

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Excel 2007
    Posts
    19,573

    Re: =sumif combining Date, Text & Value for results table

    Glad to hear it.

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark the thread as SOLVED.

    You might also like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

+ 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. Replies: 0
    Last Post: 02-11-2017, 05:56 AM
  2. [SOLVED] Combining columns in pivot table results.
    By Mr. H2 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 01-04-2017, 11:37 AM
  3. [SOLVED] SUMIF or SUMIFS to find text and date between from items in a table
    By Beefy1 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-19-2014, 10:38 PM
  4. SUMIF Function but with text results and variables
    By billyshears in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-16-2013, 10:58 AM
  5. Combining Pivot Table Text
    By gbrad22 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 12-13-2011, 11:43 AM
  6. Combining Date and Text
    By eckert1961 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-19-2008, 10:18 AM
  7. Replies: 0
    Last Post: 08-23-2005, 03:36 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