I dont see the criteria for what get replaced by what?

Walk me through how you would select state5 in B3?