+ Reply to Thread
Results 1 to 5 of 5

Multiple Sum Formula With Multiple Constraints

  1. #1
    Registered User
    Join Date
    02-17-2010
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    13

    Multiple Sum Formula With Multiple Constraints

    Hi all, just wondering if anyone has a good idea to solve this problem. I have listed data below for purposes of the formula:

    HTML Code: 
    How do I get the data above, into a spreadsheet like the one below? I have tried If/Than Statements with no luck. I need to total the amount of invoices during a specific month for a specific customer.


    HTML Code: 
    Attached Files Attached Files
    Last edited by sandz23; 02-17-2010 at 06:30 PM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Multiple Sum Formula With Multiple Constraints

    Given use of XL2007, see SUMIFS function in XL Help.

    If you have Jan, Feb in your headers you can obtain the month number either by conducting a COLUMNS($JanColumn:currentcolumn) or by using MONTH(1&headercell) ... either way the numeric result (1-12) can be compared to Invoice Month Column.

    If you need more specific assistance I would suggest posting a sample workbook such that ranges are clearly identified etc...

  3. #3
    Registered User
    Join Date
    02-17-2010
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: Multiple Sum Formula With Multiple Constraints

    I just attached the excel workbook if that is any help.

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Multiple Sum Formula With Multiple Constraints

    Assuming you intend to keep the 1,2,3 etc in row 1

    G5: =SUMIFS($C$5:$C$20,$A$5:$A$20,$F5,$B$5:$B$20,G$1)
    applied across matrix

  5. #5
    Registered User
    Join Date
    02-17-2010
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: Multiple Sum Formula With Multiple Constraints

    Wow that works great! Thanks!

+ 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