View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mike H Mike H is offline
external usenet poster
 
Posts: 11,501
Default using SUMIF with ISNUMBER

Bob,

try this

=SUMPRODUCT(--(ISNUMBER(C139:C152)),(D139:D152))

Mike

"Bob Arnett" wrote:

I have a column of figures (D139:D152) and want to add only the numbers that
are next to a cell (C139:C152) with a numerical value (not text). So I used
the formula:

=SUMIF(C139:C152,isnumber,D139:D152)

Since I'm not familiar with SUMIF syntax, I've also tried other variaitions
like:

=SUMIF(C139:C152,isnumber(),D139:D152)
=SUMIF(C139:C152,"isnumber",D139:D152)
=SUMIF(C139:C152,"=isnumber",D139:D152)
=SUMIF(C139:C152,"=isnumber()",D139:D152)
=SUMIF(C139:C152,"isnumber()",D139:D152)

None of these work so what is the proper way of writing this formula?