Hi Brew, The short answer is either [&EXPANDSUM(PART;("stores_PART_solved" =~ /incorrect_attempted/? -22 : $points{stores_PART_tries}))]; or [&EXPANDSUM(PART;(eval("stores_PART_solved") eq 'incorrect_attempted'? -22 : $points{stores_PART_tries}))]; will work. -- guy@albertelli.com 0-7-0-9-27,137