+ Reply to Thread
Results 1 to 3 of 3

Combining Vlookup + If with > <

  1. #1
    Registered User
    Join Date
    06-24-2015
    Location
    London
    MS-Off Ver
    2010
    Posts
    2

    Question Combining Vlookup + If with > <

    Hi I wonder if anyone can help me

    I am trying to create a formula that would fill in column D and E in sheet one with the following information:

    If the part number in sheet 1 the same as in sheet 2, please fill in Column D (in sheet 1) with the earliest date (in sheet 2) after the date column G (sheet 1) from Sheet 2

    Is that confusing or what , sorry

    I have attached a sample of the file

    Thanks

    Tay
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    02-22-2013
    Location
    London, UK
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: Combining Vlookup + If with > <

    In D2 (Sheet1) maybe,

    =MIN(IF((Sheet2!$A$2:$A$15=Sheet1!$A2)*(Sheet2!$C$2:$C$15>Sheet1!$H2),Sheet2!C$2:C$15))

    Array formula, confirm by Ctrl+Shift+Enter

    Is that correctly understood for the first part?

  3. #3
    Registered User
    Join Date
    06-24-2015
    Location
    London
    MS-Off Ver
    2010
    Posts
    2

    Re: Combining Vlookup + If with > <

    Hi Berlan,

    Thanks for your reply. With your formula the result is showing 18/05/2015, its should be 26/05/2015 and 08:08:01 for the time. As this is the next date and time after Column H and 1 in sheet 1 = (26/05/2015 07:05:50)


    Tay

+ 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. Combining an IF fx with a VLOOKUP fx
    By misspeabodi in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-21-2016, 12:27 AM
  2. Combining If and Vlookup..I think?
    By chbrandt in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-07-2013, 08:55 PM
  3. Combining IF and Vlookup
    By preveo in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-14-2013, 11:01 AM
  4. combining vlookup with if?
    By mcarrington in forum Excel General
    Replies: 1
    Last Post: 07-02-2007, 04:14 PM
  5. [SOLVED] combining VLOOKUP and IF
    By z.entropic in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-23-2005, 09:06 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