How to find the currency format in a formula

AndrewBT

New Member
Joined
Aug 30, 2005
Messages
14
I have an excel (Excel 2002) table with figures that are formatted using the currency format, and different formats have been chosen for the different currencies. Eg:

EUR 1,000
USD 1,500
GBP 2,000

The currency codes are a part of the cell format rather than entered text.

I want to have the currency text (eg EUR) in a separate cell so that I can work with it. The excel number to text conversion functions I've tried don't help because they require the number format to be known/specified in the function.

Those currency codes are staring me in the face, but I just can't get at them!

Any ideas?

Thanks

Andrew
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Hi Andrew,

select the cell to the right of the first number, say cell B2, and do menu command Insert/Name/Define Name, and create a name of GetFormat. For the definition of the name type:

=GET.CELL(7,A2)

and add the name.
Now in cell B2, type =GetFormat

Adjust B2, and A2 in name definition to suit yourself.
 
Upvote 0
Thanks Glenn, that's done the job. I wasn't even close to that as a solution when I was looking.

Kind regards

Andrew
 
Upvote 0

Forum statistics

Threads
1,215,674
Messages
6,126,144
Members
449,294
Latest member
Jitesh_Sharma

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.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

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

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

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
Back
Top