Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default SUM DIFFERENT CURRENCIES

I have a worksheet containing different suppliers list with their products
and their amounts in different currencies (formatted as numbers with
different currencies). as mentioned below:

A B C D E
Date Supplier Product Qty Amount
27/01/2008 XYZ ABC 20 £23.00
27/01/2008 OPL Buns 10 £22.00
29/01/2008 OBS Deca 3 $3.00
29/01/2008 OPL Deca 5 $3.00
29/01/2008 OBS Fil 3 $3.00
27/01/2008 XYZ ABC 20 $3.00

What i want to sum up the currencies (dollars and pounds) separately.

Please help.



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 221
Default SUM DIFFERENT CURRENCIES

G'day

Use =SUMIF()

Add another Column (F) Call it Currency.

eg

In the Cell you want to display the total place the following

=SUMIF(F:F,"Euro",E:E)

HTH
Mark.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,345
Default SUM DIFFERENT CURRENCIES

With my default currency settings set to £, when I record a Macro for
formatting for £ in A1 and $ in A2 I get:

Range("A1").Select
Selection.NumberFormat = "$#,##0.00"
Range("A2").Select
Selection.NumberFormat = "\$#,###.00"

Using this the UDF:

Function SumItP(rRange As Range)
Application.Volatile
For Each cell In rRange
If cell.NumberFormat = "$#,##0.00" Then
Tot = Tot + cell.Value
End If
Next cell

SumItP = Tot
End Function

Sums Pounds and:

Function SumItD(rRange As Range)
Application.Volatile
For Each cell In rRange
If cell.NumberFormat = "\$#,###.00" Then
Tot = Tot + cell.Value
End If
Next cell

SumItD = Tot
End Function

Sums Dollars

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Irfan" wrote in message
...
I have a worksheet containing different suppliers list with their products
and their amounts in different currencies (formatted as numbers with
different currencies). as mentioned below:

A B C D E
Date Supplier Product Qty Amount
27/01/2008 XYZ ABC 20 £23.00
27/01/2008 OPL Buns 10 £22.00
29/01/2008 OBS Deca 3 $3.00
29/01/2008 OPL Deca 5 $3.00
29/01/2008 OBS Fil 3 $3.00
27/01/2008 XYZ ABC 20 $3.00

What i want to sum up the currencies (dollars and pounds) separately.

Please help.






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SUM UP DIFFERENT CURRENCIES Irfan Excel Worksheet Functions 4 April 9th 08 01:42 PM
Help on VLOOKUP with currencies AndyB Excel Worksheet Functions 10 October 28th 07 09:08 PM
reconciliation in different currencies jzambran Excel Discussion (Misc queries) 2 August 17th 07 01:35 PM
Different currencies jodleren Excel Discussion (Misc queries) 1 March 19th 07 05:47 AM
different currencies BAZZA Excel Worksheet Functions 2 May 20th 05 01:15 PM


All times are GMT +1. The time now is 10:28 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"