How do I calculate multiple fields in which some of them need to be mul