+ Reply to Thread
Results 1 to 6 of 6

returning a value if it meets conditions

  1. #1
    Registered User
    Join Date
    02-20-2019
    Location
    canada
    MS-Off Ver
    Excel 2016
    Posts
    3

    returning a value if it meets conditions

    Hi there! I'm building a certification training tracker that essentially tracks the name of people, the certificates they've completed, and the expiry date of the certification.

    I'm trying to figure out a formula that will return the name of a person if they have completed AT LEAST 4 training certifications that HAVE NOT expired (for reference ,red means that they will expire in less than 1 month, green means they will expire in more than one month, and orange highlights mean that they have already expired)

    the formula I could come up with so far is : =IFERROR(INDEX($A$4:$A$12,SMALL(IF(B4:L12>TODAY(),ROW($B$4:$B$12)-ROW($B$4:$L$12)+1),ROWS($B$4:$L$12))),"") --> but this did not give me the right names




    THANK YOU SO MUCH FOR YOUR HELP!!!!
    Attached Files Attached Files
    Last edited by newtoexcelhelpme; 02-20-2019 at 09:56 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Business (Win 10 - Work) & MS 365 Subscription Insider (Win 10 - Home)
    Posts
    42,107

    Re: returning a value if it meets conditions

    Welcome to the forum!

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    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.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

  3. #3
    Registered User
    Join Date
    02-20-2019
    Location
    canada
    MS-Off Ver
    Excel 2016
    Posts
    3

    Re: returning a value if it meets conditions

    Thanks for letting me know-- I've gone ahead at attached the document

  4. #4
    Valued Forum Contributor
    Join Date
    11-02-2016
    Location
    NY
    MS-Off Ver
    2010
    Posts
    371

    Re: returning a value if it meets conditions

    Create a formula that SUMs the cells where Target Date is Greater Than EACH Certificate Date. Perhaps in Column M or N put
    Please Login or Register  to view this content.
    - maybe put target date in cell L1 . You can modify the formula and add the the cells i didn't include (G through L). But by way of example this should get you going. I should have added formula to compare Sum is greater than 4..... perhaps = if( x >4, "Has 4 or More", "has less than 4")
    Last edited by queuesef; 02-20-2019 at 10:15 AM.

  5. #5
    Registered User
    Join Date
    02-20-2019
    Location
    canada
    MS-Off Ver
    Excel 2016
    Posts
    3

    Re: returning a value if it meets conditions

    Thanks for the suggestion! However, I was hoping to have the names of the people (ie those under column A) come up in the B15 (Names of those Certified). I have the formula for the number of fully certified members with 4 or more certifications, but now i'm hoping to devise a formula where by it will give me the names of those four people.

  6. #6
    Valued Forum Contributor
    Join Date
    11-02-2016
    Location
    NY
    MS-Off Ver
    2010
    Posts
    371

    Re: returning a value if it meets conditions

    If you make your list a Filtered Table, then you will have the names. For example, if you have the formula in Column M, then you could filter that column for those with the sum of 4 or More... your names will hide those not having less than 4, and show those having more than 4. Work with me....! : )

+ 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] Excel 2013 + Help returning text that meets 2 conditions on 2 separate sheets
    By robinc1969 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-11-2015, 03:38 PM
  2. [SOLVED] Need help returning text if Data meets certain criteria
    By sumner06 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-24-2014, 01:06 PM
  3. formula required which meets 12 conditions
    By kiany406 in forum Excel General
    Replies: 2
    Last Post: 06-27-2011, 07:41 AM
  4. Delete row that meets conditions and the one below
    By Turbobiker in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-26-2009, 05:06 AM
  5. Returning Data from an array only if it meets certain criteria
    By Jantzev in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-02-2008, 07:57 PM
  6. Returning only if it meets criteria
    By sabunabu in forum Excel General
    Replies: 3
    Last Post: 10-22-2007, 07:05 PM
  7. sum column when it meets certain conditions
    By jimswinder in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-21-2006, 01:45 PM

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