Perhaps something like:select new_yes ,new_no ,exist_yes ,exist_no ,1.0*new_yes/exist_yes as ratio_yes ,1.0*new_no/exist_no as ratio_no from (select sum(case when [New/Existing Application]='N' and Attend_Interview='Y' then 1 else 0 end) as new_yes ,sum(case when [New/Existing Application]='N' and Attend_Interview='N' then 1 else 0 end) as new_no ,sum(case when [New/Existing Application]='E' and Attend_Interview='Y' then 1 else 0 end) as exist_yes ,sum(case when [New/Existing Application]='E' and Attend_Interview='N' then 1 else 0 end) as exist_no from yourtable ) as a