+ Reply to Thread
Results 1 to 3 of 3

How to combine IF, IFERROR & VLOOKUP? Or Alternative

  1. #1
    Registered User
    Join Date
    02-14-2018
    Location
    Oxford
    MS-Off Ver
    2010
    Posts
    1

    How to combine IF, IFERROR & VLOOKUP? Or Alternative

    Hi All,

    I currently have a sheet where I need to check if an invoice number is on a categorisation sheet and if so, to return the Priority assigned to it.

    I have a IFERROR & VLOOKUP combo formula which will either return the Priority if the invoice number is there, or return "Not Listed" if the invoive number if it is not listed on the categorisation sheet.

    However, there are some invoices listed on the categorisation sheet, which do not have a priority assigned. This means, with the current formula, for these invoices a value of zero is returned.

    Is there a way to add to the formula so that any zero's instead show as "No Priority"?

    Current formula is =IFERROR(VLOOKUP(...................),"Not Listed")

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,748

    Re: How to combine IF, IFERROR & VLOOKUP? Or Alternative

    IFERROR ( IF ( Vlookup() = 0, "No Priority", Vlookup() ) , "Not Listed")
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: How to combine IF, IFERROR & VLOOKUP? Or Alternative

    this is one way... =IF(IFERROR(VLOOKUP(A2,C:C,1,FALSE),"")="","Not Listed","")

    or this... or =IF(IFERROR(VLOOKUP(A10,C:C,1,FALSE),"")="","Not Listed",VLOOKUP(A10,C:C,1,FALSE))
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

+ 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. [SOLVED] How to combine IFERROR VLOOKUP SUBSTITUTE Function Across Multiple Tables
    By jerung3000 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-22-2020, 12:28 PM
  2. [SOLVED] Combine VLOOKUP and IF with specific values (and IFERROR)
    By njs27 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-09-2020, 12:32 PM
  3. Combine Vlookup with iferror and sums it up
    By gill123 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 02-13-2018, 01:49 PM
  4. How to combine IF, IFerror and Vlookup formula?
    By jgomez in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-30-2016, 04:10 AM
  5. Replies: 10
    Last Post: 11-06-2012, 08:31 AM
  6. [SOLVED] Writing code for a function to combine iferror and vlookup
    By tommyko in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-31-2012, 05:39 PM
  7. IFERROR (alternative)
    By mxblast in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-06-2009, 12:55 PM

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