+ Reply to Thread
Results 1 to 4 of 4

Update Formulas in cell using Macro

  1. #1
    Registered User
    Join Date
    09-21-2012
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2007 / 2010
    Posts
    31

    Thumbs up Update Formulas in cell using Macro

    Hi Team,

    I would like to update the formulas in cell automatically and fill down. Below is my requirement.

    1). In Cell D5 update the formula has = C5-B5 and fill down the formula until last row based on Column A

    2). In Cell E5 update the formula has = D5/5 and fill down the formula until last row based on Column A

    3). In Cell F5 update the formula has = E5/366 and fill down the formula until last row based on Column A

    4). In Cell G5 update the formula has =ROUND(IF(M5="",($I$1-E5+1-N5)*J5,IF(M5<>"",(K5-M5+1-N5)*J5)),2) and fill down the formula until last row based on Column A.

    Please assist me with this and it would be really appreciated.



    Thanks,
    Vignesh

  2. #2
    Forum Contributor
    Join Date
    09-27-2012
    Location
    London, England
    MS-Off Ver
    2003, 2010
    Posts
    344

    Re: Update Formulas in cell using Macro

    Hi Vignesh,

    when you say "update the formulas in cell automatically and fill down", seems to me that you are looking for a VBA code.

    Try the below:

    Please Login or Register  to view this content.
    Hope this helps.
    If solved kindly remember to mark Thread as solved.
    Click the small star icon at the bottom left of my post if this was useful.

  3. #3
    Registered User
    Join Date
    09-21-2012
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2007 / 2010
    Posts
    31

    Re: Update Formulas in cell using Macro

    Thanks Kumar... It worked perfectly

  4. #4
    Forum Contributor
    Join Date
    09-27-2012
    Location
    London, England
    MS-Off Ver
    2003, 2010
    Posts
    344

    Re: Update Formulas in cell using Macro

    You are welcome, and thanks for the feedback.

+ 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