+ Reply to Thread
Results 1 to 5 of 5

formula/function question

  1. #1
    Registered User
    Join Date
    06-10-2005
    Posts
    4

    formula/function question

    My spreadsheet looks somewhat like this:

    1 2 3 4
    A 1 15 17 19
    B 2 45 98 43
    C 3 32 18 24
    D
    E 3 X X X

    Column 1 is count of entries. The spreadsheet is generated by an outside program and Row E is crucial to the rest of the database. The data in Row E is referenced in another sheet in the database. The first cell in the last row is always the total number of entries. The problem is, the number of entries varies from week-to-week. Is there a formula/function that I can input that will know how to reference the last line? When copying and pasting, the references aren't changing as they should, and I'm left with #REF! all over the place! Thanks for any advice!

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996
    Would this work for you?:

    =INDEX(A:A,MATCH(10^10,A:A),1)

    It returns the value of the last numeric item in col A.

    Regards,
    Ron
    Last edited by Ron Coderre; 06-13-2005 at 11:05 AM.

  3. #3
    Registered User
    Join Date
    06-10-2005
    Posts
    4

    yes!

    Yes, that works marvelously... will it work with the entire row being referenced?

  4. #4
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996
    Yes..with adjustments:
    =INDEX(5:5,1,MATCH(10^10,5:5))

    That formula will return the last numeric item in row 5.

    Does that help?

    Ron

  5. #5
    Registered User
    Join Date
    06-10-2005
    Posts
    4

    :)

    Thanks so much!

+ 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