Forum Discussion

Horatio_D's avatar
Horatio_D
Copper Contributor
Mar 06, 2022
Solved

How to disable Excel function triggered by a leading hyphen

I frequently need to place data into excel cells that have leading hyphen. An example would be copy and paste a list my animals - a dog - a cat from a word document into excel. Doing this howev...
  • Horatio_D's avatar
    Horatio_D
    Mar 07, 2022
    Thank you Peter and Riny,
    I now appreciate that when a new sheet is created it has the NUMBER attribute GENERAL which caters for formulae and number entries.
    From now on when I create a new sheet intended chiefly for text entry, I will select the whole sheet - click on top left bottom of the displayed sheet, then from the home ribbon in the Number group select TEXT. If subsequently within this sheet I have cells, column or row dealing with numbers, dates etc. then I with use the NUMBER group appropriately for these.
    This fully satisfies my original question of how to disable the interpretation of the hyphen as a formula. The general Microsoft help line was unable to directly resolve the issue for me, however I give full marks to the Excel Technical Forum to which it referred me.

Resources