+ Reply to Thread
Results 1 to 2 of 2

VBA formula to fill down to proper cell

  1. #1
    Registered User
    Join Date
    06-18-2019
    Location
    Dallas, Texas
    MS-Off Ver
    windows 2013
    Posts
    72

    VBA formula to fill down to proper cell

    I have a few formulas, that I then wrote a few lines of code to fill down. However I need the code to not express a specific cell, but fill down to the proper cell or last used cell. The reason for this is because the imported data which will be used can change more or less depending on the data.

    What I have currently for filldown is:
    Please Login or Register  to view this content.
    I would like to auto fill from the formula in B2 - G2, (all the formulas are different). I need to get rid of the cell 214 and have a filldown depending on Column A data.

    The formulas above show:
    Please Login or Register  to view this content.
    Last edited by Tgbell; 06-26-2019 at 02:57 PM.

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

    Re: VBA formula to fill down to proper cell

    Code Tags Added
    Your post does not comply with Rule 2 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



    (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

+ 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] how to force to fill in proper date format
    By Wieslaw123 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-03-2017, 03:16 PM
  2. Replies: 7
    Last Post: 09-07-2014, 10:52 AM
  3. If formula not working eventhough the cell formats are proper
    By nagendrababu in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-30-2013, 08:20 AM
  4. Formula to Automatically Fill Blank With Next fill cell's data?
    By VMoney in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-22-2013, 05:11 PM
  5. =PROPER Function Will Not Fill Down Correctly
    By mgladding in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-13-2013, 07:33 PM
  6. Replies: 1
    Last Post: 09-07-2011, 05:57 PM
  7. [SOLVED] Formula Showing In A Cell Instead of Proper Result
    By DanK in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 03-04-2006, 02:46 AM

Tags for this Thread

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