+ Reply to Thread
Results 1 to 4 of 4

Autofill formulas with across multiple columns with variable range

  1. #1
    Registered User
    Join Date
    10-08-2015
    Location
    Melbourne
    MS-Off Ver
    MO 2011
    Posts
    2

    Autofill formulas with across multiple columns with variable range

    Hey Excel saviours!


    I have data set out in the following way:
    • Column O with "1"s and ""s that feeds from a database. For every entry in the Database, a 1 fills in the subsequent row of Sheet1.
    • Formulas from columns O to IU that I want to autofill.


    Can someone help me correct my macro? As O fills before the autofill, I would like the macro to run and autofill all formulas across P to IU from 15 rows up from the last entry in column O. Is this possible? Here's what I've got so far:



    Please Login or Register  to view this content.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,858

    Re: Autofill formulas with across multiple columns with variable range

    Code Tags Added
    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found at http://www.excelforum.com/forum-rule...rum-rules.html



    (Because you are new to the forum, I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    10-08-2015
    Location
    Melbourne
    MS-Off Ver
    MO 2011
    Posts
    2

    Re: Autofill formulas with across multiple columns with variable range

    Thanks and sorry Alan, I'll be sure to use the tags next time. Any chance you can help me?

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,858

    Re: Autofill formulas with across multiple columns with variable range

    I am confused by your explanation. It may be helpful if you attached a sample worksheet.

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

+ 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. [SOLVED] Autofill Variable Range
    By efarkouh in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-23-2014, 02:32 PM
  2. Autofill to the right for variable amount of columns
    By sideshow1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-28-2013, 05:31 PM
  3. Autofill with a variable range
    By Jbm444 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-23-2010, 04:37 PM
  4. VBA .Range autofill variable column same row
    By Zaeguzah in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 06-04-2010, 07:24 AM
  5. Replies: 6
    Last Post: 02-20-2010, 12:44 AM
  6. AutoFill, can the last cell in range be variable?
    By AdamParker in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-02-2008, 04:09 PM
  7. autofill variable range
    By PaulSin in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-29-2006, 08:52 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