sinalk, Good afternoon.

Take a look at my example for you.
10-03-2014_ExcelForum_Example - IF Function.xlsx

Please, tell us if it worked for you.
I hope it helps.