Deductions & credits

I can claim a credit even though his grants/scholarships exceeded his expenses?