+ Reply to Thread
Results 1 to 5 of 5

Using Sumif to Pull in Rates

  1. #1
    Registered User
    Join Date
    10-26-2011
    Location
    Macon, GA
    MS-Off Ver
    Excel 2010
    Posts
    37

    Post Using Sumif to Pull in Rates

    A few mths ago we I started a project spreadsheet in which one column contains the Contractor’s rates. At the end/bottom of the sheet is a table that lists all contractors’ and rates, which is where the rates are pulled from.

    My predicament is that within the next few wks some rates are increasing. If we continue to use the current formula =SUMIF($C$15:$C$20,$C6,$D$15:$D$20) it will change all previous rates referenced to a certain contractor.

    Is there a way that this formula can be enhanced so when a rate changes it will not interfere with previous project rates?

    Small sample attached; working in Excel 2010
    Attached Files Attached Files

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Using Sumif to Pull in Rates

    If you left the old rates and date applicable in the rates table it would be doable.

  3. #3
    Registered User
    Join Date
    10-26-2011
    Location
    Macon, GA
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: Using Sumif to Pull in Rates

    Bob, not sure I follow. Can you please elaborate a little. Only a few, maybe even one rate may change. Do you mean add a column for effective date of rate and then add a if statement in formula. How would that work. Sorry, not advance in formulas.

  4. #4
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Using Sumif to Pull in Rates

    What I mean is to save each rate when it changes with its effective date, therey having multiple rates in the rates table. Then it would be a simple formula to calculate based upon date, such as this array formula

    =INDEX(E15:E21,MIN(IF((C15:C21=C5)*(D15:D21<=B5),ROW(C15:C21)))-MIN(ROW(C15:C21))+1)

  5. #5
    Registered User
    Join Date
    10-26-2011
    Location
    Macon, GA
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: Using Sumif to Pull in Rates

    Thanks for your help.

+ 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