+ Reply to Thread
Results 1 to 6 of 6

Trouble looking up a text and bringing back something if a value is >= a specific date

Hybrid View

  1. #1
    Registered User
    Join Date
    05-31-2012
    Location
    PA
    MS-Off Ver
    Excel 2007
    Posts
    53

    Trouble looking up a text and bringing back something if a value is >= a specific date

    Good Morning - I have been trying all kinds of formulas (search, find, match, vlookup, etc.) and I am just not getting back what I want to see. so Picture column A has a list of 1,000's of names (some multiple times). Column C has a date. In column F I have removed the duplicates and have all of the names listed only once. Next to those names, I want to find that name in the list of thousands everytime it appears and if Column C in any of those cases is > or = a date I am looking at in a certain cell then I want it to bring back a 1. If the date is not then I want it to bring back blank "". I know how to do the if statement perfectly and I can throw a vlook-up in the middle but unfortunately I am off a bit because vlookup only locates the first time the name would be in the list and maybe the 2nd time it's in the list it has a date that is > or = to the one I am looking for so should be pulling back the "1" that I want to see.

    Please let me know if this is too confusing but really am just looking for the middle of the if formula that will help me look at the name in the list and the date that goes with it to be able to complete my if statement.

    Thank you all in advance!!

    MR22
    Attached Files Attached Files
    Last edited by MR22; 02-26-2018 at 11:42 AM. Reason: adding attachment

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Trouble looking up a text and bringing back something if a value is >= a specific date

    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? Please don't attach a picture of one (no-one will want to re-type all your stuff before starting).

    1. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential information is removed first!!

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Registered User
    Join Date
    05-31-2012
    Location
    PA
    MS-Off Ver
    Excel 2007
    Posts
    53

    Re: Trouble looking up a text and bringing back something if a value is >= a specific date

    Thank you. Added attachment.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Trouble looking up a text and bringing back something if a value is >= a specific date

    In K10, copied down:
    =IFERROR(INDEX($A$10:$A$17,MATCH(0,INDEX(COUNTIF($K$9:$K9,$A$10:$A$17),0),0)),"")

    In J10, copied down:
    =IF(SUMPRODUCT(($A$10:$A$17=K10)*($C$10:$C$17>=$C$7))>0,1,"")
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    05-31-2012
    Location
    PA
    MS-Off Ver
    Excel 2007
    Posts
    53

    Re: Trouble looking up a text and bringing back something if a value is >= a specific date

    Thank you!!!

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Trouble looking up a text and bringing back something if a value is >= a specific date

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

+ 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. Countif bringing back Value Error.
    By Cbirchfi in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 09-06-2016, 01:09 PM
  2. Indexing bringing back value of row below the one it should?
    By jonnegri in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-26-2014, 04:26 PM
  3. Replies: 4
    Last Post: 05-07-2014, 11:20 AM
  4. [SOLVED] VBA not bringing back the correct date
    By jonathan.haynes in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-31-2013, 06:55 AM
  5. [SOLVED] Stop Vlookup bringing back 0's or #REF! and bring back blanks instead
    By Carling73 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-30-2013, 04:43 PM
  6. [SOLVED] Excel 2007 : Bringing Back the final date/time combo of multiple calls
    By Icehockey44 in forum Excel General
    Replies: 9
    Last Post: 05-24-2012, 05:27 AM
  7. Excel 2007 : Lookup - bringing back more than one value
    By csalcido in forum Excel General
    Replies: 2
    Last Post: 04-23-2012, 01:59 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