One solution: Assign the value(s) you're evaluating to new fields conditionally. Sample:
...| eval DAY=strftime(_time,"%a"),
RUNTIME=if(match(DAY,"Sat|Sun") and !match(jobName,"wkly"),null,runTime),
RUNTIME=if(!match(DAY,"Sat|Sun"),runTime,RUNTIME)
| stats sum(RUNTIME) as RUNTIME by jobName
If the log is on the weekend and does not have wkly in the name, RUNTIME will be null. When DAY is a weekday, set RUNTIME to runTime, else keep the RUNTIME value from the first eval.
... View more