+ Reply to Thread
Results 1 to 2 of 2

substitution

  1. #1
    Cossloffe
    Guest

    substitution

    dear gentleman,

    There is a list of values f.e. 1 till 38, these values will repeat
    themselves..in the list. I would like to assign a number to each of these
    values, the thing is, the list of values is long and mixed. So I want for
    excel to do it for me. how can this be done?

    f.e. value 15 is assigned the number 10 and thus every time it is met on the
    list excel will assign the number 10 for to value 15. who can help me with
    this?


  2. #2
    Forum Contributor
    Join Date
    03-23-2006
    Location
    Vancouver
    Posts
    114

    =vlookup

    Off to the side of your data, or on a separate sheet of your workbook, create a table of the numbers that you want to assign to each value

    e.g.

    Cell AA11 = 10, Cell AB11 = 15
    Cell AA12 = 11, Cell AB12 = 16



    If your numbers from 1 to 38 are in Column A
    Then, as an example, your formula in Cell B2 would be =Vlookup(A2,$AA:$AB,2,FALSE)

+ 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