+ Reply to Thread
Results 1 to 5 of 5

Best way to cross-reference a numberic index

  1. #1
    Forum Contributor
    Join Date
    06-11-2012
    Location
    Edmonton, Canada
    MS-Off Ver
    Excel 2010
    Posts
    124

    Best way to cross-reference a numberic index

    I have two variables that I wish to keep track of. One is hit dice, and the other is points. The column on the left is the hit dice which has an associate cost on the right. What is the best way for excel to reference the values to generate a cost?

    1 1
    2 2
    3 4
    4 5
    5 6
    6 7
    7 8
    8 10
    9 13

    Cheers,
    Last edited by Joah; 06-14-2012 at 01:28 AM.

  2. #2
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Best way to cross-reference a numberic index

    What's the result shoudl be?

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,040

    Re: Best way to cross-reference a numberic index

    Here try this:

    =LOOKUP(D6,{1,2,3,4,5,6,7,8,9},{1,2,4,5,6,7,8,10,13})

    That can be shortened in this particula example as:

    =LOOKUP(D6,ROW($A$1:$A$9),{1,2,4,5,6,7,8,10,13})
    Never use Merged Cells in Excel

  4. #4
    Forum Contributor
    Join Date
    06-11-2012
    Location
    Edmonton, Canada
    MS-Off Ver
    Excel 2010
    Posts
    124

    Re: Best way to cross-reference a numberic index

    Thank you for your reply,

    If I copy and paste this in the function ribbon of a cell it just prints "
    =LOOKUP(D6,{1,2,3,4,5,6,7,8,9},{1,2,4,5,6,7,8,10,13})" in the cell (and does nothing).

    hmm,

  5. #5
    Forum Contributor
    Join Date
    06-11-2012
    Location
    Edmonton, Canada
    MS-Off Ver
    Excel 2010
    Posts
    124

    Re: Best way to cross-reference a numberic index

    I am only two-days old ... with Excel heh heh, so yeah, but I very much appreciate this forum. I found my answer by searching vlookup function. Excel is nice as it has a menu system that a person can more or less follow.

    Cheers,

+ 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