Without any data it's impossible to say what is wrong. Please post a sample file (not image) showing expected results.

To upload file, click "Go Advanced" then "Manage Attachments"

FALSE turned if the IF tests fail so check data.