You dont need ranking functions. All you need is group by UnitNumber. I am basing the query based on your source and destination data.
SELECT UnitNumber, SUM(ISNULL(ColA, 0)) ColA, SUM(ISNULL(ColB, 0)) ColB, SUM(ISNULL(ColC, 0)) ColC
from tableA join
tableB on tableA.id = TableB.id
where unitNumber > 1
and tableB.adm_Date between 01-01-2013 and 12-31-2013
GROUP BY UnitNumber
Assuming all the data is in the same table
SELECT UnitNumber, SUM(ISNULL(ColA, 0)) ColA, SUM(ISNULL(ColB, 0)) ColB, SUM(ISNULL(ColC, 0)) ColC
from tableA
where unitNumber > 1
and tableA.adm_Date between 01-01-2013 and 12-31-2013
GROUP BY UnitNumber