I have been having trouble with trying to fill a cell when another has a selection

lets say i have a pull down that reads yes
when that cell say yes i want a value to read 99

when the cell reads no 155.

can someone please point me in the right direction