+ Reply to Thread
Results 1 to 7 of 7

Conditional sum if

  1. #1
    Forum Contributor
    Join Date
    02-15-2012
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2019
    Posts
    431

    Conditional sum if

    Hi,

    I need a sumif formula with conditions.

    Pl. find attached an excel file with details.

    Pl. help.

    Regards,
    Nagesh.
    Attached Files Attached Files

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

    Re: Conditional sum if

    How you arrived 19 in J7
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Conditional sum if

    Hi,

    Without a helper column or array formula you'll need a SUMPRODUCT function. i.e.

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

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Forum Contributor
    Join Date
    02-15-2012
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2019
    Posts
    431

    Re: Conditional sum if

    Hi Richard,

    Thanks for immediate response. The answer should be 14 (sorry indicated in the file as 19) (only cell: E10) (Where month, year and job number matches)

    Hi Siva,

    There was a mistake. The answer should be 14 only.

    Pl. help.

    Thanks,
    Nagesh.

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,300

    Re: Conditional sum if

    Try

    =SUMPRODUCT((LEFT($D$5:$D$17,8)=$I$7)*($E$5:$E$17)*(MONTH($C$5:$C$17)=$H$6)*(YEAR($C$5:$C$17)=YEAR(TODAY())))

  6. #6
    Forum Contributor
    Join Date
    02-15-2012
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2019
    Posts
    431

    Re: Conditional sum if

    Perfect.

    Thanks a ton John.

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,300

    Re: Conditional sum if

    Thank you for the feedback and rep.

+ 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. Replies: 1
    Last Post: 08-19-2016, 03:57 PM
  2. Macro to set up conditional message based on results of conditional formatting
    By paysola in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-04-2016, 12:38 AM
  3. Conditional sums based on conditional drop down selections
    By susanlinsfu in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-10-2016, 02:29 PM
  4. [SOLVED] Conditional Statement for Negative Numbers inside a Conditional Formula
    By kuzniak in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 12-18-2015, 11:17 PM
  5. Replies: 2
    Last Post: 12-05-2014, 07:15 AM
  6. Replies: 3
    Last Post: 05-15-2012, 04:13 PM
  7. Conditional Formatting Code - Deletes Wrong Conditional Format
    By RSpecianJr in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-29-2010, 10:53 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