View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Rick Rothstein Rick Rothstein is offline
external usenet poster
 
Posts: 5,934
Default if function help

Use SUMPRODUCT to handle multiple conditions...

=SUMPRODUCT(B1:B14*(B1:B14151)*(B1:B14<366))

--
Rick (MVP - Excel)



"kathy" wrote in message
...
i am trying to create an if function that will sum data in a column if the
cell value is between certain values.
This works for sum if greater than, =ifsum(b:4:b14,"<366",e4:E14)
When I try to have the sum of E4:e14 if b4:b14 is between 151 and 366 I am
unable to get the criteria written correctly. HELP!
--
Thank you, Kathy