View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bernard Liengme Bernard Liengme is offline
external usenet poster
 
Posts: 4,393
Default Function within a function?

Parentheses are misplaced.
=IF(AND(B5="122",SUM(D5:L5)1),1,0)
But why quotes on numeric value 122 ?
=IF(AND(B5=122,SUM(D5:L5)1),1,0)
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Stefan" wrote in message
...
Why does this not work: =IF(AND(B5="122"),(SUM(D5:L5)1)),1,0