vlookup tables
Eliminate Pivot Table Annoyances
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 5 of 5

Thread: vlookup tables

  1. #1
    New Member
    Join Date
    Apr 2002
    Posts
    13
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

     
    I have a column of species names, common names and latin names. I would like the vlookup to look in both to find name and return latin my formula is as follows =vlookup(c2,species!a2:c813,3,false) this works as long as just looking at species name. I change it to =vlookup(c2,species!a2:c183,3,false) and it will look at common names I need both at once time

  2. #2
    MrExcel MVP Al Chara's Avatar
    Join Date
    Feb 2002
    Location
    Newark, Delaware
    Posts
    1,701
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Try the following formula:
    =IF(COUNTIF($A$2:$A$183,C2)>0,VLOOKUP(C2,$A$2:$C$183,3,FALSE),VLOOKUP(C2,$B$2:$C$183,2,FALSE))
    Best regards,
    Allan Chara
    http://www.mrspreadsheets.com

  3. #3
    Board Regular
    Join Date
    Feb 2002
    Location
    Calgary, Alberta Canada
    Posts
    3,329
    Post Thanks / Like
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Default



    try

    =IF(COUNTIF(Species!A2:A813,C2),VLOOKUP(C2,Species!A2:C813,3,FALSE),"")&IF(COUNTIF(Species!B2:B813,C2),VLOOKUP(C2,Species!B2:C813,2,FALSE),"")

  4. #4
    New Member
    Join Date
    Apr 2002
    Posts
    13
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    On 2002-04-17 09:21, Dave Patton wrote:


    try

    =IF(COUNTIF(Species!A2:A813,C2),VLOOKUP(C2,Species!A2:C813,3,FALSE),"")&IF(COUNTIF(Species!B2:B813,C2),VLOOKUP(C2,Species!B2:C813,2,FALSE),"")

  5. #5
    New Member
    Join Date
    Apr 2002
    Posts
    13
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

      
    On 2002-04-17 09:21, Dave Patton wrote:
    this works great

    try

    =IF(COUNTIF(Species!A2:A813,C2),VLOOKUP(C2,Species!A2:C813,3,FALSE),"")&IF(COUNTIF(Species!B2:B813,C2),VLOOKUP(C2,Species!B2:C813,2,FALSE),"")

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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

 

 
DMCA.com