is this what you're looking for:
Formula: copy to clipboard
=IF(AH2="USA",IF(Z2>=640,"USA - 640+","USA - Under 640"),"Foreign")

?