+ Reply to Thread
Results 1 to 5 of 5

lists & numbering

  1. #1
    Registered User
    Join Date
    07-01-2008
    Location
    England
    Posts
    2

    lists & numbering

    hey

    i'm wondering if anyone can help with a formula for the following example:

    i would like cell a1 to contain http://www.example.com/100.gif then http://www.example.com/101.gif to be entered into cell a2 automatically etc.

    http://www.example.com/102.gif
    http://www.example.com/103.gif
    http://www.example.com/104.gif
    http://www.example.com/105.gif

    thanks in advance

    ross

  2. #2
    Forum Contributor
    Join Date
    01-18-2005
    Location
    Auckland New Zealand
    MS-Off Ver
    Office Professional 2007
    Posts
    295

    Custom format will do it

    Try a custom format:

    "http://www.example.com/"###0".gif"

    Then enter 100, 101 in first two cells, then highlight these two, and fill down.

    Regards
    Mike

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Tryy:

    =LEFT(A1,FIND(".com/",A1)+4)&TEXT(MID(A1,FIND(".com",A1)+5,3),"000")+1&RIGHT(A1,4)

    copied down... where A1 house first entry

    Edit:

    If you want to retain Hyperlinks, then:

    =HYPERLINK(LEFT(A1,FIND(".com/",A1)+4)&TEXT(MID(A1,FIND(".com",A1)+5,3),"000")+1&RIGHT(A1,4))
    Last edited by NBVC; 07-01-2008 at 04:49 PM.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  4. #4
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Hi,

    Welcome to the forum, does this help?
    Attached Files Attached Files
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  5. #5
    Registered User
    Join Date
    07-01-2008
    Location
    England
    Posts
    2
    amazing thanks guys especially oldchippy!

+ 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