+ Reply to Thread
Results 1 to 4 of 4

Formula Length Limitation

  1. #1
    Registered User
    Join Date
    04-16-2010
    Location
    Nairobi
    MS-Off Ver
    Office 95
    Posts
    23

    Exclamation Formula Length Limitation

    Hi all!


    I have been struggling with a problem of overcoming formula length limitation. My problem is as follows:

    I have 4 parameters with several values for each in "Scenario Control" sheet. First parameter represents 3 cost scenarios. Other three parameters define another 10 different cost scenarios of another segment of the whole system. So they give 30 possible combinations all together (hope I counted it right ).

    I have each of those 3 and 10 cost scenarios calculated separately and have results of them written in another sheet.

    Now I need to make a summary sheet, where just results from chosen combination of two scenarios from scenario group 1 + 2 will be depicted. And all has to be defined by user's selection of the combination of those four parameter values in the "Scenario Control" sheet.

    Problem is that it could be done by 30 IF functions in the formula , but the limitation of the formula length is against me...

    I wasn't able to find smarter way of doing it in order to bypass the limitation.

    It's really urgent, I would be very grateful if somebody could help me!

    Maybe by some VBA code...? I am not expert in this...

    Thank you!
    Last edited by Ivkosky; 05-22-2010 at 05:26 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Formula Length Limitation

    Perhaps you could use named formulas. Or simplify the formulas you have.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    03-08-2007
    Posts
    93

    Re: Formula Length Limitation

    Since you are already calculating each permutation, it sounds like it's just a matter of selecting the one you need. You can do this using vlookup, Index/Match, or even sumproduct. If you will upload the file, it should be an easy fix.

    SAE

  4. #4
    Registered User
    Join Date
    04-16-2010
    Location
    Nairobi
    MS-Off Ver
    Office 95
    Posts
    23

    Re: Formula Length Limitation

    Hi


    Thank you for your interest! I apologize that I haven't replied sooner. I managed to solve the problem by splitting the formula into several steps and then just putting it together...

    Thanks once again!

+ 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