+ Reply to Thread
Results 1 to 3 of 3

give a cel a color if the cel is a value or a different color if a cel is formula

  1. #1
    Registered User
    Join Date
    05-29-2020
    Location
    Groningen, Holland
    MS-Off Ver
    Office365
    Posts
    1

    give a cel a color if the cel is a value or a different color if a cel is formula

    I was looking for a possibility to give a cel a color if the cel is a value or a different color if a cel is formula
    Last edited by AliGW; 05-29-2020 at 03:39 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    03-24-2020
    Location
    Thailand
    MS-Off Ver
    Office 2016
    Posts
    849

    Re: Cel color

    You can use Conditional Formatting.
    Assuming you want to check in column A and starting from A1.
    Select Rules, based on formula.

    =ISFORMULA(A1) set one colour for formula cells
    =A1<>"" set another colour for cells with a value
    =NOT(ISFORMULA(A1)) for any cell (including blank) which does not contain a formula

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,416

    Re: give a cel a color if the cel is a value or a different color if a cel is formula

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. I have done it for you today, as you are new here.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. Change cell format (cell color+font color) based on color of another cell
    By Dedaluss in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-30-2017, 03:27 AM
  2. Replies: 3
    Last Post: 05-30-2014, 10:24 AM
  3. Replies: 4
    Last Post: 12-29-2013, 11:41 PM
  4. Mouse rolls over to cell will change the tab color, font color and tp bold type
    By Rocky2013 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-20-2013, 10:36 AM
  5. Replies: 2
    Last Post: 02-25-2013, 03:36 AM
  6. Replies: 3
    Last Post: 07-08-2010, 06:48 PM
  7. [SOLVED] RE: Can't format cell color/text color in Office Excel 2003 in files .
    By albertaman in forum Excel General
    Replies: 0
    Last Post: 02-16-2006, 12:00 AM

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