+ Reply to Thread
Results 1 to 2 of 2

Conditional formating

Hybrid View

  1. #1
    Registered User
    Join Date
    04-18-2012
    Location
    south dakota
    MS-Off Ver
    Excel 2007
    Posts
    1

    Cool Conditional formating

    Is it possible to have a cell reference another cell and use conditional formating to change the number format. As follows

    if the number is odd, then change the number format to currency

    if the number is even, then change the number formart to just number with 2 decimals.

    todd

  2. #2
    Forum Contributor
    Join Date
    12-14-2012
    Location
    Doha, State of Qatar
    MS-Off Ver
    excel 2003, 2007, 2010, 2016
    Posts
    124

    Re: Conditional formating

    i dont think it is right to use the conditional formatting for the same but you can use this formula....than the results will be displayed in the next cell...and lastly conditional formatting is for highlighting the cells...
    =IF(ISEVEN(a1),TEXT(a1,"$000000000000"),TEXT(a1,"0.00"))

+ 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