Thanks Rakesh for your reply, yeah I was testing running count for all 3 conditions, but problem was for e.g. RunningCount(..) =4 I had to checksub-total value for RunningCount (..) =5 which was not happening.
But, finally I was able to solve this using function " Relative Value "
e.g. formula below for Yellow-
([Running Count] = 4 And (Sum([IP Quantity]) >= 25 )And ( RelativeValue(Sum([IP Quantity]);([Cal. year / month]);1) = 0)) And ( RelativeValue(Sum([IP Quantity]);([Cal. year / month]);2) = 0)
Thanks all for your help, it was exciting first report in WebI, lot to learn.
BR,
Dipen