How do You Value a Business?

A value a business based on their sales. Also, I value a business based on the quality of their products and how well they treat their customers.