+ Reply to Thread
Results 1 to 2 of 2

IF(if error) showing #n/a

Hybrid View

HPIMICHAEL02 IF(if error) showing #n/a 04-14-2013, 11:12 AM
benishiryo Re: IF(if error) showing #n/a 04-14-2013, 11:19 AM
  1. #1
    Registered User
    Join Date
    02-24-2012
    Location
    florida
    MS-Off Ver
    Excel 2010
    Posts
    97

    IF(if error) showing #n/a

    good day to everyone,

    im working on this function
    =IF(VLOOKUP(Y4,_CHECKOUTS,1,0)=Y4,"",IFERROR(VLOOKUP(Y4,_CHECKOUTS,1,0),"ED"))

    im trying to compare two things, if the number is in list of numbers in _checkouts it will return the number in y4 which this converts to "blank", the second part is if the number is not on the list _checkouts, it returns "ED" but im getting a #n/a

    thanks in advance

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: IF(if error) showing #n/a

    hi HPIMICHAEL02. not sure what are are you doing. if you only need to check if the number exist, then use COUNTIF. VLOOKUP with the col_index_num as 1 will definitely return you the same value. so maybe:
    =IF(COUNTIF(_CHECKOUTS,Y4),"Y4","ED")

    or if there's something i dont understand, then editing your formula would go like:
    =IF(ISNA(VLOOKUP(Y4,_CHECKOUTS,1,0)),"ED","")

    if all else fails, attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include BEFORE/AFTER sheets if needed to show the process you're trying to complete or automate. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Last edited by benishiryo; 04-14-2013 at 11:22 AM.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

+ 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