+ Reply to Thread
Results 1 to 3 of 3

Conditionally sum variable dataset

  1. #1
    Registered User
    Join Date
    02-02-2010
    Location
    WI, USA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Post Conditionally sum variable dataset

    I would like help with the following:

    I have a spreadsheet which has general usage and summary data at the top for ease of use. Begining at Row 15 the data is a standard table which includes columns for the following
    Cust Name | Status | Loan Amt | etc.

    I have created a macro to make it easier to add new data rows at the top of the data already in the file (this makes it easier to view with the newest data at the top). I would like to create a conditional sum of the data in "Loan Amt" if the value in "Status" ="Active". I had no problem achieving this with the conditional sum tool but the problem is that the range changes whenever a new row is added to the top of the list. Unfortunately the range in the conditional sum adjusts as the old data shifts down for the new row and the sum does not contain the new row data.

    Any suggestions on how to state the conditional sum so it will always include the new data that is added to the table?
    Last edited by the_shadow; 02-08-2010 at 02:01 PM. Reason: solved

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

    Re: Trying to conditionally sum the content of a growing dataset

    By "conditional sum" are you referring to SUMIF ?

    You can use INDEX to keep start point fixed, eg:

    Please Login or Register  to view this content.

    modify B20 / C20 to be the last row of data as at now - these will adjust as you add new data into your table whereas the references to row 15 will remain fixed.

  3. #3
    Registered User
    Join Date
    02-02-2010
    Location
    WI, USA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Conditionally sum variable dataset

    Worked great - thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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