# Currency Fomat

#### cameronb

##### Board Regular
I have tried to create a custom format for currency to no evail. I am trying to format a range so that any would be displayed as:

GBP100,000

or

USD20,000

Can anyone assist as I cant seem to be able to achieve this in custom formats?

### Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},\$Z\$1:\$Z\$99,\$Y\$1:\$Y\$99),2,False) to lookup Y values to left of Z values.

#### ScottR

##### Well-known Member
Something like this

"GBP" #,##0;"GBP" -#,##0

Do you just mean
"GBP" #

"USD" #

lenze

#### cameronb

##### Board Regular
The amount and currency are both stored in separate columns. The currencies range from USD to MXN. When I try to concatinate, the comma separation disappears. I have tried to create a custom number format which will allow for the first three characters of the number to be letters and treat the remainder as a number but no joy.

#### Richard Schollar

##### MrExcel MVP

Hi Cameron

Do you mean something like this:
Excel Workbook
LMN
3USD1000USD 1,000.00
4GBP87.54GBP 87.54
Sheet4
Excel 2002
Cell Formulas
RangeFormula
N3=TEXT(M3,"""" &L3&""" #,##0.00")
N4=TEXT(M4,"""" &L4&""" #,##0.00")

#### cameronb

##### Board Regular
Richard, that is exactly what I am after, many thanks. Not sure I can put this into VBA, but will find a way round regardless. Many thanks, I have been pulling my hair out with this one!!!!!

Lenze, I will check out the VBA with which you have used cases to get the formatting correct. Thanks

Replies
1
Views
26
Replies
3
Views
32
Replies
4
Views
32
Replies
2
Views
51
Replies
2
Views
21

1,132,805
Messages
5,655,406
Members
418,198
Latest member

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back