My Assistant
![]() ![]() |
|
|
Feb 23 2012, 08:43 AM
Post
#1
|
|
|
UtterAccess Enthusiast Posts: 70 |
Hello,
I'm having trouble with the correct bracketing. Here is what I have so far. =IIf([A]>0 And [M]=0,">100%",IIf([A]=0 And [M]=0,0,([A]/[M])-1) |
|
|
|
Feb 23 2012, 08:49 AM
Post
#2
|
|
|
UtterAccess VIP Posts: 8,106 From: CT |
what version of access are you using?
make sure to count the number of ( to make sure you have the same amount of ) |
|
|
|
Feb 23 2012, 08:52 AM
Post
#3
|
|
|
Utterly Yorkshire and Forum/Wiki Editor Posts: 15,882 From: Devon UK |
Hi
It looks like you're just a closing bracket missing from the end - CODE =IIf([A]>0 And [M]=0,">100%",IIf([A]=0 And [M]=0,0,([A]/[M])-1))
|
|
|
|
Feb 23 2012, 11:27 AM
Post
#4
|
|
|
UtterAccess Enthusiast Posts: 70 |
That worked thank you very much.
|
|
|
|
Feb 23 2012, 11:34 AM
Post
#5
|
|
|
Utterly Yorkshire and Forum/Wiki Editor Posts: 15,882 From: Devon UK |
|
|
|
|
![]() ![]() |
|
Go to Top · Lo-Fi Version | Time is now: 20th May 2013 - 03:38 AM |