+ Reply to Thread
Results 1 to 7 of 7

make a sumif formula dynamic

  1. #1
    Forum Contributor
    Join Date
    12-12-2012
    Location
    Los Angeles
    MS-Off Ver
    Excel 2010
    Posts
    448

    make a sumif formula dynamic

    Hello. Any suggestion on how I can make the following formula dynamic? In E4 and beyond I have a formula that will change the cell from "estimate" to "actual" when I insert a tab with actuals information. Currently in the C column, I have the formula below running through January, because that is what I have actuals through. I would like to make this dynamic so that when actuals comes in, the formula below calculates for two months instead of just one. Thank you.


    =IFERROR(SUM($E16)/(SUMIF($B$15:$B$66,$B16,$E$15:E$66)),0%)
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    09-27-2012
    Location
    Florida
    MS-Off Ver
    Excel XP to 2013
    Posts
    342

    Re: make a sumif formula dynamic

    All your formulas in E15 to DN 73 evaluate to #REF! errors which make it very hard to see what you're trying to do here... Can you fix those so we can follow he formulas?

  3. #3
    Forum Contributor
    Join Date
    12-12-2012
    Location
    Los Angeles
    MS-Off Ver
    Excel 2010
    Posts
    448

    Re: make a sumif formula dynamic

    Just imagine that those ref errors are numbers. They are montly numbers that sum up to a total. They update based on whether the month is actual/estimate. Now, I would like to do the same for % in column C. Make sense?

  4. #4
    Forum Contributor
    Join Date
    09-27-2012
    Location
    Florida
    MS-Off Ver
    Excel XP to 2013
    Posts
    342

    Re: make a sumif formula dynamic

    Sorry, I'm a numbers guy my imagination has a hard time testing things without real numbers to see what changes when formulas change. All 0's and errors make that very hard for me

  5. #5
    Forum Contributor
    Join Date
    12-12-2012
    Location
    Los Angeles
    MS-Off Ver
    Excel 2010
    Posts
    448

    Re: make a sumif formula dynamic

    Ok. I've attached the file with updated numbers. There are only numbers for January because that month is acutals. The rest of the months update when actuals come in. Now, how can I get the %'s in column C to update (that is, the % will be based on all actual months rather than just the first one) Based on whether E4, E5, E6, says actuals. Thanks!!
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    09-27-2012
    Location
    Florida
    MS-Off Ver
    Excel XP to 2013
    Posts
    342

    Re: make a sumif formula dynamic

    This will do what you asked but looking at your data again I don't think it's what you want. I think if you want to handle the whole 12 months, or more you want an array formula and they make my head spin... Good Luck...

    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    09-27-2012
    Location
    Florida
    MS-Off Ver
    Excel XP to 2013
    Posts
    342

    Re: make a sumif formula dynamic

    Okay so your question had me thinking of a way to do this, If I understand your sheet, you are looking for the % that one state is of a division's total for months with "Actual on row 4. If that's correct the array formula I added in column works. I removed most of your other formulas from the sheet because the calculations were extremely slow on my computer. You could probably change some of the other formulas as well and speed up the calculations dramatically.

    Hope This Helps.
    Tom

    If you edit the formula you need to press CSE ( Ctrl+Shift+Enter ) for the array formula to work.
    Last edited by Tank997; 03-08-2013 at 11:22 AM.

+ 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