+ Reply to Thread
Results 1 to 6 of 6

Return a value e the action was executed after x date and before x date +1

  1. #1
    Registered User
    Join Date
    04-25-2015
    Location
    Potugal
    MS-Off Ver
    2011
    Posts
    3

    Return a value e the action was executed after x date and before x date +1

    Good Afternoon,

    My question is related to an action that has the following requirements, once executed we have 2 results possible, Pass/fail. If is fail, that triggers another action that needs to occur after 24h from the first action.

    In my excel i have the column of dates, and i have in a separate table all the actions that failed the first execution.

    in this second table i am trying to write a formula to confirm and return the value (date) of execution of the trigger action, in order to control and see if all those actions are being done correctly.

    The formula that i am trying to use is: IF(A1:A16<E9;IF(A1:A16>F9;VLOOKUP(G9;B:C;2;FALSE);""))

    But some how the formula is not working

    Thanking in advance for your support,

  2. #2
    Forum Contributor
    Join Date
    08-16-2012
    Location
    Sydney
    MS-Off Ver
    Excel 2019
    Posts
    209

    Re: Return a value e the action was executed after x date and before x date +1

    Hi,

    do you have sample workbook for us to see? and also write down the result you wanted too.

    Cheers
    Albert

  3. #3
    Forum Contributor
    Join Date
    08-16-2012
    Location
    Sydney
    MS-Off Ver
    Excel 2019
    Posts
    209

    Re: Return a value e the action was executed after x date and before x date +1

    Hi,

    It seems like you are missing the statement if A1:A16<E9 equal to true

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Would this help?





    Please don't forget to thank those who helped by clicking on Add Reputation * and please mark thread as "Solved" if your issue has been resolved. (Selecting Thread Tools-> Mark thread as Solved).

  4. #4
    Registered User
    Join Date
    04-25-2015
    Location
    Potugal
    MS-Off Ver
    2011
    Posts
    3

    Re: Return a value e the action was executed after x date and before x date +1

    Thank you for your support, attached i placed an example with the expected result and the calculation that i am using.

    In this calculation what i am finding a challenge, is for the formula to identify the date that i want from the list, and then execute the Vlookup.

    Please give you your thoughts on how to crack this,

    Once again thank you for the support,

    Regards
    Attached Files Attached Files

  5. #5
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,678

    Re: Return a value e the action was executed after x date and before x date +1

    Maybe:

    =(LOOKUP(2,1/($E$2:$E$17=L4+1),$C$2:$C$17)=M4)*L4+1
    Quang PT

  6. #6
    Registered User
    Join Date
    04-25-2015
    Location
    Potugal
    MS-Off Ver
    2011
    Posts
    3

    Re: Return a value e the action was executed after x date and before x date +1

    Thank you for the input,
    the formula worked,
    Can you please clarify the (2;1/ and the *L4+1

    thanking in advance,

+ 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. Replies: 2
    Last Post: 08-16-2013, 10:18 AM
  2. Replies: 2
    Last Post: 06-07-2013, 02:21 PM
  3. [SOLVED] Create Fiscal Year - Lookup Date in Fiscal Month Date Range and Return EOM Date
    By gbriscoe in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-25-2013, 03:29 PM
  4. Replies: 5
    Last Post: 02-10-2012, 12:52 PM
  5. Replies: 1
    Last Post: 06-30-2010, 04:36 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