I am try to populate/calculate a text field in Survey123 based on the values of two other fields collected as per the matrix in the image below. For Example: The Surface Hazard Rating is M and the Near Surface Hazard Rating is H, Therefore the Adjusted Surface Hazard Rating will be H. How can I populate/calculate the Adjusted Surface Hazard Rating based on the values of the other two recorded fields?
Assigning a numeric value to the letters and performing a calculation doesn't fit in this case, due to teh way the matrix values are determined

Many Thanks
Chris