+ Reply to Thread
Results 1 to 4 of 4

Find the last "TRUE" in a range returning result tells me the row number where it is

  1. #1
    Forum Contributor
    Join Date
    05-19-2012
    Location
    Croatia
    MS-Off Ver
    Excel 2007
    Posts
    200

    Find the last "TRUE" in a range returning result tells me the row number where it is

    In range (Lj9:Lj5000) there are a few occurances of "TRUE"
    I need the formula to tell me in which ROW NUMBER is the last "TRUE" occurance is found?

    The result needs to be in cell (Lj5). I'll put the formula there. I just don't know how to write out the formula?

    Please help! Thanks!
    - Nenad

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Find the last "TRUE" in a range returning result tells me the row number where it is

    hi Nenad, does this work for you?
    =LOOKUP(2,1/(LJ9:LJ5000=TRUE),ROW(LJ9:LJ5000))

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Contributor
    Join Date
    05-19-2012
    Location
    Croatia
    MS-Off Ver
    Excel 2007
    Posts
    200

    Re: Find the last "TRUE" in a range returning result tells me the row number where it is

    Perfect!.. thanks a lot..

    P.S. I just changed your "," commas into ";" colons... for my computer to accept it.

  4. #4
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Find the last "TRUE" in a range returning result tells me the row number where it is

    =lookup(2,1/(lj9:lj5000=true),row(lj9:lj5000))
    Gary's Student

+ 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