Results 1 to 3 of 3

Thread: Lookup (XP)

  1. #1
    New Lounger
    Join Date
    Dec 2001
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Lookup (XP)

    I have a table that has gauges in col1, headings for col2 through col8 and data in b2:h10. Is it possible to use criteria from col1 and the headings (a2:a8) and find the answer in the data? As an example, if the info I want is for gauge 15 in a4 and the heading I need is e1, then the info I need would be in e4. Can't seem to make vlookup or hlookup work.

    Thanks. Kim

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Lookup (XP)

    Say that the gauge you're looking for is stored in D18 and the heading in D19. You can use INDEX and MATCH as follows:

    =INDEX($B$2:$H$10,MATCH(D18,$A$2:$A$10,0),MATCH(D1 9,$B$1:$H$1,0))

  3. #3
    New Lounger
    Join Date
    Dec 2001
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Lookup (XP)

    Thanks, Hans

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •