How can I make x = a value then add them together in excel?

I have list of names that are checked off by an x. X = 20 dollars each. I want to assign X the value of 20 and then add however many there are to give a total. Is there a formula I can use to make that happen?
Update: if i do that then how do i add up all of column a?
2 answers 2