+ Reply to Thread
Results 1 to 2 of 2

How to change text color within IF function

  1. #1
    Registered User
    Join Date
    07-25-2014
    Location
    USA
    MS-Off Ver
    2010
    Posts
    5

    How to change text color within IF function

    Hi, I am trying to use an IF function and conditional formatting all in one.

    7 20
    0 15
    9 24

    In the example above, I want to use =if('Q:\example\[accountlist.xlsx]systemsize'!$M10=0,b1,'Q:\example\[accountlist.xlsx]systemsize'!$M10)

    The column A is getting a number from another workbook, but if it is zero, I want it to equal the number in column B. What I am wanting is if the original number in column A was zero, I want it to turn blue so that I know it was changed. Is it possible to do that without using another column?

  2. #2
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: How to change text color within IF function

    Please put formula tags around the formula in your post to comply with forum rules.

    Can the value retrieved from accountlist.xlsx be coïncidentally be the same as the value in Column B?
    If so you'll need an extra column (which you can hide). If not you can simply use a conditional formatting rule like
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Cheers!
    Tsjallie




    --------
    If your problem is solved, pls mark the thread SOLVED (see Thread Tools in the menu above). Thank you!

    If you think design is an expensive waste of time, try doing without ...

+ 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. Replies: 0
    Last Post: 09-26-2012, 01:08 PM
  2. change text color based on background color
    By great.bean in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-05-2009, 07:07 PM
  3. Function to change text color based on date?
    By Ahroo in forum Excel General
    Replies: 2
    Last Post: 08-09-2006, 10:49 AM
  4. [SOLVED] Change Text-color depenting on SUM-function
    By Eric S. in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-23-2005, 11:06 AM
  5. change text color based on adjacent cell text color
    By matthewst in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-01-2005, 03:49 PM

Tags for this Thread

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