+ Reply to Thread
Results 1 to 4 of 4

Calculate a field value based on the color of another.

  1. #1
    Registered User
    Join Date
    10-02-2017
    Location
    North Idaho
    MS-Off Ver
    Office 2010
    Posts
    2

    Calculate a field value based on the color of another.

    Hi All,

    I was wondering if there is a way to calculate a field value based on the color of another field. In other words suppose a field in column A was red and the next field down was green. Is there a formula or calculation that another field could have in column B that would display the value 1 or 2 based on the color of the fields in column A?

    Hope this makes sense.
    Thanks.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Calculate a field value based on the color of another.

    That depends on whether the two cells are coloured manually or whether they are subject to a conditional format. If the latter then use whatever rules are used by those two cells in column B.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    10-02-2017
    Location
    North Idaho
    MS-Off Ver
    Office 2010
    Posts
    2

    Re: Calculate a field value based on the color of another.

    Thank you for your reply. The user would simply change the color manually and then the other cell would change value based on what color the first cell was. Thanks

  4. #4
    Forum Expert
    Join Date
    10-02-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    1,222

    Re: Calculate a field value based on the color of another.

    See this post:

    https://www.excelforum.com/excel-for...thout-vba.html

    Basically answers your question.

+ 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. Slicer cells to have color dynamically based on another field
    By yasar2002 in forum Excel Charting & Pivots
    Replies: 10
    Last Post: 11-15-2016, 02:25 AM
  2. Replies: 2
    Last Post: 10-18-2016, 09:57 PM
  3. Have a field change color based on date of another field
    By Ian Frost in forum Excel General
    Replies: 2
    Last Post: 07-05-2016, 03:22 PM
  4. Calculate field based on multiple columns and rows
    By Fade-e in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 07-30-2013, 02:27 AM
  5. Replies: 4
    Last Post: 09-18-2012, 06:41 PM
  6. Replies: 3
    Last Post: 03-03-2012, 12:16 PM
  7. calculate based on color
    By redneck joe in forum Excel General
    Replies: 6
    Last Post: 07-13-2006, 06:15 PM

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