A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Expression



 
 
Thread Tools Display Modes
  #1  
Old March 6th, 2009, 10:01 AM posted to microsoft.public.access.queries
Alex Hammerstein
external usenet poster
 
Posts: 70
Default Expression

Hi

We have and expression: =Sum(IIf([Level]=3,[Awarded],0)).

I need to change this so that it works if [Level] is 1 or 3 but not sure how
this would be done.

Would appreciate a little help

Many thanks

A


  #2  
Old March 6th, 2009, 10:50 AM posted to microsoft.public.access.queries
RonaldoOneNil
external usenet poster
 
Posts: 345
Default Expression

=Sum(IIf([Level]=1 Or [Level]=3,[Awarded],0))

"Alex Hammerstein" wrote:

Hi

We have and expression: =Sum(IIf([Level]=3,[Awarded],0)).

I need to change this so that it works if [Level] is 1 or 3 but not sure how
this would be done.

Would appreciate a little help

Many thanks

A



  #3  
Old March 6th, 2009, 01:33 PM posted to microsoft.public.access.queries
Alex Hammerstein
external usenet poster
 
Posts: 70
Default Expression

Thanks for that - I now understand

A



On 06/03/2009 10:50, in article
, "RonaldoOneNil"
wrote:

=Sum(IIf([Level]=1 Or [Level]=3,[Awarded],0))


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:29 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.