View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Umlas[_2_] Bob Umlas[_2_] is offline
external usenet poster
 
Posts: 68
Default text as a number

=SUMPRODUCT(--(C4:C15="withdraw"),B4:B15)

"Wiktor" wrote in message
...
I would like to count number in column between B4 and B15 for example. But
i
want count only cells B witch they has adjoining cells C with wroten text
"withdraw". Can i treat text in cells as a number? I with it would be
helpfull to find solution of my problem.