Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    Feb 2015
    Posts
    128
    Thanks
    19
    Thanked 1 Time in 1 Post

    Post Excel formatting hekp

    Hi Experts
    I am not able to convert the attached data from general to numeric type.
    I tried Copy -> PasteSpecial -> Multiply and Text to column -> Finish options
    What I want is to change the data type to numeric and then apply custom format #,###.00 on this columns to get the below result.
    Ex
    2.240,81
    4.061,85
    2.240,81
    4.061,85
    2.240,81

    I need to change it into

    2,240.81
    4,061.85
    2,240.81
    4,061.85
    2,240.81
    Please let me know why I am not able to perform the above test and what I am missing here.
    Regards,
    JD
    Attached Files Attached Files

  2. #2
    Bronze Lounger
    Join Date
    Jan 2001
    Location
    La Jolla, CA
    Posts
    1,495
    Thanks
    33
    Thanked 63 Times in 59 Posts
    I'm hoping there's an easier way, but this seems to work on a new sheet, filled down and across.

    I put this in the new sheet in A2.

    =IFERROR((VALUE(SUBSTITUTE(SUBSTITUTE('Final Output'!A2,",",""),".","")))/100,'Final Output'!A2)

    You could then select the cells in the new sheet and do a paste special, values.

  3. The Following User Says Thank You to kweaver For This Useful Post:

    Jaggi (2015-04-24)

  4. #3
    Super Moderator RetiredGeek's Avatar
    Join Date
    Mar 2004
    Location
    Manning, South Carolina
    Posts
    9,568
    Thanks
    384
    Thanked 1,481 Times in 1,347 Posts
    Jaggi,

    I think I'd just do 3 Search & Replaces,

    1. replace , with ?
    2. replace . with ,
    3. replace ? with .

    HTH
    May the Forces of good computing be with you!

    RG

    PowerShell & VBA Rule!

    My Systems: Desktop Specs
    Laptop Specs

  5. The Following User Says Thank You to RetiredGeek For This Useful Post:

    Jaggi (2015-04-24)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •