There are many ways to value a commercial building, but the majority of those are based on rents/occupancy rates. Even the "comparable sales" method basically includes rents, because sales rates on commercial properties are very dependent on expected ROI.