1. Welcome! Please take a few seconds to create your free account to post threads, make some friends, remove a few ads while surfing and much more. ClutchFans has been bringing fans together to talk Houston Sports since 1996. Join us!

Excel Experts

Discussion in 'BBS Hangout' started by Bruce, Jun 21, 2010.

Tags:
  1. Bruce

    Bruce Member

    Joined:
    Apr 23, 2003
    Messages:
    560
    Likes Received:
    10
    I have been given a list of 2000 some-odd web URLs, which contain the names of the schools to which they belong. My task is to type the full name of the School into the adjacent column. Doing this manually will take hours upon hours, and I know Excel has the power to perform many different actions. So, my question is this: is there a function that will search for a specific text in column X and, if the specified text is found, place another specified text the adjacent cell of column Y?
     
  2. SwoLy-D

    SwoLy-D Member

    Joined:
    Jul 20, 2001
    Messages:
    37,618
    Likes Received:
    1,456
    Example?
    Do you mean you want to take out the "www. .edu" and only write "utexas" on the right column? Is that it?? :confused:
     
  3. Bruce

    Bruce Member

    Joined:
    Apr 23, 2003
    Messages:
    560
    Likes Received:
    10
    Yeah, only the left column would have the name of the school.
     
  4. Bruce

    Bruce Member

    Joined:
    Apr 23, 2003
    Messages:
    560
    Likes Received:
    10
    This is more what the links look like.

    There are multiple URLs with blanksville.ms.
     
  5. SwoLy-D

    SwoLy-D Member

    Joined:
    Jul 20, 2001
    Messages:
    37,618
    Likes Received:
    1,456
    Well, OK... output would be different, but... where do you get the names of the schools? :confused: From the right cell that contains the URL?

    If this is the case, I could think of one way in Linux using wget to retrieve the TITLE tags of the URL of the school and getting the name.

    OK, so you posted the example... yeah, you can get a substring before the .edu and to the next dot.

    For example: something.somethingelse.university.edu
    It can write "university.edu" on the right with the right "replace", "search", "substitute" or "right" method.

    It seems to me you're not even trying, man. :grin:
     
  6. Bruce

    Bruce Member

    Joined:
    Apr 23, 2003
    Messages:
    560
    Likes Received:
    10
    I know the names of the schools.
    With "Find" I can search for all the instances of blanksville.ms and then paste the name in to other column. I was just wondering if there was a way to have the program do it. You know, if it finds 45 cells in column D that contain blanksville.ms It will then place Blanksville Middle School into the corresponding cell in Column B.
     
  7. Bruce

    Bruce Member

    Joined:
    Apr 23, 2003
    Messages:
    560
    Likes Received:
    10
    Sorry, I don't really know anthing about Excel
     
  8. Mango

    Mango Member

    Joined:
    Sep 23, 1999
    Messages:
    10,229
    Likes Received:
    5,679
    Then, what are you strongest in?

    Perl
    PHP
    C#
    C++
    Java
    Visual Basic
    Something else?
     
  9. Bruce

    Bruce Member

    Joined:
    Apr 23, 2003
    Messages:
    560
    Likes Received:
    10
    I'm no programmer.
    I just thought I'd find out if it was somthing braindead easy that I just had no idea how to.
     
  10. Depressio

    Depressio Member

    Joined:
    Mar 3, 2009
    Messages:
    6,416
    Likes Received:
    366
    If there are multiple possibilities and it's not very deterministic, it could be very difficult from a programming perspective. If all URL's are of the form www.*.ms.edu and you just want to pluck out the *, that isn't difficult.

    But all you'll be able to do it pluck out the * from the URL. In the utexas.edu example, a program wouldn't know if "utexas" is "University of Texas" or not unless you told it explicitly. And if you're doing that, you might as well just type them all out yourself.
     
  11. Bruce

    Bruce Member

    Joined:
    Apr 23, 2003
    Messages:
    560
    Likes Received:
    10
    Yeah, I figured that was probably the case. Thanks for helping Swoly, sorry I'm not quicker.
     
  12. JuanValdez

    JuanValdez Member

    Joined:
    Feb 14, 1999
    Messages:
    35,097
    Likes Received:
    15,301
    I'm sure Excel can help you out some though. You could do a find/replace to delete the www. and the .edu. Then, you still need to turn utexas into University of Texas, but Yale would already be done.
     
  13. DwangBoy

    DwangBoy Member

    Joined:
    May 6, 2003
    Messages:
    2,136
    Likes Received:
    272
  14. Mulder

    Mulder Member

    Joined:
    Nov 20, 1999
    Messages:
    7,118
    Likes Received:
    81
    Check this website to see if he has anything that might help.

    http://www.cpearson.com/excel/mainpage.aspx

    I learned how to turn "FirstName LastName" in one column into two columns for each value. (helpful for mail merge).

    If there is nothing there that will do it, check out ASAP Utilities. Free download and it might be able to crack what you are trying to do.
     
  15. DwangBoy

    DwangBoy Member

    Joined:
    May 6, 2003
    Messages:
    2,136
    Likes Received:
    272
    See if this helps:

    if you have www.universityoftexas.com in Cell A1..

    you can do this.. type in B2.. right(A1, len(A1)-4). Then, type in C3.. left(A2, len(A2)-4). Then 'Hide column B, and you'll be left with 'universityoftexas' next to the website.
     
  16. DwangBoy

    DwangBoy Member

    Joined:
    May 6, 2003
    Messages:
    2,136
    Likes Received:
    272
    edit:

    ignore cell numbers above.. use this instead:

    you can do this.. type in B1.. right(A1, len(A1)-4). Then, type in C1.. left(B1, len(B1)-4). Then 'Hide column B, and you'll be left with 'universityoftexas' next to the website.
     

Share This Page

  • About ClutchFans

    Since 1996, ClutchFans has been loud and proud covering the Houston Rockets, helping set an industry standard for team fan sites. The forums have been a home for Houston sports fans as well as basketball fanatics around the globe.

  • Support ClutchFans!

    If you find that ClutchFans is a valuable resource for you, please consider becoming a Supporting Member. Supporting Members can upload photos and attachments directly to their posts, customize their user title and more. Gold Supporters see zero ads!


    Upgrade Now