'Copy data based on row contents

I have a sheet with column A having a list of names. Column B has a list of empty cells. Then Column R has a list of names that's shorter but is some of the names that are in column A (no NEW names). Column S has numbers in it. I need to compare the names in Column R to those in A and move the numbers in Column S to the appropriate names in Column B. I've been doing this manually every week, but want to figure out a faster way. Below, I've simplified the sheet I use.

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source