+ Reply to Thread
Results 1 to 5 of 5

Excel 2007 : Excel conditional Summing

  1. #1
    Registered User
    Join Date
    08-19-2010
    Location
    Aberdeen, SD
    MS-Off Ver
    Excel 2007
    Posts
    15

    Excel conditional Summing

    This is probably a simple solution but one that I have not been able to solve short of manually re-summing each column weekly. I am hoping somebody here can help.

    I have attached a spreadsheet with a similar table to the one I am working on. In column G I want to show the sum of column D + E if column D is not equal to or greater than column E.
    The problems start in row 31 where I want to show the sum of row 30 plus the value of column D, and if column D is less than column E then I need to subtract column D from E and sum something like (G30+D31 (and if D31 is less than E 31 then subtract D31 From E31) and add that to the sum. Each row in column G would have to do the same function.

    Hopefully all that is clear enough.


    I am hoping all that is possible and somebody can help get me started.

    Thank you,

    Dan
    Attached Files Attached Files

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Excel conditional Summing

    Could you possibly outline a few of the expected results (G31, G32 etc...) - I for one am not 100% sure I follow regards adjustment though others might - below is an interpretation:

    Please Login or Register  to view this content.
    but I suspect it's wrong....

  3. #3
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Excel conditional Summing

    Agreed Don
    Your interpretation gives the same result as mine
    Please Login or Register  to view this content.

    @ AberdeenGDK
    What are the expected results in Column G? I can't see a logical path through the figures you have given.
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  4. #4
    Registered User
    Join Date
    08-19-2010
    Location
    Aberdeen, SD
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Excel conditional Summing

    Hopefully the updated spreadsheet will clarify a little more. I can get the results I need with many manual calculations but I end up changing them each month. There must be a better way.

    Thanks again for the help.

    Dan
    Attached Files Attached Files

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Excel conditional Summing

    Based on your expected results it should just be:

    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)

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