BEGIN { FS = "," } NF == 7 { if ($3 < 0) $3 = 0 if ($5 > 100) $5 = 100 print $4"% & "$1" & \\boxplot{"$3"}{"$4-$3"}{"$4"}{"$5-$4"}{"$5"} \\\\" next } { print $0 }