Thanks a mil, but it didn't work. This is my code:
MOSQIASI: IIf(Left([PMOS],3)="91W",Left([PMOS],3) & IIf(Mid([PMOS],5,1<>"F",Null,Mid([PMOS],5,1) & IIf(Mid([PMOS],6,2)="00",Null,Mid([PMOS],6,2),IIf(LEFT([PMOS],3)="91X", Left([PMOS],3) & Mid([PMOS],5,1) & IIf(Mid([PMOS],6,2)="00",Null,Mid([PMOS],6,2),Left([PMOS],3))
I have tried adding and subtracting parens at the end and throughout the statement, but to no avail. I keep getting that it has the wrong number of arguments.