Help with a formmula change in a "flag" parameter!
We're nearly there then, this should do it:
=IF((H4="")+(K4<""),"",IF(S4="Sent","Client Failed to Enroll on Time",
IF((TODAY()WORKDAY(H4,10,AA4:AA12))+
(TODAY()H4+45)*(LEFT(N4,6)="Hudson"),
"Return Referral Form to Referent","")))
"Danny Boy" wrote in message
...
Hi Steve!
When most students were given 10 days to enroll, this DID NOT COUNT
weekends
or holidays, and as such, the "Return Referral Form to Referent" was
flagging at approximately 14 days (a few days more if there was a holiday
involved). This will continue to work fine for all NON HUDSON students.
However, when we began seeing students in Hudson, this school system gives
them up to 45 days to enroll, but DOES COUNT weekends and holidays.
Given the current forumla, these Hudson students are flagging at
approximately day 63 as you said, becasuse $AA$4:$AA$12 is the piece of
the
current formula that gives students extra enrollment time in order to not
penalize them when a weekend or holiday occurs.
In addition, Hudson students have to complete their class within 90 days
of
their referral, so this could be a problem if the enrollement deadline
flag
occurs at day 63. It would be difficult to enroll and complete with only
27
days left to go.
I think the fix will be this.........
Any student identified as being in a Hudson class (Column N) should flag
"Return Referral Form to Referent" at day 45 (not counting weekends or
holidays). With all other students, we can leave the 10 days to enroll as
is,
as well as continuing to factor in weekends and holidays as we had been
doing
up to this point. Does that make sense?
So I suspect that the formula will have to ignore the holiday allowances
($AA$4:$AA$12) when a student is identified in Column N as taking a Hudson
class.
Thanks again so much for your help Steve!
Dan
"Danny Boy" wrote:
The formula I have below in Column R works just fine. It creates a flag
for
me (in Column R) that lets me know one of two things: €śClient Failed to
Enroll on Time€ť, and €śReturn Referral Form to Referent€ť. Here is that
formula:
=IF(H4="","",IF(K4<"","",IF(S4="Sent","Client Failed to Enroll on
Time",IF(AND(K4="",TODAY()WORKDAY(H4,10,AA4:AA12) ),"Return Referral Form
to
Referent",""))))
The one change (addition) that Id like to make, is this:
If Column N is toggled to say €śHudson Sat. & Sun.€ť, than Id like the
following portion of the formula above to change:
TODAY()WORKDAY(H4,45,AA4:AA12))
Please note, that the only change in the string of formula above is the
reference to when the flag €śReturn Referral Form to Referent€ť is
triggered.
In the original formula, this flag triggers in 10 days (excluding
holidays
and weekends) from the date of the referral (which we identify in column
H).
If Column N is toggled to say €śHudson Sat. & Sun.€ť, than I want to EXTEND
the
length of time in which this flag would trigger (making it trigger at 45
days-as opposed to 10). The 45 days would continue to exclude weekends
and
holidays as was true with the 10 day parameter.
Thanks in advance for any help!
Dan
|