Results 1 to 7 of 7

Change Static Range of Formula to Dynamic Range

Threaded View

duugg Change Static Range of... 01-21-2014, 05:00 PM
Izandol Re: Change Static Range of... 01-21-2014, 06:35 PM
duugg Re: Change Static Range of... 01-23-2014, 09:27 AM
Izandol Re: Change Static Range of... 01-23-2014, 09:44 AM
duugg Re: Change Static Range of... 01-23-2014, 02:45 PM
Izandol Re: Change Static Range of... 01-23-2014, 05:26 PM
duugg Re: Change Static Range of... 01-24-2014, 10:15 AM
  1. #1
    Valued Forum Contributor
    Join Date
    04-11-2006
    MS-Off Ver
    2007
    Posts
    438

    Question Change Static Range of Formula to Dynamic Range

    Hello all,

    I have this code below that was created by the macro recorder. The only problem I'm having is that I need to run this code again and again and the number of rows will always be different.

    How can I change the recorded code below to select the current region of each relevant area and be dynamic instead of static?


    ActiveCell.FormulaR1C1 = "=COUNTIFS(R2C18:R50C18,RC[3],R2C14:R50C14,""<>"" &"""")/SUMIF(R2C18:R50C18,RC[3],R2C7:R50C7)"
    Thanks much!
    Last edited by duugg; 01-21-2014 at 05:14 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Dynamic Range while adding static single row
    By bpmcnary in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-08-2013, 04:14 PM
  2. Dynamic Print Area converting to Static range
    By bnl552 in forum Excel General
    Replies: 1
    Last Post: 06-15-2012, 01:14 PM
  3. Turn static RANGE to dynamic
    By Barmoley in forum Excel General
    Replies: 7
    Last Post: 11-14-2010, 04:33 PM
  4. copy data from dynamic range to static range
    By barkarlo in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-16-2009, 02:26 PM
  5. [SOLVED] Dynamic data, static range, not updating.
    By Mike K in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 06-08-2006, 12:10 PM

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