LoneReaper Posted June 29, 2004 Posted June 29, 2004 i have 3 ifs i want to put into a calculation. If ( Left ( Subject;14 ) = "Sold, ship now"; "amazon") If (Left ( Subject;31 ) = "Alibris Purchase Notification #"; "alibris") If ( Left ( Subject;15 ) = "Abebooks Order:"; "abebooks") how would i put them into a calculation field?
Lee Smith Posted June 29, 2004 Posted June 29, 2004 Use a Case, it is a lot easier to write and understand. Case(Left(Subject, 14)= "Sold, ship now", "amazon", Left(Subject, 31 ) = "Alibris Purchase Notification #" , "alibris", Left(Subject, 15 ) = "Abebooks Order:", "abebooks" ) HTH Lee
LoneReaper Posted June 29, 2004 Author Posted June 29, 2004 lee to the rescue, as always. thanks a lot! know that you mention it i think you told me this before. ; )
Recommended Posts
This topic is 7522 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now