Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Identifying currencies

Hi,

In a column of data, in excel, I have a mix of currencies.
Some cells contain US$ and some contain Euro like below:
$123.00
345.00 Euro

I need to identify which cells are in Euro so that I can apply a
currency conversion, but cannot find a solution.

I've tried using FIND("$",CellX), but to identify the US$ amounts, but
this did not work as when I click into CellX I see that it does not
actually contain "$"; the formatting has presented it as US$.

I've also tried changing the column format to TEXT, but this did not
work because I lost the currency symbols.

Any help would be greatly appreciated.

Thanks,

Ciarán

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Identifying currencies

This might help someone identify how to differentiate between the
different fromats.
Using the example above, the respective custom formats of each cell
are as follows.

"$" #,##0.00
#,##0.00 "EURO"

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 272
Default Identifying currencies

To make a copy of the column as text, choose Edit Office clipboard then:
Copy the column, format a column next to it as text, and click the paste
icon.
[for small ranges you may need to then undo and paste special as text]

Equivalently copy the column to notepad, format the next column as text and
paste back from notepad.

" wrote:

Hi,

In a column of data, in excel, I have a mix of currencies.
Some cells contain US$ and some contain Euro like below:
$123.00
345.00 Euro

I need to identify which cells are in Euro so that I can apply a
currency conversion, but cannot find a solution.

I've tried using FIND("$",CellX), but to identify the US$ amounts, but
this did not work as when I click into CellX I see that it does not
actually contain "$"; the formatting has presented it as US$.

I've also tried changing the column format to TEXT, but this did not
work because I lost the currency symbols.

Any help would be greatly appreciated.

Thanks,

CiarĂ¡n


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Identifying currencies

You can easily make a cell text by placing a single quote in the fron of the
data. Use tis to put a dollar sign in front of numbers '$1.25.

Why don't you just look for Euro and convert these numbers and don't do
anything iff you don't find Euro.

if(FIND("Euro",CellX),Conversion * Cellx, Cellx)

"Lori" wrote:

To make a copy of the column as text, choose Edit Office clipboard then:
Copy the column, format a column next to it as text, and click the paste
icon.
[for small ranges you may need to then undo and paste special as text]

Equivalently copy the column to notepad, format the next column as text and
paste back from notepad.

" wrote:

Hi,

In a column of data, in excel, I have a mix of currencies.
Some cells contain US$ and some contain Euro like below:
$123.00
345.00 Euro

I need to identify which cells are in Euro so that I can apply a
currency conversion, but cannot find a solution.

I've tried using FIND("$",CellX), but to identify the US$ amounts, but
this did not work as when I click into CellX I see that it does not
actually contain "$"; the formatting has presented it as US$.

I've also tried changing the column format to TEXT, but this did not
work because I lost the currency symbols.

Any help would be greatly appreciated.

Thanks,

CiarĂ¡n


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Identifying currencies

This might help.
The custom formats that have been used are as follows

"$" #,##0.00
#,##0.00 "EURO"



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Identifying currencies

Help is a simple function that will return the text of the cell incluing $
and Euro. You can then use find to actually find the $.

Function ReturnText(Target As Range) As String
ReturnText = Target.Text
End Function


" wrote:

This might help.
The custom formats that have been used are as follows

"$" #,##0.00
#,##0.00 "EURO"


  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 272
Default Identifying currencies

If there is only $ and Euro, you may be able to distinguish them by filling
down:

=CELL("format",A2)

"Joel" wrote:

You can easily make a cell text by placing a single quote in the fron of the
data. Use tis to put a dollar sign in front of numbers '$1.25.

Why don't you just look for Euro and convert these numbers and don't do
anything iff you don't find Euro.

if(FIND("Euro",CellX),Conversion * Cellx, Cellx)

"Lori" wrote:

To make a copy of the column as text, choose Edit Office clipboard then:
Copy the column, format a column next to it as text, and click the paste
icon.
[for small ranges you may need to then undo and paste special as text]

Equivalently copy the column to notepad, format the next column as text and
paste back from notepad.

" wrote:

Hi,

In a column of data, in excel, I have a mix of currencies.
Some cells contain US$ and some contain Euro like below:
$123.00
345.00 Euro

I need to identify which cells are in Euro so that I can apply a
currency conversion, but cannot find a solution.

I've tried using FIND("$",CellX), but to identify the US$ amounts, but
this did not work as when I click into CellX I see that it does not
actually contain "$"; the formatting has presented it as US$.

I've also tried changing the column format to TEXT, but this did not
work because I lost the currency symbols.

Any help would be greatly appreciated.

Thanks,

CiarĂ¡n


  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 373
Default Identifying currencies

Maybe I'm missing something, but if the number format is the only difference
in the numbers, couldn't you just use a relatively simple macro like this to
convert everything to US$ ?
If your numbers are in column A and column B is available (empty), then
format column B for currency. Copy this sub and paste it in a standard
module. Then run the sub. HTH, James

Sub Chg()
Dim c As Range
Const CONVRT = 1.345 'change to correct conversion factor
Columns("b").ClearContents
For Each c In Range("a1:a" & Cells(Rows.Count, "a").End(xlUp).Row)
If c.NumberFormat = "#,##0.00 " & Chr(34) & "EURO" & Chr(34) Then
c.Offset(0, 1) = c.Value * CONVRT
Else
c.Offset(0, 1) = c.Value
End If
Next c
End Sub

wrote in message
oups.com...
This might help.
The custom formats that have been used are as follows

"$" #,##0.00
#,##0.00 "EURO"



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
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
Conversion of Multiple Currencies into USD and CHF (Swiss Francs) Rene Excel Discussion (Misc queries) 0 October 16th 06 08:35 PM
How to handle multiple currencies with one spreadsheet Michael Mullican Excel Discussion (Misc queries) 1 October 5th 05 05:18 PM
different currencies BAZZA Excel Worksheet Functions 2 May 20th 05 01:15 PM


All times are GMT +1. The time now is 01:12 PM.

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"