+ Reply to Thread
Results 1 to 5 of 5

sum formula in each column at lastrow + 1

  1. #1
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,300

    sum formula in each column at lastrow + 1

    Hi All

    How do I insert a formula in columns A to E at next empty row (lastrow + 1) of each column i.e. A2:A & lrow + 1, then B2:B & lrow + 1 etc

    Please Login or Register  to view this content.
    Last edited by sintek; 04-14-2017 at 02:47 PM. Reason: replaced i with c
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  2. #2
    Forum Expert
    Join Date
    10-02-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    1,222

    Re: sum formula in each column at lastrow + 1

    Depends if the last rows is the same for each or differs column to column.

    If its the same you typically get the last row before your and store it in a variable. If its not the same in each column you incorporate the last row portion in your loop.

    I would use the .offset method of the range property. Offset by 1 row from the last cell in that column. Also your formula should not also include the last row +1 as it would be circular if it includes itself.

  3. #3
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,300

    Re: sum formula in each column at lastrow + 1

    Hi Zer0Cool

    Lastrow is same for each column

  4. #4
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,300

    Re: sum formula in each column at lastrow + 1

    Tried this, getting zero's
    Please Login or Register  to view this content.

  5. #5
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,300

    Re: sum formula in each column at lastrow + 1

    Thanks i figured it out
    Please Login or Register  to view this content.

+ 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. LastRow/Column to do Loop
    By dweebz in forum Excel Programming / VBA / Macros
    Replies: 36
    Last Post: 05-24-2016, 10:21 PM
  2. R1C1 lastRow not lastRow when data combined
    By Spyderwoman in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-28-2016, 05:20 PM
  3. [SOLVED] LastRow - for next loops longer than lastrow?
    By flabb in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-07-2016, 12:39 PM
  4. [SOLVED] Sum Lastrow formula!!
    By Hurricanefly in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 05-17-2013, 11:35 AM
  5. struggling with lastrow formula
    By skalaima in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-16-2013, 02:05 PM
  6. Subtotal using LastRow of a different column
    By dagindi in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-21-2010, 03:50 AM
  7. Copy From LastRow to LastRow+7
    By dvent in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-11-2010, 06: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