Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Need Function
I'm new to Excel and need a function that will sum an array if the total is
between 70 and 72. =SUM(B5:H5)=70,<=72 ????? |
#2
|
|||
|
|||
sumif()
|
#3
|
|||
|
|||
On Sat, 9 Apr 2005 02:31:03 -0700, SteveMcDowell19
wrote: I'm new to Excel and need a function that will sum an array if the total is between 70 and 72. =SUM(B5:H5)=70,<=72 ????? =IF(AND(SUM(B5:H5)=70,SUM(B5:H5)<=72),SUM(B5:H5), "out of range") --ron |
#4
|
|||
|
|||
One way:
=SUMIF(B5:H5,"=70")-SUMIF(B5:H5,"75") or, equivalently =SUMIF(B5:H5, "<=75")-SUMIF(B5:H5,"<70") Alternatively: =SUMPRODUCT(--(B5:H5=70),--(B5:H5<=75)) For an explanation of the "--", see http://www.mcgimpsey.com/excel/doubleneg.html In article , SteveMcDowell19 wrote: I'm new to Excel and need a function that will sum an array if the total is between 70 and 72. =SUM(B5:H5)=70,<=72 ????? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Need a ISWorkday Function -- Any Ideas | Excel Worksheet Functions | |||
Hyperlinks using R[1]C[1] and offset function in its cell referenc | Excel Worksheet Functions | |||
Conversion | Excel Worksheet Functions | |||
Trim function doesn't clean out ASCII Code 160 (Space) | Excel Worksheet Functions | |||
Formula to list unique values | Excel Worksheet Functions |