Hello,
This is more of a comment than a question.
 
Please refer to the attachment. 
If the orion.offices dataset/table contains the US as the only country in North America, then the logic should be fine.
It may be "nice" ( LOL) to include Canada and Mexico in the dataset and logic.
 
Not  directly relevant ...but the SGF 2021 chairperson will be a Canadian who is a member of my local SAS users group. 
 
Regards.
Odesh.