IIf Function

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I keep getting error messages with the syntax or commas in my IIf function.
I've listed it as IIf(And([Sq Ft]=>70,[Sq Ft]<=280),1,[Sq Ft]/140). What am I
missing or what have I stated incorrectly?
 
The syntax is incorrect on your And
IIf([Sq Ft]=>70 And [Sq Ft]<=280 ,1,[Sq Ft]/140)
 
Is this an Access question or Excel Question?

If it is Access, there is no "And" (spreadsheet) function in Access. You
need to use the And Boolean operator, i.e.

{Boolean expr} And {Boolean expr}
 

Ask a Question

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.

Ask a Question

Back
Top