+ Reply to Thread
Results 1 to 7 of 7

Currency Conversions with If Statements?

  1. #1
    Registered User
    Join Date
    04-08-2005
    Location
    Washington, DC
    Posts
    63

    Currency Conversions with If Statements?

    I am trying to figure out how to sum a row or column and to check weather a cell contains a Dollar "$" amount or Euro "€" Ect.
    When I Calculate I need to convert everything to US dollar amount
    in the expense report, I have the exchange rate.

    I think I need a if cell a2 = "€" a2*"1.423" else if cell a2 = "&" a2*"0"
    else if cell a2 = "£" a2*1.003"

    Does this make sense?

  2. #2
    Forum Contributor WinteE's Avatar
    Join Date
    04-07-2007
    Location
    Netherlands
    Posts
    544
    You better make a list of currencies and get the right one with VLOOKUP.

    Erik
    Just keep it simple !


    http://www.excelguide.eu
    In English as well as in Dutch

  3. #3
    Registered User
    Join Date
    04-08-2005
    Location
    Washington, DC
    Posts
    63
    I am posting an example since I cant explain what I need
    Attached Files Attached Files

  4. #4
    Forum Contributor WinteE's Avatar
    Join Date
    04-07-2007
    Location
    Netherlands
    Posts
    544
    You mean something like in the attached file ?
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    04-08-2005
    Location
    Washington, DC
    Posts
    63
    Yes, could you elaborate on how this is done.

    And what if I want to include field 1 and field 2 in the same cell?
    so it looks like | EUR EURO | 1.43232 |
    Last edited by swieduwi; 10-03-2007 at 01:11 PM.

  6. #6
    Forum Contributor WinteE's Avatar
    Join Date
    04-07-2007
    Location
    Netherlands
    Posts
    544
    On my site you'll find a sample of how to create a listbox. To get the right currency based on the listbox selection I've used the VLOOKUP() function.
    This function is explained in the Excel-help files.

    To include the short currency description into the same field as the currency
    you've got to do the next :

    To let the VLOOKUP() work properly :

    - Switch the first two columns of your currency table LONG DESC, SHORT DESC, CUR (now you can get the SHORT DESC with VLOOKUP() too
    - Use CONCATENATE() to join the two VLOOKUP()'s together in one cell.

    Succes,

    Erik

  7. #7
    Registered User
    Join Date
    04-08-2005
    Location
    Washington, DC
    Posts
    63
    Quote Originally Posted by WinteE
    On my site you'll find a sample of how to create a listbox. To get the right currency based on the listbox selection I've used the VLOOKUP() function.
    This function is explained in the Excel-help files.

    To include the short currency description into the same field as the currency
    you've got to do the next :

    To let the VLOOKUP() work properly :

    - Switch the first two columns of your currency table LONG DESC, SHORT DESC, CUR (now you can get the SHORT DESC with VLOOKUP() too
    - Use CONCATENATE() to join the two VLOOKUP()'s together in one cell.

    Succes,

    Erik
    Thanks for your Help, Your Web Site is Very informative. Thanks

+ 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