G
Guest
Hi - I am trying to return a value depending on the stage in which a process
lies (reflected by date).
There are 5 buckets (stages 1-5) within 6 milestones (Mile A-F) that I want
to categorize.
My IIF function is as follows:
STATUS: IIf((([SheetForTable]![Mile A]>=Now()) And ([SheetForTable]![Mile
B]<Now())),"stage 1",IIf((([SheetForTable]![Mile B]>=Now()) And
([SheetForTable]![Mile C]<Now())),"stage 2",IIf((([SheetForTable]![Mile
C]>=Now()) And ([SheetForTable]![Mile D]<Now())),"stage
3",IIf((([SheetForTable]![Mile D]>=Now()) And ([SheetForTable]![Mile
E]<Now())),"stage 4",IIf((([SheetForTable]![Mile E]>=Now()) And
([SheetForTable]![Mile F]<Now())),"stage 5","")))))
This does not return anything at all...and I am thoroughly confused. I was
hoping someone may be able to tell me where the problem lies...
Thanks so much!
M
lies (reflected by date).
There are 5 buckets (stages 1-5) within 6 milestones (Mile A-F) that I want
to categorize.
My IIF function is as follows:
STATUS: IIf((([SheetForTable]![Mile A]>=Now()) And ([SheetForTable]![Mile
B]<Now())),"stage 1",IIf((([SheetForTable]![Mile B]>=Now()) And
([SheetForTable]![Mile C]<Now())),"stage 2",IIf((([SheetForTable]![Mile
C]>=Now()) And ([SheetForTable]![Mile D]<Now())),"stage
3",IIf((([SheetForTable]![Mile D]>=Now()) And ([SheetForTable]![Mile
E]<Now())),"stage 4",IIf((([SheetForTable]![Mile E]>=Now()) And
([SheetForTable]![Mile F]<Now())),"stage 5","")))))
This does not return anything at all...and I am thoroughly confused. I was
hoping someone may be able to tell me where the problem lies...
Thanks so much!
M