Expression Builder Help in Access

Mike.Howard79

New Member
Joined
Feb 23, 2010
Messages
21
Hi all,

I was wondering if I can build an expression which will show either "Exceeds", "Meets" or "Does not Meet" depending on the number in another field. I have used the iif function, can I nest multiple functions in an expression to do this.

Eg if [occurances] is 0, "Exceeds" but if [occurance] between 2 and 5, "meets" but [occurances] is more than 5,"Does not meet"?

Hope this makes sense

Thanks in advance

Mike:)
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
You can use like below

Code:
strStore = 10
Str = IIf(strStore < 10, "Does not Meet", IIf(strStore < 10, "Meets", "Exceeds"))
 
Upvote 0
I have a field set up which will hold the amount of occurances of absence an employee has had however to keep the consistancy with performance and appraisals with the managers who are holding the meetings I would like an auto fill on the form which will mark the employee depending on the number of occurances ie. 0 is exceeds, 0 - 3 meets and more than 3 is does not meet.

Hope this helps

Mike
 
Upvote 0

Forum statistics

Threads
1,223,229
Messages
6,170,881
Members
452,364
Latest member
springate

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top