in reply to Need to match number other than 1
There have been so many responses here that covered so many possibilities ranging from the quick-and-easy solution to the absolutely-bulletproof-cover-every-possibility-and-hang-the-budget solution that I'm curious about the original problem.
Which solution did you choose, kprasanna_79? What was the original problem that stumped such an experienced Monk as yourself?
"What do I want? I'm an American. I want more."