+ Reply to Thread
Results 1 to 21 of 21

VLOOKUP - N/A error

Hybrid View

  1. #1
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: VLOOKUP - N/A error

    with Vlookup first without changing anything.......

    Formula: copy to clipboard
    =VLOOKUP(I2,IF(I2="YES",CHOOSE({1,2},I2,F2*0.5),CHOOSE({1,2},I2,F2)),2,0)
    Attached Files Attached Files
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  2. #2
    Registered User
    Join Date
    10-12-2014
    Location
    USA
    MS-Off Ver
    15
    Posts
    11

    Re: VLOOKUP - N/A error

    Quote Originally Posted by humdingaling View Post
    with Vlookup first without changing anything.......
    CHOOSE
    I tried to do it just with the included ifs instead, but it didn't work. Is there a way to use the regular formulas along the vlookup? "choose" seems unfamiliar to me.
    Also, what do these braces:
    Quote Originally Posted by humdingaling View Post
    [FORMULA]=CHOOSE({1,2},I2,F2*0.5)
    {} - mean? It seems that in this case the formula "choose" always returns the first value, which is I2.
    If you put: "{2,1} in these braces, then it will return the second value, which is F2*0.5

    BTW, does anyone know why vlookup stops working if for table array parameter you set two different columns that have a gap? I thought parentheses solve this issue of including columns that are separated by a gap...
    Quote Originally Posted by FDibbins View Post
    The syntax of 2 formulas you have presented in your workbook is incorrect
    =VLOOKUP(Q4,($F$2:$F$10,$I$2:$I$10),2,TRUE)
    vlookup cannot use non-contiguous ranges like that.
    So is that it? No way to add "non-contiguous ranges" to "table array" parameter?



    The screenshot, file is attached.
    Attached Files Attached Files
    Last edited by dramadeur; 10-15-2014 at 03:15 AM.

+ 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. Vlookup Error
    By wnstar21 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-07-2014, 02:14 PM
  2. Iferror vlookup if error vlookup if x=Y,
    By rwmeis in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-21-2013, 08:24 PM
  3. How to error trap a vlookup that returns an error or #N/A
    By kjy1989 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-06-2013, 12:01 PM
  4. [SOLVED] lookup - if(is error(vlookup and error messages meanings
    By grphillips in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-18-2013, 07:03 PM
  5. Replies: 0
    Last Post: 05-14-2012, 11:59 PM

Tags for this Thread

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