+ Reply to Thread
Results 1 to 3 of 3

Vlookup on a condition

  1. #1
    Forum Contributor
    Join Date
    05-26-2008
    Posts
    122

    Vlookup on a condition

    Can someone explain why this is not working
    V5 is the link cell to a combo box. Based on the value of that cell (V5)
    I want to be able to vlook up the name associated with it.
    Except i want that value to come from I3 if the value in cell (v5) is 1,9,or17

    Right now, even if the value in V5 is 1, it still doing the vlookup instead of making it the value of I3 :S

    =IF(V5=(OR(1,9,17)),I3,VLOOKUP(V5,$AL$1:$AO$32,3,FALSE))

    Please help.. Thanks !

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    tRY:

    =IF(OR(V5={1,9,17}),I3,VLOOKUP(V5,$AL$1:$AO$32,3,FALSE))
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Contributor
    Join Date
    05-26-2008
    Posts
    122
    dat worked.. thanks !!

+ 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