C cudan Oct 16, 2009 #1 I want to add values in column A if values in column B are >25 but <49? Please help. Thanks
M Max Oct 17, 2009 #3 cudan said: I want to add values in column A if values in column B are >25 but <49? Click to expand... One way: =SUMPRODUCT((B$2:B$10>25)*(B$2:B$10<49),A$2:A$10) Good? hit the YES below -- Max Singapore http://savefile.com/projects/236895 Downloads:27,000 Files:200 Subscribers:70 xdemechanik ---
cudan said: I want to add values in column A if values in column B are >25 but <49? Click to expand... One way: =SUMPRODUCT((B$2:B$10>25)*(B$2:B$10<49),A$2:A$10) Good? hit the YES below -- Max Singapore http://savefile.com/projects/236895 Downloads:27,000 Files:200 Subscribers:70 xdemechanik ---
J JBeaucaire Oct 18, 2009 #6 This formula will work on any size dataset, you don't have to set the range like you do with SUMPRODUCT(): =SUMIF(B:B, ">25", A:A) - SUMIF(B:B, ">48", A:A)
This formula will work on any size dataset, you don't have to set the range like you do with SUMPRODUCT(): =SUMIF(B:B, ">25", A:A) - SUMIF(B:B, ">48", A:A)