+ Reply to Thread
Results 1 to 8 of 8

Find variables occurring between status changes

  1. #1
    Registered User
    Join Date
    02-01-2021
    Location
    Birmingham
    MS-Off Ver
    2016
    Posts
    27

    Find variables occurring between status changes

    Hello everyone,
    I have attached an example workbook showing records of 2 tests carried out with outcomes of "normal" or "abnormal", and the dates of 2 variables (in reality I have 100s). I need a way of identifying which variables were present between test dates where there is an outcome change from "normal" to "abnormal" or from "abnormal" to "normal".
    ie. a way of searching through the test outcomes and finding where 2 consecutive outcomes are not the same; identifying the range between the dates this change occurs; searching through the dates of Variable1,Variable2... to find if any variables are within the time range where the change occurred; outputting the direction/type of change (normal->abnormal or abnormal->normal) into a column next to the variable date

    I have absolutely no idea where to start with this or if it is even possible... Any ideas??? Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Exclamation Re: Find variables occurring between status changes


    Why this duplicate thread ?‼

    Better to read forum rules before creating any thread …

  3. #3
    Registered User
    Join Date
    02-01-2021
    Location
    Birmingham
    MS-Off Ver
    2016
    Posts
    27

    Re: Find variables occurring between status changes

    Hi, this isn't a duplicate thread I am asking a different question to my previous post?
    The example databases are a similar layout however the problems I have asked for help with are completely unrelated. I don't know if I have explained badly or you have misread so please let me know if further clarification on my question is needed, thanks.

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,986

    Re: Find variables occurring between status changes

    Assuming that you want the output in columns AB:AC and AE:AF, please manually show us the output that you would like formulas/code to produce, so that we have something with which to compare the results of our proposals.
    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.

  5. #5
    Registered User
    Join Date
    02-01-2021
    Location
    Birmingham
    MS-Off Ver
    2016
    Posts
    27

    Re: Find variables occurring between status changes

    Please see the edited worksheet that hopefully illustrates what I'm after.
    Please note, I have coloured the text/cells of the tests that correspond to the outputs so that they can be referred to easier however I am not interested in having this formatting in the actual output.
    It is also be worth mentioning that the test type of test2 is irrelevant to the output of the desired calculation, I have simply included it to illustrate the different test layouts I have in case this affects the actual calculations.
    Where there has been a status change between two tests, I am looking for variables occurring >= [Date of the earlier test] and < [Date of the later test].
    Thank you
    Attached Files Attached Files

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,986

    Re: Find variables occurring between status changes

    The basic structure for the four formulas is (as modeled in cell AB3):
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.

  7. #7
    Registered User
    Join Date
    02-01-2021
    Location
    Birmingham
    MS-Off Ver
    2016
    Posts
    27

    Re: Find variables occurring between status changes

    Sorry for late reply! thank you so much, this works

  8. #8
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,986

    Re: Find variables occurring between status changes

    Been away for a while and just seeing post #7.
    You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.

+ 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. Find most occurring name in the column
    By ABSTRAKTUS in forum Excel General
    Replies: 13
    Last Post: 02-18-2020, 11:32 AM
  2. How to find the most SEQUENTIAL occurring numbers in 1 column
    By rebel870 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-10-2019, 09:55 PM
  3. how to find most To most frequently occurring numbers in a column
    By eddie01001 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-10-2019, 07:32 PM
  4. Find a set of re-occurring values in more than one columns
    By demice in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-28-2019, 01:28 AM
  5. [SOLVED] Is this possible?? Find most commonly occurring words in a cell
    By lukesmith7 in forum Excel General
    Replies: 6
    Last Post: 08-28-2014, 11:59 AM
  6. Find and display the most occurring word in a row.
    By SMLTL in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-30-2013, 07:52 PM
  7. Find most occurring text within a Table column
    By XxCMoneyxX in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-27-2012, 09:44 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