Divide Cells based on header

I need a formula that finds the headers "Profit" & "Sales" in the 1st row and divides profit by sales (ie: =sum(Profit/Sales))