In this case, no. A switch
statement relies on different case
statement values and your if
statements do not have different values.
One problem I see in your if
structure is what if 5 of the values in fact match set. This will only find 1 and stop. This may be what you want, but I thought I'd point it out.