Gary -
I am not sure if or how you want to group the other values. If the only ones that get grouped up are 961s and 961u, then the whole iif statement will look as follows:
iif([EARNINGS CODE] In ("961s","961u"),"921", [EARNINGS CODE])
if you have more Earnings code groupings than you will need more embedded iif statements:
iif([EARNINGS CODE] In ("961s","961u"),"921", iif([EARNINGS CODE] In ("421b","421c"),"460", iif([EARNINGS CODE] In ("111r","267b","355x","455j"),"200", [EARNINGS CODE])))
In this case the expression will return
921 if the Earnings code is 961j or 961u
460 if the Earnings code is 421b or 421c
200 if the Earnings code is 111r, 267b, 355x or 455j
it will return the value of the Earnings code field if it is not one of the values above.
You can also have it return a default value if it not one of the selected values like this:
iif([EARNINGS CODE] In ("961s","961u"),"921", iif([EARNINGS CODE] In ("421b","421c"),"460", iif([EARNINGS CODE] In ("111r","267b","355x","455j"),"200", "555")))
This expression is the same as the 2nd one except that it returns 555 if the earnings code is not on of the one in any of the in statements.
Hope that helps!
GumbyD