+ Reply to Thread
Results 1 to 15 of 15

fill formulae till last row

  1. #1
    Forum Contributor
    Join Date
    08-18-2017
    Location
    india
    MS-Off Ver
    2010
    Posts
    490

    fill formulae till last row

    Hey Guys I need a help.

    I need to fill formulaes till last possible row.

    I am able to drag down and put the forumae but the file size becomes too large.

    Is it possible to copy formulaes to all cell through VBA?

    I have many formulaes to filll till the last row. So, the file size becomes too large


    what do I do?

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

    Re: fill formulae till last row

    By "last possible row" do you mean row 1048576?
    Why would you need formulas all the way down there?

    Perhaps turn your data into a table so the formulas are copied down as you add new rows.

    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
    52,946

    Re: fill formulae till last row

    If your file slows when you drag the formulas down, doing the same thing through VBA will not change that

    1. What do you mean by "last possible row" - row 1048576?
    2. if so, why would you need to many rows?
    3. can you show the formula/s that you are using?

    haha is there an echo in here, BSB?
    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 Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: fill formulae till last row

    Quote Originally Posted by FDibbins View Post
    haha is there an echo in here, BSB?
    I was thinking the same! Great minds and all that

    BSB

  5. #5
    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
    52,946

    Re: fill formulae till last row

    Quote Originally Posted by BadlySpelledBuoy View Post
    I was thinking the same! Great minds and all that

    BSB
    or, whats that other 1 about fool seldom..."

  6. #6
    Forum Contributor
    Join Date
    08-18-2017
    Location
    india
    MS-Off Ver
    2010
    Posts
    490

    Re: fill formulae till last row

    I have uploaded the file.

    Yes I mean row 1048476.

    I use general vlookup formulaes, etc.

    I am going to maintain 15 years data in it. So i want to apply formulaes in all cell .

    But it makes the file too large.

    Sheet "Withdraw" has formulaes in alomost every cell.

    I have not filled in the formulaes till last row because it makes the file too large.

    Please help me
    Attached Files Attached Files

  7. #7
    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
    52,946

    Re: fill formulae till last row

    even if you are recording data by HOUR over 15 years, you still only need 131 400 rows, not 1 million

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

    Re: fill formulae till last row

    In the attached I've turned your data range into a table.
    Now when you add new rows the table will expand automatically and the formulas will copy down. So you won't need to have formulas copied all the way down in advance.

    BSB
    Attached Files Attached Files

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

    Re: fill formulae till last row

    Quote Originally Posted by FDibbins View Post
    or, whats that other 1 about fool seldom..."
    That's the same quote isn't it? "Great minds think alike, though fools seldom differ."

    BSB

  10. #10
    Forum Contributor
    Join Date
    08-18-2017
    Location
    india
    MS-Off Ver
    2010
    Posts
    490

    Re: fill formulae till last row

    Hey This is a good idea.

    Thank you.

    Now i dont have to fill in the formulaes in advance .

    Thank you so much

  11. #11
    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
    52,946

    Re: fill formulae till last row

    Nicely done BSB

  12. #12
    Forum Contributor
    Join Date
    08-18-2017
    Location
    india
    MS-Off Ver
    2010
    Posts
    490

    Re: fill formulae till last row

    Thank you all
    Last edited by anilpatni1234; 07-10-2018 at 01:31 PM.

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

    Re: fill formulae till last row

    Make sure all your formulas are copied down to the same row, select the cells down to that row, press Ctrl+T.

    That's all I did and it worked for me.

    BSB

  14. #14
    Forum Contributor
    Join Date
    08-18-2017
    Location
    india
    MS-Off Ver
    2010
    Posts
    490

    Re: fill formulae till last row

    Hey BSB a problem.

    the table method works well when i need to enter data.

    However sheet "In Hand" creates problem for me.

    Thats because i dont input any data in it.'

    It has formulaes which extracts data from sheet "entry" and "withdraw"

    So ultimately i need to fill in formuae till last.

    Can you help me please

  15. #15
    Forum Contributor
    Join Date
    08-18-2017
    Location
    india
    MS-Off Ver
    2010
    Posts
    490

    Re: fill formulae till last row

    hey BSB ,

    Did you get a chance to glance through?

+ 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] Put formual in B2 and C2 and fill down till 32 row
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-19-2017, 03:44 AM
  2. [SOLVED] copy formula and fill down till last not blank cells
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-11-2017, 07:24 AM
  3. [SOLVED] VBA to fill the formula across row and column till total
    By johnmacpro in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-13-2016, 09:25 AM
  4. [SOLVED] VBA to fill the formula in every set of range till end of row data
    By johnlara in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-30-2016, 10:50 AM
  5. [SOLVED] VBA to fill formula down till last row in column
    By Wither125 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-25-2016, 06:03 PM
  6. Help with Macro: I need to fill columns D-N only up till the row number in column A
    By zizou0178 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-19-2014, 02:16 PM
  7. Fill array till first empty cell.
    By UncleDucc in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-05-2009, 09:56 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