+ Reply to Thread
Results 1 to 4 of 4

Adding if error

  1. #1
    Forum Contributor geliedee's Avatar
    Join Date
    10-14-2013
    Location
    Manila, philippines
    MS-Off Ver
    Excel 2007
    Posts
    399

    Adding if error

    Hi guys,

    How to add if error in this formula?


    Please Login or Register  to view this content.
    thanks!

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Adding if error

    This formula will produce error if the Vlookup return #N/A, so you may use it like this.....

    Please Login or Register  to view this content.
    Or

    Please Login or Register  to view this content.
    The first one will return "No" while the second one will return blank.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Adding if error

    =IFERROR(D2=VLOOKUP(A2,'7.GD Add Bank Details'!A:D,4,0),"")
    Try this
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Adding if error

    Just forgot to tell you that you can change the range reference in the suggested formula as per your original formula.

+ 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. Adding a 3rd bar on x-axis, and 3rd error bar
    By cartica in forum Excel Charting & Pivots
    Replies: 10
    Last Post: 08-18-2014, 08:07 AM
  2. Error when adding
    By thathurts in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-29-2014, 06:35 AM
  3. Complile Error: Type Mismatch ??? After adding error trap
    By clemsoncooz in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-22-2012, 03:50 PM
  4. Excel 2007 : #VALUE! error when adding time
    By jhendrix in forum Excel General
    Replies: 3
    Last Post: 01-15-2010, 07:14 PM
  5. [SOLVED] Error when adding web reference
    By blair in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-27-2006, 05:25 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