+ Reply to Thread
Results 1 to 3 of 3

Checking the RAG Status of a Cell& Returning a Value

  1. #1
    Registered User
    Join Date
    05-05-2011
    Location
    Manchester
    MS-Off Ver
    Excel 2003
    Posts
    1

    Checking the RAG Status of a Cell& Returning a Value

    Hi everyone,

    I am working on a formula around RAG statuses attached. In short a programhas a RAG (OverallProgramHealth), and if this is Green for example none of columns be Red or Amber. If OverallProgramHealth is Amber, then at least 1 column must be amber, and the same with Red. If these conditions are not met, the score is 1, if they are met, score is 0.

    However....if the Overall Health (B) is Amber lets say and non of C-G are Amber, this should also flag as incorrect (1) and not 0.

    Make sense?

    I can get the first half of this to work but not the second! Can anyone help?

    Data.PNG

    Formulas.PNG
    Last edited by AliGW; 04-15-2021 at 09:01 AM.

  2. #2
    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
    81,247

    Re: Checking the RAG Status of a Cell& Returning a Value

    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. As you are new I have done it for you today.)
    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.

  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
    81,247

    Re: Checking the RAG Status of a Cell& Returning a Value

    Are you really using the ancient Excel 2003??? If not, then it's probably MS365 - please update your forum profile.

    An X-ray is inoperable - we need a body to work on.

    There are instructions at the top of the page explaining how to attach your sample workbook.

+ 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 check box fill color to unfill and clear check mark
    By Rocky2013 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-16-2020, 03:20 PM
  2. How to check if excel file is Checked Out in SharePoing Check Out, run code, Check In
    By jrtraylor in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-08-2016, 04:36 PM
  3. Finding Vacancy Percentage Month Wise from Check in and Check out Date
    By HemZone in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 10-29-2015, 10:51 AM
  4. possible to check for file in multiple folders, then check for values in specific cells?
    By mattheritage in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-04-2014, 08:33 AM
  5. Automatically check one or more check boxes when a parent check box is manually checked
    By Steverizer in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-28-2013, 01:56 PM
  6. Replies: 1
    Last Post: 12-14-2012, 10:11 AM
  7. Macro to check for blank cell entry, copy previous value, and check for duplicates
    By xPunxNotDeadx in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-26-2009, 06:33 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