If you only have Hourly and Salary as values in Column E, then Niting's forumla should work for you. But if you have other pay types (like Modified Salary, say for someone who does not work 40 hours a week). Then you'll need to keep nesting the IF stmt: