Forum Discussion

Mrsalwayswright1's avatar
Mrsalwayswright1
Copper Contributor
Jan 29, 2020
Solved

removing dashes and decimals

Good morning everyone!

 

I have a question that may be simple for someone.  I have a spreadsheet that has a row full of numbers that look like this:

9.841-074.0

I need to remove the decimals and dash from each line to display the numbers only.  Is thi

  • Mrsalwayswright1 

    If that's one time job and above is not result of calculations you may do that manually - select rows with texts in question, Ctrl+H, find dot, replace on nothing, Replace All. Same with dashes.

4 Replies

  • SergeiBaklan's avatar
    SergeiBaklan
    Diamond Contributor

    Mrsalwayswright1 

    If that's one time job and above is not result of calculations you may do that manually - select rows with texts in question, Ctrl+H, find dot, replace on nothing, Replace All. Same with dashes.

  • Twifoo's avatar
    Twifoo
    Silver Contributor
    Try:
    =β€”SUBSTITUTE(SUBSTITUTE(A1,
    β€œ.”,””),”-β€œ,””)

Resources