A quick manual method would be to select the cells, change the format by Format --> Cells and then repeatedly pressing the keys of F2 and {ENTER}, alternately, untill done. Here F2 is keyboard shortcut to enter edit mode of cell and {ENTER} key is to go to next cell.
To avoid the lobor of...