+ Reply to Thread
Results 1 to 2 of 2

Complex Look Up

Hybrid View

  1. #1
    Registered User
    Join Date
    08-12-2013
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    3

    Complex Look Up

    I have a cell that does a lookup

    I now need to add a facility that alters the results depending on a number.
    For example:

    I have it as
    =LOOKUP(I6,{0,10,20,30},{"N","BV","AV","HD"})

    I now need the results to change depending on the number I put in a different cell. For example if I put in:

    4 (I need it to give me N, BV, AV or HD)
    3 (it gives me N.75, BV.75, AV.75 or HD.75)
    2 (it gives me N.5, BV.5, AV.5 or HD.5)
    1 (it gives me N.25, BV.25, AV.5 or HD.5)

    Please help?

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Complex Look Up

    Try this...

    Data Range
    D
    E
    F
    G
    H
    I
    6
    N.25
    BV.25
    AV.25
    HD.25
    10
    7
    N.5
    BV.5
    AV.5
    HD.5
    3
    8
    N.75
    BV.75
    AV.75
    HD.75
    BV.75
    9
    N
    BV
    AV
    HD

    This formula entered in cell I8:

    =LOOKUP(I6,{0,10,20,30},CHOOSE(I7,D6:G6,D7:G7,D8:G8,D9:G9))
    Last edited by Tony Valko; 08-30-2013 at 10:13 AM.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Complex sum value
    By PJ83 in forum Excel General
    Replies: 3
    Last Post: 06-22-2011, 11:24 AM
  2. Complex AND OR IF
    By EISIMINGER in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-05-2009, 09:55 AM
  3. Very Complex
    By Dregun in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-25-2007, 05:56 PM
  4. Complex Index Match Help (or at least complex to me)
    By Jennifer Reitman in forum Excel General
    Replies: 3
    Last Post: 08-10-2006, 03:55 PM
  5. Too complex?
    By flinee in forum Excel General
    Replies: 0
    Last Post: 03-10-2005, 11:16 PM

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