There are many ways of achieving this. The most obvious at the moment,
given your lack of detail, would be to have a small table somewhere in
your sheet which lists names and amounts in two adjacent columns, and
then a VLOOKUP formula next to the cell where you enter your name, and
this formula will search through your table to look for the name you
have entered and return the corresponding amount.