+ Reply to Thread
Results 1 to 4 of 4

Number Formating based on Formula

  1. #1
    Registered User
    Join Date
    01-21-2004
    Location
    Liverpool
    MS-Off Ver
    2003
    Posts
    88

    Number Formating based on Formula

    Hello People,

    Hope everyone is well.

    How do i do the following:

    I have a nested IF formula and depending on which value it shows it will id be a standard number or a currency

    Formula:
    Please Login or Register  to view this content.
    When the second IF is true the cell needs to desiplay a £ plus the value.

    Any help would be great

    Thanks
    Paul
    regards
    Paul
    http://www.frontlineuk.com
    FrontLineUK

  2. #2
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Hi,

    Conditional number formatting cannot be handled by conditional formatting ...
    It requires some coding in an event macro ...
    Which cell or cells carry this particular formula ? ...

    HTH
    Carim

  3. #3
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    It depends if you need to use the result in another calculation, if not you could use something like this, maybe?

    =IF(A1<10,A1,IF(A1=10,"£ "&A1,0))
    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

  4. #4
    Forum Contributor
    Join Date
    10-27-2006
    Location
    United Kingdom
    MS-Off Ver
    EXCEL 2003 (2007 at home)
    Posts
    517
    My choice would probably be to use the TEXT() function;

    Please Login or Register  to view this content.
    Note however that the resultant cell will be of TEXT type rather than NUMBER type,
    which could be a problem if you want to use the result in future calculations.

    The format string is the same as that used in the cell custom formats (if you want to use something other than the "general" format).

    Mark.

+ Reply to 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