See
http://xldynamic.com/source/xld.SUMPRODUCT.html
--
__________________________________
HTH
Bob
"jcannon1" <(E-Mail Removed)> wrote in message
news:767FCC28-B08C-4CAA-BA3A-(E-Mail Removed)...
> Thanks Mike! This worked perfectly. Can you tell me what the 2 dashes
> ("--")
> after the sumproduct signify?
>
> "Mike H" wrote:
>
>> Did you try this sumproduct formula
>>
>> =SUMPRODUCT(--(ISNUMBER(A8:E8)))
>>
>> Mike
>>
>> "jcannon1" wrote:
>>
>> > I have a row of data where each cell is using a VLOOKUP formula - the
>> > formula
>> > either returns a number or "-". I need to count all the cells that
>> > contain a
>> > NUMBER only and I don't want to count the cells that contain "-". I
>> > have
>> > tried COUNTIF, SUMPRODUCT...
>> >
>> > Please help
>> >
>> > Example
>> >
>> > A B C D
>> > 1 3 - 4 I want formula in this cell to return
>> > the
>> > value of 2 (because there are numbers in cell A1 and C1, while B1
>> > contains
>> > "-" which I don't want to count.
>> >