Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a spreadsheet where I want a total if the # is 9 and <20. How do I
write this? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
This will give SUM of value 9 and < 20. Replacing SUMIF with COUNTIF will give count of entries 9 and < 20 =SUMIF($A$1:$A$50,"9")-SUMIF($A$1:$A$50,"=20") hth "NancyP192" wrote: I have a spreadsheet where I want a total if the # is 9 and <20. How do I write this? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You can use sumproduct something like this
=SUMPRODUCT((A2:A509)*(A2:A50<20)) Here is a link to everything you ever wanted to know about sumproduct. It is a very useful function... http://www.xldynamic.com/source/xld.SUMPRODUCT.html -- HTH... Jim Thomlinson "NancyP192" wrote: I have a spreadsheet where I want a total if the # is 9 and <20. How do I write this? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro to select cells in column enter data then press enter | New Users to Excel | |||
Enter multiple numbers in a cell so total shows when enter keypres | Excel Worksheet Functions | |||
Enter info in one sheet, auto enter in another based on one field | New Users to Excel | |||
What does hitting Ctrl + Shift + Enter to enter a formula do??? Help a n00b out. | Excel Worksheet Functions | |||
Visual Studio Tools for Office - CountIf, Ctrl-Shift-Enter, Array | Excel Programming |