Forum Discussion

SDeaton's avatar
SDeaton
Copper Contributor
Oct 15, 2019
Solved

Formatting a number that uses a carrot symbol as a decimal point

Hello all,

I'd like to be able to format data that I'm pulling in from an external source. I need to format a number that uses the decimal point instead of the carrot symbol.

the numbers from the source that I'm pulling into Excel look like this: 398^4 I need them to look like this: 398.4

Any ideas?

 

 

  • SDeaton 

    Hi

    You can simply Use the Replace Dialog Box (Home Tab >> Find & Select >> Replace) Shortcut CTRL+H

    • In the Find What type  ^
    • in the Replace With type  . (period)
    • Hit Replace All

    Done

     

    Hope that helps

    Nabil Mourad

     

     

4 Replies

  • SDeaton 

     

    I hope I am not too late to the party, but adding a column with the SUBSTITUTE formula can also be a quick method to handle symbols. 

     

     AB
    1Original=SUBSTITUTE($A1,"^",".")
    2123^0123.0
    3321^1321.1
    4555^2555.2

     

    Also to note: For tricky characters, you can use CHAR to reference the ASCII code for the symbol. 

    =SUBSTITUTE($A1,CHAR(94),CHAR(46))

    For example, I have encountered problems where I had to locate and substitute non-breaking spaces with space, grave accent [  `  ] with an apostrophe, and Paragraph with Carriage Return.

  • SDeaton 

    If you are satisfied with my solution, kindly mark it as an "Accepted Solution"

    Thank you

    Good Luck

    Nabil Mourad

  • SDeaton 

    Hi

    You can simply Use the Replace Dialog Box (Home Tab >> Find & Select >> Replace) Shortcut CTRL+H

    • In the Find What type  ^
    • in the Replace With type  . (period)
    • Hit Replace All

    Done

     

    Hope that helps

    Nabil Mourad

     

     

    • SDeaton's avatar
      SDeaton
      Copper Contributor

      nabilmourad 

      Great idea! I didn't know you could do that. It's not working in this application, I wonder if it's because it's a live data stream into excel. I'll keep messing with it to see what I can do.

      Thanks for your help!

Resources