+ Reply to Thread
Results 1 to 5 of 5

Carry down formula for columns based on the number of rows filled with data

  1. #1
    Registered User
    Join Date
    05-27-2015
    Location
    Minnesota
    MS-Off Ver
    2010
    Posts
    19

    Carry down formula for columns based on the number of rows filled with data

    I have data coming into a tab with multiple rows for columns A->L. Additionally, I have some formulas entered into columns M->O to parse out the information found in column L.

    What I am needing assistance on is having the macro update by carrying the formulas in M, N, and O to the very bottom, which will vary based on the number of rows which has data.

    Can anyone help me with this? Thanks.

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    8,057

    Re: Carry down formula for columns based on the number of rows filled with data

    Could we see your workbook?
    Desensitize it if necessary. The formulas and layout are the important bits to provide a solution here.

    BSB

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,053

    Re: Carry down formula for columns based on the number of rows filled with data

    Why do you need a macro for this? If you structure your formula to test for an empty cell, it wont show anything until the cell is filled.

    =IF(A2="","",your-formula)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Forum Contributor
    Join Date
    01-04-2013
    Location
    Tampa, Florida
    MS-Off Ver
    Excel 2013
    Posts
    142

    Re: Carry down formula for columns based on the number of rows filled with data

    Perhaps the easiest solution is to convert to data range to a table. Include columns A->O in the table. As new rows of info are added in columns A -> L the formulas in columns M ->O will automatically populate down and calculate.

  5. #5
    Registered User
    Join Date
    05-27-2015
    Location
    Minnesota
    MS-Off Ver
    2010
    Posts
    19

    Re: Carry down formula for columns based on the number of rows filled with data

    Quote Originally Posted by FDibbins View Post
    Why do you need a macro for this? If you structure your formula to test for an empty cell, it wont show anything until the cell is filled.

    =IF(A2="","",your-formula)
    Thanks for your replies. This aspect will work just fine for what I am trying to implement.

+ 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. Replies: 8
    Last Post: 01-10-2016, 02:03 AM
  2. Copy paste based on rows/columns filled
    By bsturds in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-11-2015, 10:27 AM
  3. Generate Columns depending on the number of rows filled(VBA / BDH function)
    By bryan444 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-29-2012, 04:27 AM
  4. Replies: 0
    Last Post: 10-16-2012, 03:26 PM
  5. Replies: 10
    Last Post: 04-09-2009, 06:00 PM
  6. insert text in columns based on maximum number of rows containg data
    By twrizzo in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-30-2007, 03:35 PM
  7. Replies: 0
    Last Post: 01-05-2005, 09:31 AM

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