+ Reply to Thread
Results 1 to 6 of 6

nested if function within specified time frame

  1. #1
    Forum Contributor
    Join Date
    08-22-2016
    Location
    london
    MS-Off Ver
    2013
    Posts
    121

    nested if function within specified time frame

    Hi


    can i use a nested if function with in a specific time fra,e or is there antoher function i could use.

    i have a sheet, which a sample is attached to this thread,

    i need to be able to search a two week period, with five conditions

    so it would be

    IF "V at Fault" column is populated and "Sub System", search two week period for exact match

    IF "V at Fault" column is not populated, then use columns "V1,V2,V3" and "Sub System", search two week period for exact match (only one of the columns from "V1,V2,V3" with "sub System" needs to match
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,185

    Re: nested if function within specified time frame

    "Sub System" is blank ... and what are we matching on?

  3. #3
    Forum Contributor
    Join Date
    08-22-2016
    Location
    london
    MS-Off Ver
    2013
    Posts
    121

    Re: nested if function within specified time frame

    Apologies


    there will be a list in the "System" column and a sub list in the "Sub System" column, so it will be based on what is in the "Sub System" cell


    here is the System list


    list name "systems"

    Air
    ATO
    Auxiliries
    Bogies
    Brakes
    Carbody
    Couplers
    Doors
    RS External
    Traction
    Transmission


    and here is the first sub sysem list


    List name "Air"

    Air Leak
    Compressor failure
    Compressor Not Running
    Excessive Compressor Operation
    Low Air Pressure Indications
    Suitable Code Not Found
    Unusual Compressor Noise

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,185

    Re: nested if function within specified time frame

    Please add these to your file AND add sample expected output.

  5. #5
    Forum Contributor
    Join Date
    08-22-2016
    Location
    london
    MS-Off Ver
    2013
    Posts
    121

    Re: nested if function within specified time frame

    hi thank you for your reply


    i have added the lists to the sample sheet and added the desired output, which is column "Failure Level"

    so normally if there is just one event, then the "Failure level" will be 1, if the there is two events for the criteria then the "failure level" will be 2, if there is three events then the "failure level" wil be 3, f there is four events then the "failure level" wil be 4 etc, up to level 5

    i have used rows 4, 8, 12 and 16 as the example if what the output would look like
    Attached Files Attached Files

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,548

    Re: nested if function within specified time frame

    Try the following formula, pasted into cell R2 and copied down, which yields the same values as those previously placed in column R:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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] how to create nested if function for military time
    By km117 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-19-2022, 04:31 AM
  2. Automate IE11 - Form in nested frame won't work
    By mugginsjr in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-05-2016, 11:12 AM
  3. [SOLVED] Looping through controls by frame on userform (frame within a frame)
    By njs27 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-27-2015, 10:21 AM
  4. [SOLVED] time line adding a specific time frame in each additional cell
    By RobertM01 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-23-2014, 10:22 AM
  5. vlookup time frame to match ceiling time
    By mrprofit in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-22-2014, 03:12 AM
  6. Nested If Function, using 'AND' and 'OR' at the same time
    By jonmel in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-25-2013, 09:55 AM
  7. [SOLVED] Calculate Time between 2 dates and if within time frame
    By halfpint123 in forum Excel General
    Replies: 6
    Last Post: 04-11-2012, 09:45 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