PanzerAttack
Registered User.
- Local time
- Today, 22:26
- Joined
- Jan 13, 2008
- Messages
- 14
Hi, I know there's lots of questions based around this and I'm still looking but haven't managed to find anything to exactly match my problem (although I'm sure it's easy).
I'm trying to recreate an Excel calculation using Iif.
In Excel I have:
D13 E13 F13 G13 CALC Field
100 50 25 120 =IF(MIN(D13,E13,F13)<=0,G13,(D13/E13*F13))
D/E & F can be zero or less and possibly null (although I can fix the null if needs be).
I'm having problems recreating this in Access, this doesn't seem to work:
IIf([D13]=<0,[G13], IIf([E13]=<0,[G13], IIf([F13]=<0,[G13], (([D13]/[E13] )*[F13])
Also, I don't have Access 2003 at home so if you know where I can download a trial version I could practice this before I get back to work.
thanks, hope it makes sense.
I'm trying to recreate an Excel calculation using Iif.
In Excel I have:
D13 E13 F13 G13 CALC Field
100 50 25 120 =IF(MIN(D13,E13,F13)<=0,G13,(D13/E13*F13))
D/E & F can be zero or less and possibly null (although I can fix the null if needs be).
I'm having problems recreating this in Access, this doesn't seem to work:
IIf([D13]=<0,[G13], IIf([E13]=<0,[G13], IIf([F13]=<0,[G13], (([D13]/[E13] )*[F13])
Also, I don't have Access 2003 at home so if you know where I can download a trial version I could practice this before I get back to work.
thanks, hope it makes sense.