Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    Jan 2002
    Location
    Trenton, Ontario
    Posts
    175
    Thanks
    0
    Thanked 0 Times in 0 Posts

    2000 (Indirect Function?)

    I have a worksheet that has in cells B3 to B2000 a formula that will return either a blank ("") or a text string. I want a cell on the next page to reference the last cell that shows a text string. Something like
    =indirect("B"& 'the last row between 3 and 2000 in col B on Sheet1 that does not have a value of "")
    Any help would be appreciated.
    Stats
    P.S. The Indirect fuction was the first one that came to my mind that would work, but I'm open to any other suggestions.

  2. #2
    WS Lounge VIP sdckapr's Avatar
    Join Date
    Jul 2002
    Location
    Pittsburgh, Pennsylvania, USA
    Posts
    11,225
    Thanks
    14
    Thanked 342 Times in 335 Posts

    Re: 2000 (Indirect Function?)

    Array formula: (ctrl-shift-enter) to confirm:
    =INDIRECT("B"&MAX(IF(LEN(B3:B2000)<>0,ROW(B3:B2000 ))))

    Steve

  3. #3
    2 Star Lounger
    Join Date
    Jan 2002
    Location
    Trenton, Ontario
    Posts
    175
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: 2000 (Indirect Function?)

    Thank you very much Steve, I had to make a couple of minor adjustments because the formula is going on a different worksheet then the data, but it worked great. I figure I must be learning something off of the Lounge because I even understand WHY it works!!!

    Stats

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •