Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Okay I know how array formulas work but I'm having trouble with the
following. I want to count the number of times each value in column D is less than each corresponding value in column B. What I have is {=COUNTIF(D2:D100, "<B2:B100")} but it doesn't work (it always returns 0). Any ideas? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
try this NON-array entered formula
=SUMPRODUCT((d7:d18<b7:b18)*1) -- Don Guillett SalesAid Software "Phil" wrote in message ups.com... Okay I know how array formulas work but I'm having trouble with the following. I want to count the number of times each value in column D is less than each corresponding value in column B. What I have is {=COUNTIF(D2:D100, "<B2:B100")} but it doesn't work (it always returns 0). Any ideas? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
One way (array-entered):
=SUM(--(D2:D100<B2:B100)) In article . com, Phil wrote: Okay I know how array formulas work but I'm having trouble with the following. I want to count the number of times each value in column D is less than each corresponding value in column B. What I have is {=COUNTIF(D2:D100, "<B2:B100")} but it doesn't work (it always returns 0). Any ideas? |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Wow thanks guys! I spent about an hour trying to figure this out.
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Countif versus SumProduct | Excel Worksheet Functions | |||
Compare range with another range in other workbook | Excel Worksheet Functions | |||
Compare a selected Range with a Named range and select cells that do not exist | Excel Programming | |||
COUNTIF or not to COUNTIF on a range in another sheet | Excel Worksheet Functions | |||
Naming a range versus formula in Excel | Excel Programming |