+ Reply to Thread
Results 1 to 2 of 2

Want to autofill cells with formulas in a range with a dynamic numbe of rows

  1. #1
    Registered User
    Join Date
    01-31-2014
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    5

    Want to autofill cells with formulas in a range with a dynamic numbe of rows

    Hi,

    I am new to VBA and have been stumped with an issue I'm facing. In Column L, I have a list of ID numbers starting in cell L7 (there are headers above), but the number of rows varies from week to week. Columns M:AB will be filled with formulas (each column will have a different one) and will go down as many rows as there are rows with ID numbers in Column L. I currently don't have any code written for this procedure because I don't know where to start.

    Any suggestions would be greatly appreciated.

  2. #2
    Registered User
    Join Date
    09-01-2010
    Location
    SoCal
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: Want to autofill cells with formulas in a range with a dynamic numbe of rows

    Howdy,

    I would start by turning your data into an actual "Table".

    In L6:AB6, you should have titles, or field headings.
    In L7, enter in an ID number.
    In M7:AB7, enter in your formulas.

    Highlight L6. Oh shoot. I just saw that you are on 2003. I don't remember the sequence for that.
    In 2007-13, you click INSERT TABLE from the menu ribbon.
    There must be some kind of menu function for 2003.

    After the table is made, you can click on the blank line L8 and enter an ID.
    The table (aka List Oject) recognizes your entry and expands the table to cover your entry. It also copies down the formulas from the other columns.

    No Macros, no programming.

    Use the Delete options to delete table rows for future use.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. AutoFill of Dynamic Range
    By Sevn in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-17-2013, 06:03 PM
  2. Insert cells, fill formulas down, set formulas for dynamic range
    By Snickers65 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-03-2013, 01:43 PM
  3. Dynamic Print Range not including blank rows with formulas
    By amartin575 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-12-2013, 11:49 AM
  4. Sumproduct-autofill a large numbe
    By Pipestew in forum Excel General
    Replies: 3
    Last Post: 01-17-2007, 04:51 AM
  5. [SOLVED] Autofill dynamic no. of rows and columns
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-10-2005, 09:05 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