+ Reply to Thread
Results 1 to 4 of 4

copy formula and paste it to dynamic table

  1. #1
    Registered User
    Join Date
    04-07-2009
    Location
    Isarel
    MS-Off Ver
    Excel 2003
    Posts
    13

    copy formula and paste it to dynamic table

    Hello Experts

    I am looking for better way to copy formula and paste it to dynamic table (I don’t know how many rows there is at the table).
    The procedure takes long time for the user.
    (the table may contain more than 30,000 rows !!).
    My suggestion:

    Please Login or Register  to view this content.
    Last edited by Sharky Amit; 04-15-2009 at 04:50 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: copy formula and paste it to dynamic table

    You could perhaps replace all of that & apply to the range simultaneously with the below:

    Please Login or Register  to view this content.
    EDIT: revised above to account for Current Region and fact B is probably blank....
    Last edited by DonkeyOte; 04-15-2009 at 02:09 AM.

  3. #3
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988

    Re: copy formula and paste it to dynamic table

    Please read forum rules below. I've amend you're title for you this time.

    Try

    Please Login or Register  to view this content.

    PS No need for an if statement as you can see

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: copy formula and paste it to dynamic table

    Are you just trying to put that formula in all cells from B2 down to the bottom of the dataset in column B? Perhaps this?
    Please Login or Register  to view this content.
    If not, click on GO ADVANCED and use the paperclip icon to post a workbook showing what you're doing.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ 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