Home Forums SQL Server 2008 SQL Server 2008 - General Convert Excel Formula to SQL code RE: Convert Excel Formula to SQL code
Erland Sommarskog
SSC-Insane
Points: 24038
More actions
July 27, 2013 at 2:06 am
#1636394
CASE WHEN T2 < R2 THEN T2
WHEN T2 < S2 THEN T2-R2
ELSE S2
END * O2
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]