+ Reply to Thread
Results 1 to 3 of 3

Search()

  1. #1
    Registered User
    Join Date
    10-30-2003
    Posts
    49

    Search()

    I am currently using search() to return everything to the left of "-", but am having trouble getting it to work to retrieve everything to the right of "-". Any thoughts?

    Please Login or Register  to view this content.
    Thanks in Advance,
    TimE

  2. #2
    Forum Expert
    Join Date
    01-12-2007
    Location
    New Jersey
    Posts
    2,127
    Try this and let me know if it works:

    =IF(LEN(M2)=0,"",IF(COUNTIF(M2,"*-*")>0,RIGHT(M2,LEN(M2)-SEARCH("-",M2,1)),M2))

  3. #3
    Registered User
    Join Date
    10-30-2003
    Posts
    49
    Thank you for pointing out the obvious. Don't know why I made it harder than it was.

    Thanks

+ 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