4 responses
Try this:
=IF( C2="S", 437, IF( C2="E", 423, IF(ISBLANK(C2), "", "Bad Data" )))
The "Bad Data" message is produced if the cell contains something other than an "S", "E" or is blank. This accounts for data entry errors.
Cheers!
=IF( C2="S", 437, IF( C2="E", 423, IF(ISBLANK(C2), "", "Bad Data" )))
The "Bad Data" message is produced if the cell contains something other than an "S", "E" or is blank. This accounts for data entry errors.
Cheers!