+ Reply to Thread
Results 1 to 11 of 11

Extract Curr. from an amount formatted

  1. #1
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Extract Curr. from an amount formatted

    Hi
    I have a list of amounts that formatted with currencies, I need to get the currency name out of the number. Is it possible?

    Thanks.
    Attached Files Attached Files

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Extract Curr. from an amount formatted

    With formula, no way.
    With VBA, I have no idea.
    Quang PT

  3. #3
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: Extract Curr. from an amount formatted

    OK, and can I change the symbol of $ to words USD ?

  4. #4
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Extract Curr. from an amount formatted

    Please try

    Please Login or Register  to view this content.
    or use Regex to remove unwanted characters

    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Forum Expert BMV's Avatar
    Join Date
    01-13-2020
    Location
    St-Petersburg, Russia
    MS-Off Ver
    2013-2016
    Posts
    1,329

    Re: Extract Curr. from an amount formatted

    Please Login or Register  to view this content.
    to the name _GetFormat
    and
    Please Login or Register  to view this content.
    However GET.CELL is macro function and macro must be enabled , Work book must be xls, xlsm, xlsb format

  6. #6
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: Extract Curr. from an amount formatted

    Thank you Bo_Ry!
    Is there a way to convert the symbol to USD/GBP....?

    I would have given you reputation, but the system blocked me to since I'm giving of the same to one user too much
    Last edited by Limor_OP; 11-05-2020 at 06:31 AM.

  7. #7
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Extract Curr. from an amount formatted

    @ BMV
    You cannot use the GET.CELL macro as a normal function. It has to be given a name
    More info at https://www.mrexcel.com/board/thread...guments.20611/

  8. #8
    Forum Expert BMV's Avatar
    Join Date
    01-13-2020
    Location
    St-Petersburg, Russia
    MS-Off Ver
    2013-2016
    Posts
    1,329

    Re: Extract Curr. from an amount formatted

    @Pepe Le Mokko Where i sad opposite?

  9. #9
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Extract Curr. from an amount formatted

    Quote Originally Posted by BMV View Post
    @Pepe Le Mokko Where i sad opposite?
    The way to answered might let the OP think it is a function. Without some explanation GET;CELL is unusable, and documentation scarce

  10. #10
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Extract Curr. from an amount formatted

    For just USD/GBP

    try
    =IF(Curr(A2)="$","USD","GBP")

    for more currency, Use
    =VLOOKUP(B2,{"$","USD";"£","GBP"},2)
    Attached Files Attached Files

  11. #11
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: Extract Curr. from an amount formatted

    Thank again Bo_Ry

+ 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. Hours and Minutes extract from (8 Hr 10 min) formatted cell
    By OmarHamza in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 08-10-2016, 07:14 AM
  2. [SOLVED] Extract Data From Formatted Cell
    By lordfa9 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-24-2016, 03:27 AM
  3. Extract value from formatted cell
    By Zookopf in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-02-2015, 07:59 AM
  4. Need to extract information from a formatted list..
    By ks330 in forum Excel General
    Replies: 3
    Last Post: 07-02-2013, 01:48 PM
  5. Extract data from formatted text file
    By ahartman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-12-2010, 12:53 PM
  6. referencing another worksheet / passing name from curr. sheet
    By Drywall Goddess in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-26-2006, 03:50 PM
  7. Insrt curr file name & name of active worksheet respectively
    By Olga Cook in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-07-2006, 06:45 PM

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