How do I create an If/Then formula?

Go to Data/Formulas > Manage Rules > Add New and fill out the form. You may compare categories to each other, or to absolute values. See below: