+ Reply to Thread
Results 1 to 5 of 5

If Else - Vlookup

Hybrid View

  1. #1
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887
    =IF(NOT(ISERROR(VLOOKUP(A2,$D$2:$E$6,1,0))),
    If VLOOKUP(A2,$D$2:$E$6,1,0) does not result in an error (a match is found), then

    VLOOKUP(A2,$D$2:$E$6,2,0),
    do the VLOOKUP and show that result; Else

    IF(NOT(ISERROR(MATCH(A2&" 25",$D$2:$D$6,0))),
    If MATCH(A2&" 25",$D$2:$D$6,0) does not result in an error (a match is found), then

    INDEX($E$2:$E$6,MATCH(A2&" 25",$D$2:$D$6,0))
    do an INDEX/MATCH to show that result (from column E); Else

    "-"))
    show "-".

  2. #2
    Forum Contributor
    Join Date
    02-10-2007
    MS-Off Ver
    Excel 2010
    Posts
    293
    Thanks For The Crystal Clear Explanation, It Helps Alot.

+ 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