+ Reply to Thread
Results 1 to 7 of 7

Calculating sum based multiple conditions

Hybrid View

  1. #1
    Registered User
    Join Date
    01-13-2015
    Location
    WI
    MS-Off Ver
    Office 2013
    Posts
    46

    Calculating sum based multiple conditions

    I would like the total of the Wait time columns to be shown in column AO. I tried a simple addition formula, but it doesn't work because of all the conditions. Can you help me?
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Calculating sum based multiple conditions

    Try this, copied down...
    =SUMIF($B$1:$AN$1,"Wait Time",$B2:$AN2)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Valued Forum Contributor nigelbloomy's Avatar
    Join Date
    11-06-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    1,011

    Re: Calculating sum based multiple conditions

    Try this instead. It will ignore the "" values you have that are messing up the sum function.
    =AGGREGATE(9,6,G2,J2,M2,P2,S2,V2,Y2,AB2,AE2)
    Some people volunteer in soup kitchens or hospitals. I choose to make the world better by trying to help you with Excel. We're all learning.

    <---Click * Add Reputation for all helpful comments. It's like giving a smile.
    Forum Rules: How to mark your post [Solved] and have a happier, Excel enriched life.

  4. #4
    Valued Forum Contributor nigelbloomy's Avatar
    Join Date
    11-06-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    1,011

    Re: Calculating sum based multiple conditions

    @FDibbins I forget how nice the sumif function is. It works perfectly and makes more sense.

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Calculating sum based multiple conditions

    yes, it if a useful function to try 1st
    Thanks for the feedback

  6. #6
    Registered User
    Join Date
    01-13-2015
    Location
    WI
    MS-Off Ver
    Office 2013
    Posts
    46

    Re: Calculating sum based multiple conditions

    You both rock. Thanks. It works great. SOLVED

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Calculating sum based multiple conditions

    Happy to help

+ 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. Calculating SUM based on certain conditions
    By Katiee in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-17-2014, 07:18 AM
  2. Calculating Percentages Based on Conditions
    By newbieexceldude in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-19-2011, 08:05 PM
  3. Calculating averages based on conditions
    By nmitch59 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-05-2009, 04:20 AM
  4. Calculating totals based off of conditions
    By Mindtrap in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-10-2007, 01:41 PM
  5. calculating Averages based upon conditions
    By Kfetterman1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-27-2006, 11:24 AM

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