Results 1 to 14 of 14

Help needed with a formula please

Threaded View

  1. #1
    Registered User
    Join Date
    12-07-2023
    Location
    Tyneham, England
    MS-Off Ver
    Professional 2019
    Posts
    8

    Help needed with a formula please

    Hello - I would be very grateful for help with a formula please.
    Please see sample dataset.

    I need the formula to look at each individual ID and then to return a 'Y' in the row of the Alert with the most recent date (column D) if the ID has had:

    either two or more successive instances of 'Did not attend'

    Or two or more successive instances of 'did not attend' and 'cancelled' (or variations)

    Or two or more successive instances of 'cancelled' and 'cancelled' (or variations)

    Or any variation of 'did not attend' or 'cancelled' as long as there are two or more



    following an instance of 'attended on time' - and additionally, if there is no 'to be attended' set at a future date.

    In the attached example:

    ID 1 has not attended but because they have a future date they don't need an alert

    ID 2 needs an alert as they have had two instances of 'did not attend' or 'cancelled' since attending.

    ID 3 has had two cancellations but has attended since then and so doesn't need an alert.

    ID4 has only had cancellations so needs an alert

    ID 5 has had a variety of cancellations since attending so would need an alert.


    Please note this is sample data in real life the spreadsheet is many 1000s of rows long, so any formula would need to be robust enough to handle a lot of data.

    I would only need to see 'Y' or 'N' on the row with the most recent date.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Improved Formula / i've run out room to extend the current formula / (avdanced code needed
    By pmw19800 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-29-2018, 06:19 AM
  2. date formula help needed with blank cell and monthly assumtions formula needed
    By Michael.Howarth in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-31-2018, 07:47 AM
  3. Replies: 3
    Last Post: 04-06-2016, 12:19 PM
  4. Replies: 1
    Last Post: 01-11-2016, 02:31 PM
  5. Replies: 7
    Last Post: 02-03-2013, 06:25 PM
  6. [SOLVED] index formula needed--how to get a formula to skip columns
    By rsmidtisu in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-02-2012, 11:22 AM
  7. Replies: 3
    Last Post: 09-07-2012, 12:07 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