View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
stevebriz stevebriz is offline
external usenet poster
 
Posts: 195
Default # of days - if & count statements

for the count of days <31

If the Range of days is A1 : A10

=COUNTIF(A1:A10,"<31")


For the sum of money <31 days amounts in col B1:B10

= SUMIF(A1:A10,"<31",B1:b10)


Karen Smith wrote:
I need to create 2 formulas on the following table ....1 how many records are
0-30 days (answer 4) and 2ndly how much money are in 0-30 days (answer $750)

For example
# of Days $
28 150
34 100
22 100
44 100
1 200
32 50
5 300