View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Kevin Vaughn Kevin Vaughn is offline
external usenet poster
 
Posts: 111
Default Function within a function?

=IF(AND(B5=122,(SUM(D5:L5)1)),1,0)

Hard to say for sure. It appears there are some misplaced parenthesis. I
found it very difficult, when evaluating the formula, to come up with a true
for the test B5 = "122" no matter how I formatted B5 or entered "122". I
eventually made it a number and tested for a number as above, and it worked
for me.
--
Kevin Vaughn


"Stefan" wrote:

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