andy_dyer
Registered User.
- Local time
- Today, 15:20
- Joined
- Jul 2, 2003
- Messages
- 806
Hi,
I had a Nested IIf working fine...
Fix RAG: IIf([Fix Date Variance]<=0,"G",IIf([Fix Date Variance]>5,"R","A"))
Well working kind of... as where the Actual Fix Date was blank it showed #Error...
So I tried to include an And in there as well and think I've thrown the arguemets out of the window and I've lost the head space to see what I need to do to fix this...
Fix RAG: IIf([Actual Fix Date]>0 And [Fix Date Variance]<=0,"G",IIf([Actual Fix Date]>0 And [Fix Date Variance]>5,"R","A"),"N/A")
Can anyone see what I am trying to do and help with the code?
I had a Nested IIf working fine...
Fix RAG: IIf([Fix Date Variance]<=0,"G",IIf([Fix Date Variance]>5,"R","A"))
Well working kind of... as where the Actual Fix Date was blank it showed #Error...
So I tried to include an And in there as well and think I've thrown the arguemets out of the window and I've lost the head space to see what I need to do to fix this...
Fix RAG: IIf([Actual Fix Date]>0 And [Fix Date Variance]<=0,"G",IIf([Actual Fix Date]>0 And [Fix Date Variance]>5,"R","A"),"N/A")
Can anyone see what I am trying to do and help with the code?