SumIf equation in report

J

JessicaMtgt

I would like to translate the following Excel formulas into Access report
expressions:

=SUMIF(D3:D485,">0",(D3:D485))
=SUMIF(D3:D485,"<0",(D3:D485))

In my Access report "D3:D485" represent my field [Amount]. I am trying to
see the report totals by debits and credits.
 
F

fredg

I would like to translate the following Excel formulas into Access report
expressions:

=SUMIF(D3:D485,">0",(D3:D485))
=SUMIF(D3:D485,"<0",(D3:D485))

In my Access report "D3:D485" represent my field [Amount]. I am trying to
see the report totals by debits and credits.

In the section that displays the[Amount] field (the Detail Section?)
add an unbound text control.
Set it's Control source to:
=Sum(IIf([Amount]>0,[Amount],0))

Add another control:
=Sum(IIf([Amount]<0,[Amount],0))
 
J

JessicaMtgt

Perfect - Thank you fredg!!!!!!

fredg said:
I would like to translate the following Excel formulas into Access report
expressions:

=SUMIF(D3:D485,">0",(D3:D485))
=SUMIF(D3:D485,"<0",(D3:D485))

In my Access report "D3:D485" represent my field [Amount]. I am trying to
see the report totals by debits and credits.

In the section that displays the[Amount] field (the Detail Section?)
add an unbound text control.
Set it's Control source to:
=Sum(IIf([Amount]>0,[Amount],0))

Add another control:
=Sum(IIf([Amount]<0,[Amount],0))
 

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

Similar Threads


Top