+ Reply to Thread
Results 1 to 3 of 3

If and vlookup formula help needed

  1. #1
    Registered User
    Join Date
    07-27-2014
    Location
    Southampton UK
    MS-Off Ver
    2007
    Posts
    13

    If and vlookup formula help needed

    Hi all

    I need a bit of help with an IF/VLOOKUP formula.

    I have two tables in separate workbooks - hundreds of enteries per table. I have simplified the data and put both tables on one sheet for ease on the attached.

    I am trying to put the stock value from table 2 (Col K) into table 1 but only if the code and date match in table 2.

    Formula I've been trying is:

    (In B4) =IF(AND(J5:J19=A4,L5:L19="28/12/2015"),VLOOKUP(A4,J:K,2,0),"NIL")

    What I was hoping to achieve is shown on the attached.

    Any help would be greatfully received.
    Attached Files Attached Files

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: If and vlookup formula help needed

    Enter formula in B4 and copy down

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by AlKey; 01-07-2016 at 12:11 PM.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Registered User
    Join Date
    07-27-2014
    Location
    Southampton UK
    MS-Off Ver
    2007
    Posts
    13

    Re: If and vlookup formula help needed

    Thanks AlKey - that works great

+ 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. vlookup formula tweak needed
    By 10 Dollar Bill in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-05-2015, 01:32 PM
  2. VLOOKUP / IF formula needed
    By SwiftandSure in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-20-2014, 09:50 AM
  3. [SOLVED] IF and ISERROR and Vlookup Formula help needed
    By david.keogh15 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-05-2014, 12:36 PM
  4. [Help Needed] vlookup formula
    By tomsheng in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-18-2013, 11:39 PM
  5. VLookUp - If & And Formula *Help Needed*
    By Jonesey_MFC in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-02-2012, 12:21 PM
  6. vlookup needed - or And if formula
    By brendanolear in forum Excel General
    Replies: 3
    Last Post: 02-27-2007, 09:33 AM
  7. Vlookup Formula Needed, Help Please
    By curly88 in forum Excel General
    Replies: 2
    Last Post: 09-28-2006, 04:10 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