+ Reply to Thread
Results 1 to 3 of 3

Finding the last cell containing a ceratain string.

  1. #1
    Registered User
    Join Date
    06-14-2011
    Location
    Västerås
    MS-Off Ver
    Excel 2010
    Posts
    14

    Finding the last cell containing a ceratain string.

    So say you've got six rows. On the three first rows you have written "hi" and on the last three you have written bye.

    How do you get the row number of the last cell that has the "hi" string? Is this even possible?

  2. #2
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Finding the last cell containing a ceratain string.

    hi, Erik345, as you have not specified how you need to achieve that, here is a formula solution (array formula is used, upon entering confirmed with Ctrl+shift+Enter)
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    06-14-2011
    Location
    Västerås
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Finding the last cell containing a ceratain string.

    Thanks! Though I need it in VBAscript..

+ 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