+ Reply to Thread
Results 1 to 5 of 5

Thread: find sections of text within mulitple urls

  1. #1
    Registered User
    Join Date
    12-02-2011
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    2

    find sections of text within mulitple urls

    Hi,

    I have a spreadsheet with thousands of urls listed - I want to find all urls that have the term 'answerhandle=&' within them - is there a way I can find them & how do I move them into a different workbook?

    Thanks in advance

  2. #2
    Forum Guru Domski's Avatar
    Join Date
    12-14-2009
    MS-Off Ver
    What does it matter?
    Posts
    3,933

    Re: find sections of text within mulitple urls

    Have a look at using the SEARCH function like:

    =ISNUMBER(SEARCH("answerhandle=&",A1))

    This will return TRUE if it finds a match and you can then use autofilter and copy just the matches to a new worksheet.

    Dom
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

    Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.

  3. #3
    Valued Forum Contributor Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens Greece
    MS-Off Ver
    Excel 2003
    Posts
    2,294

    Re: find sections of text within mulitple urls

    Hi CantonMassive.

    My solution is using IF & FIND functions.

    Take a look to the attachement.

    Regards
    Attached Files Attached Files
    Regards

    Fotis.

    I am proud that i am Greek.

    Just to know every one.We Greeks, we are nοt proud of our politicians. Υou?

    Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Please,mark your thread [SOLVED] if you received your answer.


    My Avadar picture, is from Athens Acropolis.
    http://www.theacropolismuseum.gr

    http://www.visitgreece.gr/

  4. #4
    Forum Guru Domski's Avatar
    Join Date
    12-14-2009
    MS-Off Ver
    What does it matter?
    Posts
    3,933

    Re: find sections of text within mulitple urls

    Thinking about it you can just use a custom autofilter and forget about the formula altogether.

    Dom
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

    Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.

  5. #5
    Registered User
    Join Date
    12-02-2011
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: find sections of text within mulitple urls

    Quote Originally Posted by Domski View Post
    Have a look at using the SEARCH function like:

    =ISNUMBER(SEARCH("answerhandle=&",A1))

    This will return TRUE if it finds a match and you can then use autofilter and copy just the matches to a new worksheet.

    Dom
    This is great thanks for the help

+ Reply to Thread

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.2.0