+ Reply to Thread
Results 1 to 2 of 2

OFFSET function question.

Hybrid View

  1. #1
    Registered User
    Join Date
    07-18-2009
    Location
    North Texas
    MS-Off Ver
    Excel 2007
    Posts
    2

    OFFSET function question.

    To capture the last cell in a check register to report to another worksheet, I use the following forumula:

    =OFFSET(worksheet1!$H$1,COUNT(worksheet1!$H:$H)-1,0,1) where H is the column containing data.

    I'm having difficulty understanding the argument, COUNT(worksheet1!$H:$H)-1. You can't get too elementary in your explanation. I do not undertand what the -1 means.

    Thank you in advance.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,844

    Re: OFFSET function question.

    COUNT simply counts numbers so assuming you have only numbers in column H starting at row 1 and ending at row 10 then that part would give you 10 but the last cell with a number is 9 rows down from H1 so you need to subtract 1 from that to get H10.

    For the last number in a range it might be easier to use a formula like this

    LOOKUP(9.9E+307,worksheet1!$H:$H)
    Audere est facere

+ Reply to Thread

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