+ Reply to Thread
Results 1 to 3 of 3

Formula to calculate sum of column whose order changes from month to month

  1. #1
    Registered User
    Join Date
    09-10-2017
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    63

    Formula to calculate sum of column whose order changes from month to month

    Hi All

    I am looking for help with a formula. I have attached my spreadsheet for better explanation of what I'd like to do.

    On the 'Excel Reporting Templates' tab, I would like to calculate the totals for B43 and B44 as follows.

    B43 = The sum of 3rd Party Host Connection Problem + Invalid Input File in 'B' column. The values for each of these is pulled from a monthly sheet, i.e. January Source Data and is updated each month.

    B44 = The sum of all other 'Category' values excluding the two I mentioned above, i.e. Deployment Errors + TokenEx Upload/Download Errors, etc...

    The problem I am having is that I need to be able to reorder the 'Category' in column A, sorting from smallest to largest value in column B so that it appears that way on a seperate graph. The order will theoretically change each month, so my attempt at simply getting the sum of two fixed columns does not work when I reorder the data.

    I hope that I am being clear with the request. Any help is always appreciated.
    Attached Files Attached Files

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Formula to calculate sum of column whose order changes from month to month

    SUMIFS to the rescue!

    =SUMIFS($B$32:$B$40,$A$32:$A$40,"3rd Party Host Connection Problem")+SUMIFS($B$32:$B$40,$A$32:$A$40,"Invalid Input File")

    With SUMIFS, it doesn't matter where these two categories wind up. As long as they are in the rnage A32:A40 - you can get the total and subtract this figure to get All Others.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Registered User
    Join Date
    09-10-2017
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    63

    Re: Formula to calculate sum of column whose order changes from month to month

    Thanks @DFLAK for the quick response. That formula is perfect and exactly what I needed!

    Your help is much appreciated!

+ 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. [SOLVED] Additional Scenario in formula to calculate value of column at End of Month
    By nimv1 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-19-2018, 05:57 PM
  2. [SOLVED] Formula to calculate value of column at End of Month
    By nimv1 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-11-2018, 05:18 PM
  3. [SOLVED] Calculate a YTD Total based on Reporting Month and Week of Month via drop down selections
    By Miskondukt in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-02-2018, 05:14 PM
  4. [SOLVED] Formula for the number of Wednesdays in a month with Month as Column Heading (mmm)
    By roxdrob01 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-01-2018, 12:18 AM
  5. Macro to calculate Month to year sales based on month selection
    By chandu356 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-14-2017, 09:58 AM
  6. Need Formula to Calculate Sale Month Back to Production Month
    By Newbie403 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-13-2015, 05:28 PM
  7. Replies: 1
    Last Post: 12-09-2012, 06:01 PM

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