Phpexcel Substitute Value Before Export

Is there any possibility that I can change my value before exporting it to excel ?? For example I have mark in range 1 - 3, but I would like to change on something like:

if mark=1 -> change mark="Basic"

if mark=2 -> change mark="Advance"



$data = Present::model()->findAll($criteria);

Thx for any help ;)