View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
John[_22_] John[_22_] is offline
external usenet poster
 
Posts: 694
Default Sum of items in a column if they meet two criteria in another colu

Sorry I just notice the minus sign less then over 60
John
"John" wrote in message
...
HI Luke
A small Typo in the second formula
=SUMIF(A2:A100,"=31",B2:B100)-=SUMIF(A2:A100,"<=60",B2:B100)
HTH
John

"Luke M" wrote in message
...
30 days or less:
=SUMIF(A2:A100,"<=30",B2:B100)
31 to 60 days:
=SUMIF(A2:A100,"=31",B2:B100)-=SUMIF(A2:A100,"=61",B2:B100)
61 days or mo
=SUMIF(A2:A100,"=61",B2:B100)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"vlpckett" wrote:

I have a spreadsheet that lists in the A column how many days an order has
been open. In the B column I have how much money the order is for. I want
to get a total dollar amount of invoices that have been open for 30 days or
less, 31 to 60 days and over 61 days. Is this something I can do with one
of
the SUM functions or with SUBTOTAL?