Results 1 to 14 of 14

change last cell in column

Threaded View

  1. #9
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887
    I also found another way to help, I think..

    In cell B2 on sheets April and May, you have a formula pointing to cell B38 on the previous sheet. As you mentioned, the last row might not be 38 for a given month, so instead of '=March!B38', '=April!B38', etc., use this for cell B2 in April:

    =OFFSET(March!B2,MAX(IF(NOT(ISBLANK(March!B2:B50)),ROW(March!B2:B50),0))-ROW(March!B2),0)
    For May!B2 change the month reference to April, like so:

    =OFFSET(April!B2,MAX(IF(NOT(ISBLANK(April!B2:B50)),ROW(April!B2:B50),0))-ROW(April!B2),0)
    PS - If anyone reading this has better ideas to automatically change the month, by all means do share.

    UPDATE: Those are array formulas.. you must press CTRL+SHIFT+ENTER after typing them, not just ENTER.
    Last edited by Paul; 04-04-2007 at 01:09 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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