+ Reply to Thread
Results 1 to 4 of 4

Convert Norwegian currency formatting to US/UK

  1. #1
    Registered User
    Join Date
    08-03-2009
    Location
    Lynnwood USA
    MS-Off Ver
    Excel 2007
    Posts
    9

    Convert Norwegian currency formatting to US/UK

    Here is my issue:

    I have an excel based output that includes numeric values that align to Norway's culture codes, which include comma formatting in place of period decimals.

    I need to transfer those values from the comma formatting to the period formatting so formulas that I have that are based on period formatting can process properly.

    Example, I have multiple rows of cells that contain values like 40 630,00, and I need that to appear as 40,630.00 or 40630. Make sense? attachment provided with sample of what i'm working with. see "Master Template" tab

    thanks
    Attached Files Attached Files

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: Convert Norwegian currency formatting to US/UK

    Hi Happycats,

    The code below will convert the values in all selected cells from "xx yyy,zz" to "xx,yyy.zz" by replacing commas with decimals and removing the non-space character where the thousands separator (comma) should be. I thought it was a standard space character at first, but I was wrong.
    Please Login or Register  to view this content.
    Hope it helps!

  3. #3
    Registered User
    Join Date
    08-03-2009
    Location
    Lynnwood USA
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Convert Norwegian currency formatting to US/UK

    Hi Paul - thanks. So how can I take advantage of that? I'm no pro obviously. So is that something that coudl be put into a macro? how do I use that?
    Last edited by Paul; 11-04-2011 at 05:01 PM. Reason: Removed quote of full post, unnecessary.

  4. #4
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: Convert Norwegian currency formatting to US/UK

    What I provided is a macro. Copy it, open the VB Editor in Excel (ALT+F11). Click Insert > Module. Paste the code. Close the editor.

    Select any cells you want to convert on your spreadsheet, then click Developer tab > click Macros > select cNorway > click Run.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1