+ Reply to Thread
Results 1 to 4 of 4

Convert currency

  1. #1
    Registered User
    Join Date
    06-17-2019
    Location
    Denmark
    MS-Off Ver
    2016
    Posts
    15

    Convert currency

    Hi

    I have a problem I need help with. I have 600+ order lines in an excel sheet. Among other columns, there is 1 column for currency (DKK, EUR, USD), and 1 column for a money value in that currency. Suppose there are three order lines; one line with DKK 10.000, one with EUR 1.000, and one with USD 1.500. If I do a sum of these values, I get 10.000 + 1.000 + 1.500 = 12.500.

    I need some extra column where I can convert EUR and USD to DKK. I tried to do an "if" but I don't know how to create multiple logical conditions and multiple true and false values.

    Any ideas?

  2. #2
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Convert currency

    You can use a nested IF. Let's say your 'currency' column, where you have 'DKK' 'EUR' or 'USD' is column B and your amount is in column C and that your data starts on row 2.
    You can put this in D2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    You'll need to change the '10' and '11' to the actual exchange rates for EUR to DKK and USD to DKK.

    If you have those in other fixed cells, you can use absolute cell references instead of the actual figures. For example, if you had EUR to DKK in F1 and USD to DKK in H1, the formula would be:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    You could have another column for the exchange rate instead, if you need to be able to change that for each line. If you had the exchange rate in col D, then the formula (now in column E) would be a simpler one:
    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Note - if you have the exchange rate the other way round (DKK to EUR instead of EUR to DKK) then the calculations change a bit. /10 becomes *0.1 or C2/$F$1 becomes C2*$F$1 or the last formula becomes =C2*D2.


    Hope that all makes sense.
    Regards,
    Aardigspook

    I recently started a new job so am a bit busy and may not reply quickly. Sorry - it's not personal - I will reply eventually.
    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark this Thread as Solved'.
    If you use commas as your decimal separator (1,23 instead of 1.23) then please replace commas with semi-colons in your formulae.
    You don't need to give me rep if I helped, but a thank-you is nice.

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,139

    Re: Convert currency

    ... or use a VLOOKUP:

    =A2*VLOOKUP(B2,$E:$F,2,FALSE)
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  4. #4
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Convert currency

    Here's one option in C2 to make everything into USD:

    =B2*IF(A2="DKK",0.15,IF(A2="EUR",1.12,IF(A2="USD",1,"Currency Not Recognized")))

    Assuming currency is in column A and value is in column B.

    See attachment.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Formula to currency convert
    By McLovin654 in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 05-05-2017, 05:30 AM
  2. Macro for currency convert
    By tariqnaz2005 in forum Excel General
    Replies: 1
    Last Post: 10-07-2016, 06:24 AM
  3. convert the currency
    By sagar in forum Excel General
    Replies: 3
    Last Post: 11-06-2015, 05:15 AM
  4. [SOLVED] Convert currency
    By cmartin33 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-27-2015, 01:19 AM
  5. Convert currency to $X.XMM
    By StephanieH in forum Excel General
    Replies: 3
    Last Post: 06-13-2005, 05:05 PM
  6. How to convert currency into words?
    By Derrick in forum Excel General
    Replies: 1
    Last Post: 03-12-2005, 03:07 AM
  7. add time and convert it to currency
    By Sunny in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-25-2005, 10:06 AM

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