+ Reply to Thread
Results 1 to 2 of 2

Dynamic formula generation in Excel cells

  1. #1
    Registered User
    Join Date
    08-26-2009
    Location
    delhi
    MS-Off Ver
    Excel 2003
    Posts
    1

    Question Dynamic formula generation in Excel cells

    Dear all,

    I have following requirements: (please read it COMPLETELY before suggesting a solution)

    I want to replicate a formula in a cell to all the rows below it in a way as if it is copied and paste special formula. So all $ and without$ will have relevance while copying e.g.

    Example: Initial position:


    A B C
    1 100
    2 10 22 = ($A2+$B2)/$A$1
    3 7 66
    4 55 88
    5


    Now formula in cell Cn (n=3 to 5) should automatically get copied if both An and Bn are non-blank.
    e.g. formula in cell C3 should automatically get set to ($A3+$B3)/$A$1
    e.g 'formula' (and not the value) in cell C5 should be blank

    IMPORTANT::::::

    I don't want to appear this formula to appear IF AND ONLY IF An and Bn are NON-BLANK. If they are blank then cell Cn MUST be blank (i.e. it should not carry the formula)

    The reason why I want to keep is blank is that actual formula I am going to replicate is a so huge that when i copy this formula for 1000 lines, file size becomes more than 10 MB !!!!!


    Please help...It is really very critical.....

    Regards,
    Ankush

  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: Dynamic formula generation in Excel cells

    Please read this COMPLETELY before responding.

    1. It would require VBA.

    2. There is no way in the world that 1000 copies of that formula would cause a workbook to swell to 10MB.
    Entia non sunt multiplicanda sine necessitate

+ 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