+ Reply to Thread
Results 1 to 4 of 4

Sum based on Condition

  1. #1
    Forum Contributor
    Join Date
    11-10-2019
    Location
    India
    MS-Off Ver
    2013
    Posts
    350

    Sum based on Condition

    Ref attached sample sheet and Column E40 which is sum.
    I need to change this sum as under.
    If each row i.e, E17 to E39 is more than corresponding D17 to D39
    then it should sum based on corresponding D

    Ex: E 35 is more than D35, so in sum it should consider E35 as 6 which is in D35
    So the sum in E40 should be 44 instead of 45
    Attached Files Attached Files

  2. #2
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,428

    Re: Sum based on Condition

    Please try in E40 an copy to right:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    11-10-2019
    Location
    India
    MS-Off Ver
    2013
    Posts
    350

    Re: Sum based on Condition

    Thanks a TON !

  4. #4
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,428

    Re: Sum based on Condition

    You are welcome, glad to have helped and thanks 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. Sum IF based on condition
    By lilit2222 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 07-07-2020, 10:21 AM
  2. [SOLVED] How to count a condition based on having another condition?
    By Robster in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-12-2014, 04:17 PM
  3. Sum based on condition
    By excelforum123 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-31-2012, 03:06 AM
  4. Select worksheet based on condition & populate cell based on condition
    By beth1069 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-19-2011, 01:27 PM
  5. Condition based on another Condition
    By ghadghoud in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-18-2011, 12:04 AM
  6. Sum based on condition
    By jayjaysb in forum Excel General
    Replies: 2
    Last Post: 12-15-2009, 02:25 AM
  7. Creating two different charts based on a single pivot table based on condition
    By exlnovice in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-26-2008, 06:21 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