+ Reply to Thread
Results 1 to 3 of 3

Summing values in a row depending on certain conditions being met.

  1. #1
    Registered User
    Join Date
    08-31-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    38

    Summing values in a row depending on certain conditions being met.

    Have a table that will contain 28 columns of data. Each column will have an “Alpha” and a “Numeric” value at the top of it.

    Need to calculate various sums on each row depending on the “Alpha” and or “Numeric” value.

    Firstly sum all the values in row 5 that have a corresponding “Numeric” value of 1. The “Alpha” and or “Numeric” values will not necessarily be in any sequential order.

    Next when the “Numeric” value is 1 or 2 I need to sum the maximum values for each “Alpha”

    Finally sum the two highest values for each “Alpha”

    Hope the attached example makes what I want clearer.

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,705

    Re: Summing values in a row depending on certain conditions being met.

    For your first issue, try this formula

    =SUMIF($B$3:$AC$3,1,$B$5:$AC$5)

    Still working on part two.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,939

    Re: Summing values in a row depending on certain conditions being met.

    see the attached file
    Attached Files Attached Files

+ 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] Summing values under conditions
    By midoo77 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-14-2013, 09:24 PM
  2. Replies: 2
    Last Post: 08-22-2012, 04:24 PM
  3. Summing values based on conditions
    By juliorevka in forum Excel General
    Replies: 1
    Last Post: 02-16-2012, 04:16 PM
  4. summing values using specific conditions
    By elecengr in forum Excel General
    Replies: 9
    Last Post: 02-02-2009, 09:35 PM
  5. Summing values if conditions are true
    By mike camburn in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-12-2005, 05:45 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