Auto-populate based on one of two fields
I need to auto-fill a calculated field from either of two fields. If location A IS NOT blank, is should be auto-populated from location A. If Location is A IS blank, I need it to calculate from location B. I already know the script for the calculation. Is there a way to do this?