First place this code into your workbook module...
1) Tools > Macro > Visual Basic Editor or press ALT+F11
2) Insert > Module
3) Copy and paste the following into the module...
Function IsFormula(rng As Range) As Boolean
IsFormula = rng.HasFormula
End Function
4) 'Close and Return to Microsoft Excel' or pess ALT+F11
Then, assuming that A1:B10 contains your data, and Column B contains your constants and formulas, try the following...
C1: leave empty
C2: =(1-isformula(B2))
Select/highlight A1:B10
Data > Filter > Advanced Filter
List Range: $A$1:$B$10
Criteria Range: $C$1:$C$2
Click Ok
Hope this helps!