+ Reply to Thread
Results 1 to 11 of 11

Sum Different Currencies and Convert Them All

  1. #1
    Registered User
    Join Date
    12-27-2021
    Location
    KSA
    MS-Off Ver
    Office 365
    Posts
    5

    Sum Different Currencies and Convert Them All

    Hi,

    I've many expenses for several projects and I've made dash board to track the revenue and expenses for all the project, the issue is some of the project has many different currencies which cause to compute all rates as they're the same and I'm reverting the data using SUMIF function, i want to know if there is any function that can check the column that shows the currency and multiply it by factor based on the rate that i will assign.

  2. #2
    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
    43,986

    Re: Sum Different Currencies and Convert Them All

    Hi there.

    A picture is worth 1,000 words. An Excel sheet is worth 1,000 non-editable pictures.

    Please read the yellow banner about sample worksheets, at the top of the screen. Act on its guidelines and post a SMALL sample sheet complete with an explanation and some expected results.
    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.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,152

    Re: Sum Different Currencies and Convert Them All

    Please Login or Register  to view this content.
    will return the currency sign (£,$, etc)

    ==GetCurrency(A2)

    which colud be used with VLOOKUP table to get conversion rate
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,152

    Re: Sum Different Currencies and Convert Them All

    Please Login or Register  to view this content.
    will return the currency sign (£,$, etc)

    ==GetCurrency(A2)

    which could be used with VLOOKUP table to get conversion rate

  5. #5
    Registered User
    Join Date
    12-27-2021
    Location
    KSA
    MS-Off Ver
    Office 365
    Posts
    5

    Re: Sum Different Currencies and Convert Them All

    Hi All,

    Thank you for your help, attached is an excel sheet showing a simple example, The sheet contains 2 tabs 1 for the dash that gives all expenses total (which compute all amounts regardless of its currency which I need your help on) and the other tab shows the recorded expenses I put 3 projects and example for expenses, my main currency is SAR (Saudi Arabia Riyal) and you can find other currencies such as Euro, Dollar,..etc
    Attached Files Attached Files

  6. #6
    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
    43,986

    Re: Sum Different Currencies and Convert Them All

    You need to set up a lookup table to make the conversion. Then use:

    =SUMPRODUCT((Exp!$B$3:$B$400=B5)*(Exp!$C$3:$C$400=C5)*(Exp!$E$3:$E$400={"Paid","Submitted"})*(IFERROR(Exp!$G$3:$G$400/VLOOKUP(Exp!$F$3:$F$400,Exp!$K:$L,2,FALSE),0)))

    You had hidden all those rows and columns. There was no space for testing formulae. I unhid them and your file is now rather large. So, it's attached as a zip.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    12-27-2021
    Location
    KSA
    MS-Off Ver
    Office 365
    Posts
    5

    Re: Sum Different Currencies and Convert Them All

    Hi Glenn

    Thank for your feedback, but i guess the totals are not right, as if i did the total manually you can find it attached there are huge difference, if you can take a look and support much appreciated
    Attached Files Attached Files

  8. #8
    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
    43,986

    Re: Sum Different Currencies and Convert Them All

    OK. It's a 1-1 draw. I made a mistake... dividing by the exchange rate instead of multiplying. You made a mistake in Exp Row 40... The total should have been in row 41.

    =SUMPRODUCT((Exp!$B$3:$B$400=B5)*(Exp!$C$3:$C$400=C5)*(Exp!$E$3:$E$400={"Paid","Submitted"})*(IFERROR(Exp!$G$3:$G$400*VLOOKUP(Exp!$F$3:$F$400,Exp!$K:$L,2,FALSE),0)))
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    12-27-2021
    Location
    KSA
    MS-Off Ver
    Office 365
    Posts
    5

    Re: Sum Different Currencies and Convert Them All

    Hi Gleen

    Thank you this solved my issue, really appreciate you support and swift feedback

  10. #10
    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
    43,986

    Re: Sum Different Currencies and Convert Them All

    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please select "Thread Tools" from the menu link (just above the first post in the thread) and mark this thread as SOLVED.

  11. #11
    Registered User
    Join Date
    12-27-2021
    Location
    KSA
    MS-Off Ver
    Office 365
    Posts
    5

    Wink Re: Sum Different Currencies and Convert Them All

    Hi, Noted I've done it
    thnx man

+ 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] Sum up different currencies and convert it to one currency
    By paulching in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-30-2023, 06:13 PM
  2. Need help with formula to convert forex currencies
    By redalert787 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-19-2019, 04:46 AM
  3. [SOLVED] VLOOKUP to Convert Currencies
    By ramridd in forum Excel General
    Replies: 3
    Last Post: 12-05-2018, 12:33 PM
  4. Convert Currencies and adjust by rates
    By MinisoftEggshell in forum Excel General
    Replies: 7
    Last Post: 05-07-2017, 07:48 PM
  5. Convert values with different currencies, from different years to EUR
    By Copiloc in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-01-2016, 08:31 AM
  6. [SOLVED] Help - How to convert multiple currencies with one VBA
    By indik in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-03-2015, 01:33 PM
  7. Replies: 7
    Last Post: 06-15-2014, 10:16 PM

Tags for this Thread

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