+ Reply to Thread
Results 1 to 2 of 2

Is this possible?

  1. #1
    Registered User
    Join Date
    12-08-2006
    Posts
    1

    Is this possible?

    Hello I was wondering if anybody could help me out here. I have this game where you build spaceship and the standard naming system is pretty boring they just give it number.

    I was wondering if it's possible to make a list or lists of names and have excel choose from the lists and create a name sort of like this.......

    List 1
    Fire
    Snow
    Hammer
    Death

    List 2
    Bird
    Hawk
    Lizzard
    Claw

    So it would come up with Fire Claw, Snow Bird something like that.

    I don't use excel that much but my wife who does says that it is possible she just dosen't know how to do it.

    Any help would be greatly appreciated!

    Thank You!

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Hi,

    Say List 1 in Col A and List 2 in Col B try

    Change Range to your range. Press F9 to generate a new name

    =INDEX(A2:A5,INT(RAND()*COUNTA(A2:A5))+1)&" "&INDEX(B2:B5,INT(RAND()*COUNTA(A2:A5))+1)


    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

+ 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