G
Guest
I have an If And statement that works in Excel, but I can't get it to work in Access. Can someone tell me how I would write the following Excel statement in Access? =If (And(C2+D2=B2, I2>=A2), "Yes", " ")
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
in Access. Can someone tell me how I would write the following ExcelColeen Eastham said:I have an If And statement that works in Excel, but I can't get it to work
form. In the field's properties, I'm typing the formula in the ControlColeen Eastham said:I have tried your formula, and it doesn't seem to work. I'm using it in a
= [Forms]![FormName]![Hrs]), "Yes",""))
= [Hrs]), "Yes",""))
"Yes","")Here is what my Access formula looks like:
iif(([One] + [Two] = [Tri Day Hrs Req'd]) and ([Total] >= [Hrs]),
The formula ( =If (And (C2 + D2 = B2, I2 >= A2), "Yes", " ") that I had previously given is the Excel formula. The field names are not C2, D2, B2, etc. They have descriptive field names. I've tried your formula below, but it still is just giving me a shaded box instead of a check box. Here is what my Access formula looks like:
iif(([One] + [Two] = [Tri Day Hrs Req'd]) and ([Total] >= [Hrs]), "Yes","")
Thank You! It works perfectly. You have made my life so much better today.
Thank you - Thank you - Thank you!
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.