+ Reply to Thread
Results 1 to 4 of 4

Want to use 2 IF, IS BLANK, VLOOPUP together

  1. #1
    Registered User
    Join Date
    09-27-2017
    Location
    India
    MS-Off Ver
    2007
    Posts
    14

    Want to use 2 IF, IS BLANK, VLOOPUP together

    Hi everyone,

    I am stuck with a small problem.

    I dont know how to proceed.

    I am attaching the worksheet for better understanding


    In the "INVOICE" sheet -

    Range B11:B31 is the range where I enter the product code and other information is automatically derieved through VLOOPUP
    Range C11:C31 contains the product information. Currently I am using this formulae in these range =IF(ISBLANK(B11),"",VLOOKUP(B11,testinggggggggg.xlsx!All,2,FALSE))

    In the "PRODUCT" sheet I enter the product code, product details, etc
    In the "PRODUCT " Sheet -

    Column O shows SOLD automatically if the product is sold ( Through VBA )

    What I wanted is that in "INVOICE" sheet when i enter the product code in range "B11:B31" It must show "Error " or "N/A" if the product is sold earlier ( If Sheet"Product" - range"o" has "sold" in it.


    Maybe I have to enter another IF in this:

    =IF(ISBLANK(B11),"",VLOOKUP(B11,testinggggggggg.xlsx!All,2,FALSE))

    Is it Possible?
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,147

    Re: Want to use 2 IF, IS BLANK, VLOOPUP together

    Try

    =IFERROR(IF(ISBLANK(B11),"",IF(VLOOKUP(B11,testinggggggggg.xlsx!All,15,FALSE)="Sold","Error",IF(ISBLANK(B11),"",VLOOKUP(B11,testinggggggggg.xlsx!All,2,FALSE)))),"")

    Change "All" named range to A:O

  3. #3
    Registered User
    Join Date
    09-27-2017
    Location
    India
    MS-Off Ver
    2007
    Posts
    14

    Re: Want to use 2 IF, IS BLANK, VLOOPUP together

    Hey Thank you so much for replying

    I am unable to put the formulae.

    can you plz attach the worksheet and shoe me?

    Thank you for your help

  4. #4
    Registered User
    Join Date
    09-27-2017
    Location
    India
    MS-Off Ver
    2007
    Posts
    14

    Re: Want to use 2 IF, IS BLANK, VLOOPUP together

    Hey I was able to implement it.

    How do i do the same thing for Cell O11:O32?

+ 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] VLOOPUP Formula help
    By bordemkills in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-28-2017, 01:23 AM
  2. [SOLVED] Vloopup cant make it work
    By abjac in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-30-2017, 01:45 AM
  3. Drop down list and vloopup in same cell
    By murchy in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 10-29-2013, 10:15 AM
  4. Vloopup VBA help
    By craigmck in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-17-2011, 10:59 AM
  5. Excel 2007 : Match using Index or Vloopup for value
    By Jerseynjphillypa in forum Excel General
    Replies: 3
    Last Post: 10-16-2011, 09:35 PM
  6. [SOLVED] VLOOPUP
    By Fran in forum Excel General
    Replies: 6
    Last Post: 06-08-2006, 09:25 AM
  7. How to convert VLOOPUP error value #NA to 0?
    By Rex in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-26-2006, 08:30 AM

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