+ Reply to Thread
Results 1 to 4 of 4

Looping from range bottom

  1. #1
    Forum Contributor
    Join Date
    02-25-2013
    Location
    Colorado, US
    MS-Off Ver
    Microsoft 365 Apps
    Posts
    518

    Looping from range bottom

    How do you loop FROM the bottom (last row). I know how to from row(1). I've tried using
    Please Login or Register  to view this content.
    but it still starts from the row(1). Any help's appreciated.

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 365
    Posts
    8,056

    Re: Looping from range bottom

    That should work. It would be easier to help and test possible solutions if you could attach a copy of your file. Explain in detail what you want to do referring to specific cells, rows, columns and sheets using a few examples from your data (de-sensitized if necessary). See the yellow banner at the top of this page for instructions to attach a file
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  3. #3
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,525

    Re: Looping from range bottom

    If you are starting at the last row, and want that cell to equal cell(.offset(1) then that cell will equal nothing, because there would be nothing in the cell below the last cell.

    If you were trying to equal the cell above then you would need to offset(-1,0). Negative offset is going up.

  4. #4
    Forum Contributor
    Join Date
    02-25-2013
    Location
    Colorado, US
    MS-Off Ver
    Microsoft 365 Apps
    Posts
    518

    Re: Looping from range bottom

    Thanks Dave! That's what I needed. Just set to offset(2,0) and works like a charm.

+ 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. Replies: 11
    Last Post: 03-28-2019, 12:32 PM
  2. [SOLVED] Return Row no. for Lookup from bottom of range, ignoring bottom n no. of rows
    By naira in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 12-27-2018, 12:07 AM
  3. Lookup from bottom of range, ignoring bottom n no. of rows
    By naira in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-05-2018, 04:26 AM
  4. Replies: 1
    Last Post: 04-27-2017, 09:28 AM
  5. [SOLVED] Using FIND and looping from bottom to top
    By anrichards22 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-19-2015, 11:22 PM
  6. Help me understand looping here - moving cells to bottom of another column
    By HalPlz in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-07-2014, 08:20 AM
  7. [SOLVED] Copy/Paste Range to the bottom of a range on another worksheet using VBA
    By tsamuels in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-18-2013, 10:11 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