Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sum

Status
Not open for further replies.

kirnavi

Technical User
Feb 4, 2002
29
US
I need to sum a field based on whether the amount is below or above $1000000. I need to end up with two fields - one which totals all amounts under $1000000 and one that totals everything over or equal to $1000000. I can't figure out how to do a SUMIF in Access and I know this must be easy but I'm stuck!
 
Try iif([yourfield]<1000000,Sum(yourfield),0) and the opposite for the other total you need. I think that might work, but I didn't test it.
Ken

- If you are flammable and have legs, you are never blocking a fire exit.
Mitch Hedburg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top