Results 1 to 7 of 7

Reset "countif" after specific date is reached

Threaded View

  1. #1
    Registered User
    Join Date
    11-28-2021
    Location
    Zürich
    MS-Off Ver
    Pro plus 2016 (v2110)
    Posts
    4

    Reset "countif" after specific date is reached

    Hello all, hope all well.

    Below is a little project I am working on as I have not been able to find an app that can solve my problem; I have a small dance school that charges 80 money for 8 classes, on an ongoing basis. Students attend same class, same time, each week (e.g. every Friday at 6PM). There are 2-3 classes given on any given day of the week, so each sheet will be related to a specific day and time.

    The students pay for 8 classes in advance (marked in the sheet as “yes”), but if they let me know in advance that they cannot attend the class, then they do not need to pay for that class (excused). If it is a no-show, it counts as class was taken (noted as “no”). They can also chose to take the class on another day, which is noted as “comp” and counts. All of this is being easily counted in the sheet. I get a colour notification of when payment is due based on their pay date, =today, and sum of “=countif yes/no/comp”. So far all good and easy.

    Here is what I have not been able to solve in an elegant way;

    1. All is good and fine for the first 8 classes, the calculation lets me know when next payment is due based on simple formulas. But for next set of 8 classes (e.g. after first payment), it counts also the first “excused” that were linked to the first payment (formula counts the full line). How can I make it only count “excused” from the last “paid on” date (marked red), e.g. how can I “reset” “countif,21:21:”Excused”” to last payment date (cell Q20)? I would manually change the “paid on” date to (in this case to 13 Feb 2022), however how to I make the formula automatically exclude the two “excused” prior to that date (I do not want to delete them, I need to keep them, just in case asked in the future for attendance list)? I want all formula based as I cannot update the formula manually for each student, which also leads me into next question;

    2. How do I duplicate this for 50 students in a smart way? At the moment it simply looks at the date and if any of the dates on line 20 = E20 then red, but I rather need the cell on the student line to turn red (e.g. student 2 should pay after 8 “yes”, so 30 Jan 2022 should turn red)

    While I find it super fun working in excel and solving small problems like this, I have not been able to tackle these two yet.

    Thanks in advance,
    Roz
    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] Identify specific numeric values in a cell such as "1" without counting "11" as two "1"s
    By MHanna39 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-03-2019, 01:35 PM
  2. Replies: 35
    Last Post: 01-13-2016, 02:16 AM
  3. [SOLVED] :confused: Auto pick "specific data" and put it in "specific cells" with date
    By pipsmultan in forum Excel Formulas & Functions
    Replies: 29
    Last Post: 08-27-2014, 03:31 AM
  4. Auto Pick Only "Specific Day & Date" & put in "specific cells" Vertically
    By pipsmultan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-25-2014, 01:24 AM
  5. [SOLVED] CountIf Date Equals Specific "Month" Across Multiple Columns
    By molson1973 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-31-2014, 01:12 PM
  6. Using DMIN to evaluate "less than" or "greater than" a specific date
    By williams485 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-01-2012, 12:45 PM
  7. Replies: 3
    Last Post: 04-24-2006, 01:35 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