hamid sajjadi
New Member
- Joined
- Jan 6, 2018
- Messages
- 7
- Office Version
- 2019
- Platform
- MacOS
hello every body.
I've written a code in my excel.Now I want to write such formule in access too.how can i write this "if" statement in access?
each cell in the above formule reffers to a field in my table (query).for example F11 reffers to "account code" and G11 reffers to sub account code.i want to put this code in a new calculated field in access.
thank u
I've written a code in my excel.Now I want to write such formule in access too.how can i write this "if" statement in access?
Code:
=IF(AND(F11=8484,OR(G11=20,G11=21)),8470,IF(AND(F11=8484,OR(G11=40,G11=41)),8472,F11))
each cell in the above formule reffers to a field in my table (query).for example F11 reffers to "account code" and G11 reffers to sub account code.i want to put this code in a new calculated field in access.
thank u