• shifting from absolute to relative formulas (Excel 2003)

    Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » shifting from absolute to relative formulas (Excel 2003)

    Author
    Topic
    #429972

    I’m at a loss as to what to call the subject of this post… I have a large financial model that is generic (which is turning out to be much harder to do than a specific one). It’s generic in that the user can enter 1-7 service names each of which has 1-5 sub-services (and there are other ‘n’ items to make it more hairout). Each of these services can start in any year and take from 1-5 years to complete. My problem is how can I create some formulas that know what year they are to start in, and be 0 in other years.

    For example: Service1 starts in 2006 and duration = 3 years, Service2 starts in 2007 and duration = 2 years. I have various capex, opex, arpu, etc. data that needs to be valid (non-zero) only during the years the service is “online” (2006-2009 for Service1, 2007-2009 for Service2 in my example).

    I’ve attached a simplistic workbook with just one example. The start year and duration can change (blue cells) but I can’t figure out formulas that track against these years w/o losing data. I manually entered the data I want but if you change the years and/or duration, they don’t work. It seems I can’t just create a simple IF formula and drag it across since I’ll lose reference to previous cells. I’m sure this doesn’t make sense but I can’t explain it very well. If I have a formula like:

    =IF(and(yr>=2006,yr<=2008),"fetch data in some cell",0)

    when I drag this type of formula to the right to fill the years (7 total), the cell address in the TRUE part changes of course but, I need it to stay still (as if it was an asbolute formula like $C$4) until the condition is TRUE at which point it should change to a relative formula like C$4. Clear as mud, eh? eyeout I do not know in advance the year the user will start with so I need formulas that are smart enough to ‘track’ with the year chosen. I hope this doesn’t need VBA as I am too close to a deadline to add code (and this is a very large model).

    Hopefully the attached workbook will do a better job of explaining my problem.

    Deb please nosleep

    Viewing 2 reply threads
    Author
    Replies
    • #1002689

      Your TRUE/FALSE flags work OK. They are equivalent to 1 and 0 respectively. You could just multiply your calculation by the TRUE/FALSE cell to suppress it when the flag is false – or have I completely missed the point? shrug

      • #1002734

        Yeh that’s what I initially thought too and it works if everyone starts at the same year. The T/F flags at top are used to conditionally format the year headings to make it visually clearer what years are involved for the analysis. Hans was able to figure out a formula for me to dynamically decide where to place the first $ given that it needs to track with the starting year (which is a variable, not fixed). That’s what I was trying to explain in saying it needed to start off as absolute then change to relative once it saw TRUE for the year.

        This isn’t a common use since I think most models use a fixed timeline but mine isn’t known up front and not all costs/income starts at the same time.

        Thnx, Deb

    • #1002693

      Try this formula in D8:

      =IF(D7=$K7,$B7,IF(D7<$K7+$L7,C8*(1+$B8),0))

      It can be filled to the right, and it can be copied to D13 provided that you make the relative positions of the cells uniform (they aren’t in the workbook you attached.) See attached version.

      • #1002733

        Hey this is great, it works for the example I gave. It’s hairy but I think I can adapt it for the other 1000+ similar data rows I have across 15 sheets. I definitely wouldn’t of figured that one out by myself, no way. You understood my problem very well bow

        Potentially the user of this tool can have 17 different services each of which has their own start date and duration but I have one income statement which has one time span (10 yrs) so I needed to dynamically put the right $ in the right year column for each service (can’t assume all start at the same year). It lets them do what-ifs on the economics of turning off legacy network services and turning on (migrating to) new services as replacements so I need the flexibility of changing how long this transition takes (and the $ impact of doing it in 2 years vs 7 years, for example).

        thankyou Deb

    • #1002723

      [indent]


      I have a large financial model that is generic (which is turning out to be much harder to do than a specific one)


      [/indent]

      They always are. The people with the least experience in modeling or analysis are always the ones to say “I think we should have a ‘standard’ model for all our projects…” – to which the only correct response is something along the lines of “Sure; just show me the standard project and I’ll get right on it.”

      • #1002730

        crybaby yep groan All too true! Where were you in Nov when I got “volunteered” to do this? So let’s have a tool that has ‘n’ legacy services, and ‘n’ new services (each with ‘n’ sub-services) where each service can start/end in any year (and all the corresponding pricing, fees, equipment, etc. have to begin in the right year). Now make one income statement that can show all these unknowns, and and and ….. nuts

        Thanks for the sympathy.
        Deb

    Viewing 2 reply threads
    Reply To: shifting from absolute to relative formulas (Excel 2003)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: