+ Reply to Thread
Results 1 to 2 of 2

Vlookup Help (Need to do ISNA and a few IFs within one function)

  1. #1
    Registered User
    Join Date
    08-05-2013
    Location
    Boston, MA
    MS-Off Ver
    Excel 2010 for Mac
    Posts
    60

    Vlookup Help (Need to do ISNA and a few IFs within one function)

    Basically I have a column where there are 1.) numbers (e.g., 38001), 2.) -'s ([ - ]), and 3.) #N/As. I want a function to return ONLY the numbers, i.e., if it has -'s or #N/A's, then return "". So far I can only think of functions that do one or the other, not both. Any tips??

    You are right.. I should have just done that.. here is what I did end up with though (the really hard way)

    =IF(B:B = "-","",IF(ISERROR(VLOOKUP(B8,'Sheet1!$G$6:$H$649,2,0)),"",VLOOKUP(B8,'Sheet1'!$G$6:$H$649,2,0)))
    Last edited by brandnew22; 08-09-2013 at 11:36 AM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Vlookup Help (Need to do ISNA and a few IFs within one function)

    Hi,

    Assuming your numbers are really numbers (and not string numeric characters) then why not just preface your VLOOKUP with an =ISNUMBER() function. e.g.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ 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. Replies: 5
    Last Post: 03-16-2013, 11:54 AM
  2. If(isna(vlookup function help so that it looks up the text in far right column
    By RSA12985 in forum Outlook Formatting & Functions
    Replies: 0
    Last Post: 03-16-2013, 09:46 AM
  3. ISNA VLookup Function
    By Dr.SUN in forum Excel General
    Replies: 1
    Last Post: 12-13-2011, 05:40 AM
  4. Vlookup and Iserror or Isna function
    By jsohng in forum Excel General
    Replies: 1
    Last Post: 08-30-2010, 02:35 PM
  5. vlookup, IF, and ISNA
    By MMBOLI in forum Excel General
    Replies: 2
    Last Post: 08-17-2006, 11:53 AM

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