Closed Thread
Results 1 to 5 of 5

Formula/Conditional formatting to determine Percent or Currency style?

Hybrid View

  1. #1
    Registered User
    Join Date
    03-10-2008
    Posts
    3

    Formula/Conditional formatting to determine Percent or Currency style?

    I hypothetically have a dropdown in A1 that gives options of "Percent" or "Currency".

    Is there a way to, in conditional formatting or by using a formula, determine the format of a cells style in A2?

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Hi,

    Does this link help?

    http://www.techonthenet.com/excel/formulas/cell.php
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Registered User
    Join Date
    03-10-2008
    Posts
    3
    The link describes returning information about a foreign cell as a value. What I need to know is how to format cell B1 based on the value of A1 (be it % // $ as general style or "Percent" // "Dollar Amount" as text).

    The problem that I face is that any formula that I type into cell B1 to retrieve information about cell A1 will be overwritten once a value is placed into it. I was thinking that this won't be possible; but in excel it seems that this shouldn't be the first time a situation simliar to this has come about and there has to be some kind of workaround!

    My first thought went to conditional formatting... however it falls short of my requirements. CF simply changes the font/border/pattern of a cell. It will not change the 'style'.

    Anyone have any maneuvers I can implement?

  4. #4
    Registered User
    Join Date
    04-15-2009
    Location
    London
    MS-Off Ver
    Excel 2008
    Posts
    2

    Red face Re: Formula/Conditional formatting to determine Percent or Currency style?

    I have been trying to do the exact same thing for about 2 years now and despite extensive searching haven't yet managed to find an answer. It would seem that you should be able to use custom formatting to complete this but it doesn't appear to allow you to reference an external cell only static info e.g. "custom text"#,##.

    Has anyone managed to resolve this? I would *LOVE* to know the answer!!

  5. #5
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988

    Re: Formula/Conditional formatting to determine Percent or Currency style?

    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread.

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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