+ Reply to Thread
Results 1 to 4 of 4

Summing according to conditions

  1. #1
    Forum Contributor
    Join Date
    02-08-2005
    MS-Off Ver
    Microsoft 365
    Posts
    810

    Summing according to conditions

    Hi,

    In the attached file I would like to create formulae in cells B6:B8, highlighted in yellow, to sum the values in B2:F2, according to whether the code in B3:F3 has "seniority" of 1, 2 or 3 as indicated in columns H and I.

    Can someone please suggest a formula to achieve this.

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Summing according to conditions

    Hi Andrew- Try this ARRAY FORMULA. Paste in B6, press CTRL+SHIFT+ENTER to confirm, then drag down:
    =SUM($B$2:$F$2*(IF($I$2:$I$8 =A6,$H$2:$H$8)=$B$3:$F$3))

    Please click the Add Reputation star below any helpful posts, and if you have your answer, mark your thread as SOLVED (Thread Tools up top). Thanks!-Lee

  3. #3
    Forum Contributor
    Join Date
    02-08-2005
    MS-Off Ver
    Microsoft 365
    Posts
    810

    Re: Summing according to conditions

    Excellent, thank you!

  4. #4
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Summing according to conditions

    Happy to help, thank you for the rep! If appropriate, please mark your thread as SOLVED (Thread Tools, up top). Thanks again- Lee

+ 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 based on conditions
    By hqureshi78 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-15-2013, 12:50 PM
  2. help with summing with conditions
    By frostwyrm333 in forum Excel General
    Replies: 3
    Last Post: 05-19-2012, 06:28 PM
  3. Summing with Multiple Conditions Every nth row
    By ZedaG in forum Excel General
    Replies: 13
    Last Post: 03-15-2011, 04:17 PM
  4. summing by multiple conditions
    By ike.e in forum Excel General
    Replies: 3
    Last Post: 07-21-2010, 11:26 AM
  5. Summing on multiple conditions
    By Stacy in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-15-2005, 04:05 PM
  6. Meeting two conditions before summing
    By Bob Phillips in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 07:05 AM
  7. [SOLVED] Meeting two conditions before summing
    By Andeb in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM
  8. [SOLVED] Meeting two conditions before summing
    By Andeb in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 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