Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Access General > IIF/AND stateme...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 7 Topic 92470 of 97473
Post > Topic >>

IIF/AND statement help

by =?Utf-8?B?UGF0IERvb2xz?= <PatDools@[EMAIL PROTECTED] > Aug 6, 2008 at 01:27 PM

Hello,

I am trying to assign 'Quarter' values based on a month number with the 
following formula.  It works great for 'Q1' and 'Q2', but does not work 
(leaves blanks) when the month number falls within the third ('Q3') or
fourth 
quarter ('Q4'):

Qt_Qtr: 
IIf([Quote_Mnth]<4,"Q1",IIf([Quote_Mnth]>3,IIf([Quote_Mnth]<7,"Q2"),IIf([Quote_Mnth]>6,IIf([Quote_Mnth]<10,"Q3"),"Q4")))

If anyone has easier ways of assigning a 'Quarter' value to a record, I'm 
also open to any suggestions!
-- 
Pat Dools
 




 7 Posts in Topic:
IIF/AND statement help
=?Utf-8?B?UGF0IERvb2xz?=   2008-08-06 13:27:01 
RE: IIF/AND statement help
=?Utf-8?B?bm9tYWRr?= <  2008-08-06 13:34:02 
RE: IIF/AND statement help
=?Utf-8?B?S0FSTCBERVdFWQ=  2008-08-06 13:35:00 
RE: IIF/AND statement help
=?Utf-8?B?bm9tYWRr?= <  2008-08-06 13:47:03 
RE: IIF/AND statement help
=?Utf-8?B?UGF0IERvb2xz?=   2008-08-07 06:21:01 
Re: IIF/AND statement help
John W. Vinson <jvinso  2008-08-06 15:05:06 
Re: IIF/AND statement help
=?Utf-8?B?UGF0IERvb2xz?=   2008-08-07 06:20:01 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 21:39:31 CST 2008.