easy fix for >< issue

travismp

Registered User.
Local time
Today, 16:15
Joined
Oct 15, 2001
Messages
386
Code:
SampleID2: IIf(Left([SampleID],1)<=4,"RED","BLUE")

This is original code which works great. Well my client made a change. Now the number "3" should be BLUE as well so my <=4 red no longer works.

What is the best way to set this up so numbers 1,2,4 are RED and 3,5,6,7,8,9are BLUE?

Thanks.
 
SampleID2: IIf(Left([SampleID],1) In (1,2,4),"RED","BLUE")
.
 
thank you Jon K I will try it at lunch when I can get to the system. :)
 

Users who are viewing this thread

Back
Top Bottom