+ Reply to Thread
Results 1 to 5 of 5

vba help to apply formula down till end of row data and where ever is blank in range.

  1. #1
    Forum Contributor
    Join Date
    07-23-2013
    Location
    bangalore
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    143

    vba help to apply formula down till end of row data and where ever is blank in range.

    Dear experts


    I have excel formulas in excel sheet with in a range of B2:E2 i have to pull down formula with out pasting on already existing data in that range.
    data in A:A column get blank and get the row end some where in A:A !!
    if i run the code apply formulas from A:A column end of row data till there where ever blank in that range B2:E2 that only make apply formulas down.
    once data end row in A:A column make the running code stop..

    msg box should be "task completed"

    find the attachment you may have understand !!!
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    01-17-2013
    Location
    Belgium
    MS-Off Ver
    Excel 2010
    Posts
    211

    Re: vba help to apply formula down till end of row data and where ever is blank in range.

    you can put below in a module , not it has limit to 30000 rows build in , otherwise you will have to define the range or use a stop word on the last row

    Please Login or Register  to view this content.
    If solved remember to mark Thread as solved , to mark your thread as Solved select Thread Tools and click Mark thread as Solved.

    I can't read the mind of my wife so then I get picture but no sound .... and then I mostly get the idea, same goes here picture your outcome and I get the idea.

  3. #3
    Forum Contributor
    Join Date
    04-25-2013
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2010
    Posts
    150

    Re: vba help to apply formula down till end of row data and where ever is blank in range.

    Hi.
    Try this:

    Please Login or Register  to view this content.
    Clear the cells in your table first because you have some formulas with #REF in them. The macro only checks for blanks so it hops over these leaving you with some (seemingly) blank cells. If you just clear everything in columns B:E before running the macro it should populate your entire table.

  4. #4
    Forum Contributor
    Join Date
    07-23-2013
    Location
    bangalore
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    143

    Re: vba help to apply formula down till end of row data and where ever is blank in range.

    can you apply same format code to this sheet where ever the formula i tried but i couldnt complete it
    find the attachment
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    07-23-2013
    Location
    bangalore
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    143

    Re: vba help to apply formula down till end of row data and where ever is blank in range.

    any help on this????

+ 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] Formula for a cell value to show as blank till the varible has been entered
    By arkadd61 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-27-2013, 09:46 PM
  2. [SOLVED] If I apply formula to my column can the cell be blank until data is added?
    By KELLIS in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 08-01-2012, 03:39 PM
  3. Find a blank cell and calculate the average of all cells above till the next blank
    By joshnathan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-27-2012, 11:51 AM
  4. Transposing data till blank cell - Excel 2007
    By batrasunil81 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-17-2008, 02:52 AM
  5. [SOLVED] How do I apply the ROUNDUP formula to a range of calculated data
    By IslandGreenHouse in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-28-2005, 06:05 PM

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