Results 1 to 4 of 4

return row for nth occurrence of text in array

Threaded View

  1. #1
    Registered User
    Join Date
    08-21-2010
    Location
    Omaha, NE
    MS-Off Ver
    Excel 2003
    Posts
    45

    return row for nth occurrence of text in array

    <SOLVED>

    Hello,

    I'll appreciate any help received. I've attached a small Excel 2007 document to demonstrate what I am trying to do and to provide data to ground a discussion.

    I'd like to sort column A and return the row number for the first occurrence of the letter 'a' formulaically (B1). In B2 second cell, I'd like to return the row number for the second occurrence of 'a', and so forth.

    So far I have not come up with a satisfying way of doing this and have not been able to find a post that has accomplished it. I've managed to do everything else without VBA so far, and would like to keep it that way if possible. I've tried combinations of Row(), Match(), Vlookup(), Countif(), and Indirect().

    Thanks!


    Greg
    Attached Files Attached Files
    Last edited by Greg777; 11-08-2010 at 07:04 PM. Reason: SOLVED

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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