+ Reply to Thread
Results 1 to 3 of 3

Changing variables

  1. #1
    Registered User
    Join Date
    08-20-2009
    Location
    NY
    MS-Off Ver
    Excel 2003
    Posts
    2

    Smile Changing variables

    Hi All,

    I'm kind'a new to excel, and I need something basic (I hope)
    I need to create a text with variables and generate new text according to the new variables

    for example:

    My text:

    "I'm Var1 and I like to Var2"

    Var1= Sweet, Big, Nice
    Var2= Dance, Smile, jump


    Now I want to generate 3 new sentences from that:

    - I'm Sweet and i like to Dance
    - I'm Big and I like to Smile
    - I'm Nice and I like to Jump

    Is that possible? if so, how?

    Many thanks,
    Max

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Changing variables

    Not really clear ... let's say you want to create the three strings in A1:A3

    A1: ="I'm "&INDEX({"Sweet","Big","Nice"},ROWS(A$1:A1))&" and I like to "&INDEX({"Dance","Smile","Jump"},ROWS(A$1:A1))

    copied to A2:A3

  3. #3
    Registered User
    Join Date
    08-20-2009
    Location
    NY
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Changing variables

    Thanks : )

    But I was hoping that in A1 I'll have the basic sentence, and then on A2 and A3 have Var1 and Var2

    And the output could be in a new Spreadsheet tab within the same file

    Is that possible?

+ 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.6.0 RC 1