formatting and no data condition