+ Reply to Thread
Results 1 to 4 of 4

SUMIF Function if Multiple Rows are Populated

  1. #1
    Registered User
    Join Date
    03-15-2024
    Location
    Indianapolis, Indiana
    MS-Off Ver
    Excel Version 2402
    Posts
    1

    Question SUMIF Function if Multiple Rows are Populated

    Hello,

    I am struggling to build a formula where cell I26 will contain the sum of all subcontract amounts in rows where columns C, D, E and F are all simultaneously populated with the letter "N".

    As seen in the attached image, I10:I15 contain subcontract amounts. I would like for cell I26 to only include the sum of values in rows which have the letter "N" in columns C, D, E, and F. In my screenshot, this would only apply to row 15, meaning the value in cell I26 would be $1,000, since this is the row that has marked "N" to all four criteria.

    I assume this is some kind of SUMIF formula, however I am not sure how to get it to only take the sums of rows that have all four of these cells populated.

    Thank you,
    Attached Images Attached Images
    Last edited by Lreece; 03-15-2024 at 10:23 AM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: SUMIF Function if Multiple Rows are Populated

    Please upload a sample sheet, with expected answers, as we cannot manipulate a picture. Guidelines& instructions are in the yellow banner (top).
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: SUMIF Function if Multiple Rows are Populated

    In I26

    =SUMPRODUCT($I$10:$I$15*(COUNTIF(OFFSET($C$10:$F$10,ROW($C$10:$C$15)-ROW($C$10),0),"N")=4))
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  4. #4
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,423

    Re: SUMIF Function if Multiple Rows are Populated

    other option formula

    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ 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] Macro for copying formulas to populated rows doesn't work for changes to multiple cells
    By Stuartzz in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-06-2018, 06:43 PM
  2. Replies: 1
    Last Post: 03-19-2013, 09:57 AM
  3. Replies: 1
    Last Post: 03-19-2013, 09:18 AM
  4. [SOLVED] Multiple comboboxes populated with same lists; data entered to multiple rows.
    By BPSJACK in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-20-2012, 01:34 PM
  5. Replies: 5
    Last Post: 01-20-2009, 11:56 AM
  6. [SOLVED] How do I do a sumif function not including hidden rows?
    By Verlaesslichkeit in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-03-2006, 08:15 AM
  7. How do you ignore hidden rows in a SUMIF() function?
    By Gerry in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-21-2005, 09:05 AM

Tags for this Thread

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