Thread: sumif
View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
T. Valko T. Valko is offline
external usenet poster
 
Posts: 15,768
Default sumif

Normally entered version:

=SUMPRODUCT(--(ISERR(FIND(".",A1:A10))),B1:B10)

--
Biff
Microsoft Excel MVP


"excelFan" wrote in message
...
Thanks Valko
this array formula works fine if it stand alone, but in my case this
summation segment is only a part of a larger formula. So please is there a
way to avoid writing an array formula
Many Thanks again

"T. Valko" wrote:

Try this array formula** :

=SUM(IF(ISERR(FIND(".",A1:A10)),B1:B10))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the
SHIFT
key then hit ENTER.

--
Biff
Microsoft Excel MVP


"excelFan" wrote in message
...
please help me

in column A the range Itm contains ticker like
A1 car.3
A2 mobile
A3 battery
A4 mobile.3
A5 mobile
A6 battery
A7 car
A8 mobile.1
A9 car
A10 mobile
and so on.up to over thousand item

in column B the range Amt contains numbers like
B1 -3,589
B2 2,587
B3 -489
B4 2,587
B5 -5,687
B6 1,178
B7 567
B8 -9,642
B9 44,330
B10 13,897

No problem to me to sum those items with the dot "."
for example =sumif(Itm,"*.3",Amt)

I need help please to sum amounts of those which do not have the dot
"."
like the ( battery ) and ( mobile )
many thanks