You can copy the formula (ctrl+c), select the entire line and paste the value (ctrl+v). This way the formula will be copied to all lines.