+ Reply to Thread
Results 1 to 5 of 5

Excel finding last occurrence of specific character?

  1. #1
    Forum Contributor
    Join Date
    09-10-2016
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    680

    Excel finding last occurrence of specific character?

    The result should be same as InstrRev , but I want to use excel function FIND .

    Because I want to use FIND function in a formula for a range, I believe that below code finds first occurrence of character, which is not what I want. I want a excel function finding last occurence.

    Thanks.


    Please Login or Register  to view this content.
    Last edited by VAer; 10-20-2021 at 01:54 PM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,477

    Re: Excel finding last occurrence of specific character?

    See: https://www.exceltactics.com/reverse...el-using-find/

    That gives you the basics, then see page 2 for what you want: https://www.exceltactics.com/reverse...-using-find/2/
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor
    Join Date
    09-10-2016
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    680

    Re: Excel finding last occurrence of specific character?

    Thanks. I have solved the issue earlier from this link: https://trumpexcel.com/find-characters-last-position/

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,477

    Re: Excel finding last occurrence of specific character?

    Shame you didn't share your solution sooner then

  5. #5
    Forum Contributor
    Join Date
    09-10-2016
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    680

    Re: Excel finding last occurrence of specific character?

    Quote Originally Posted by TMS View Post
    Shame you didn't share your solution sooner then
    Sorry, I was working. Meeting and something, busy, if you did not reply, I would not come back to this post till tonight. The question is just a few hours ago, not long ago, I just solved it less than 2 hours ago.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Find nth Occurrence of a character in a ROw
    By bhenlee in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-29-2016, 04:41 PM
  2. replace EACH Nth occurrence a character in a string with another character
    By mattman7 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-23-2016, 12:23 PM
  3. [SOLVED] Getting the string that follows the last occurrence of a character
    By michaljireht in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-20-2014, 10:25 AM
  4. plz help -> finding the occurrence of the "Adjacent" digit (character)
    By memooo99 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-25-2014, 04:36 AM
  5. [SOLVED] find the character position in a string of the last occurrence of a nominated character
    By jmac1947 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-04-2014, 11:52 PM
  6. [SOLVED] Left/Right function in VBA, finding a specific starting character
    By astronut325 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-24-2012, 01:26 AM
  7. finding specific character in a column
    By LiamF in forum Excel General
    Replies: 2
    Last Post: 04-16-2007, 07:22 AM

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