+ Reply to Thread
Results 1 to 10 of 10

cell colour formatting with multiple arguments

  1. #1
    Registered User
    Join Date
    12-10-2017
    Location
    Canberra
    MS-Off Ver
    2010
    Posts
    5

    cell colour formatting with multiple arguments

    Hi all,

    I am creating a spreadsheet with milestones in sheet1 and tasks for these milestones in sheet2.

    I would like to create a rule that:

    - If all the tasks for a milestone in sheet2 shows TRUE, then change colour of the milestone in sheet1 to GREEN.
    - if one or more of the tasks for a milestone in sheet2 shows FALSE, then change the colour of the milestone in sheet1 to AMBER.
    - If all the tasks for a milestone in sheet2 shows FALSE, then change the colour of the milestone in sheet1 to RED.

    For example, there is a milestone cell called Patch Cables is in sheet1. In sheet2, there are 3 tasks for the Patch Cables milestone. If these tasks all show TRUE, then the colour of the milestone Patch Cables in sheet1 is automatically changed to GREEN. If one or more tasks shows FALSE, then the colour of the milestone changes to AMBER automatically. If all the tasks show FALSE, then the colour of the milestone stays RED as the default colour.

    How would I do this?

    Thanks
    Attached Files Attached Files
    Last edited by DefenderAtkins; 12-10-2017 at 10:15 PM.

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: cell colour formatting with multiple arguments

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Quang PT

  3. #3
    Registered User
    Join Date
    12-10-2017
    Location
    Canberra
    MS-Off Ver
    2010
    Posts
    5

    Re: cell colour formatting with multiple arguments

    Hi bebo021999,

    I have attached the sample spreadsheet.

    Thank you.

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: cell colour formatting with multiple arguments

    Is it always 3 tasks per Milestone?
    Try attachment.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    12-10-2017
    Location
    Canberra
    MS-Off Ver
    2010
    Posts
    5

    Re: cell colour formatting with multiple arguments

    Hi bebo021999,

    This works but in my spreadsheet, some milestones have 3 tasks, some has only 1 and some has 10. Where did you define the formulas? I could not find them in the cells or Macros.

    Thank you.

  6. #6
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: cell colour formatting with multiple arguments

    I tried to put a string ("xxx" or any string) in C18 to mark "End of table"
    See attachment.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    12-10-2017
    Location
    Canberra
    MS-Off Ver
    2010
    Posts
    5

    Re: cell colour formatting with multiple arguments

    Hi bebo021999,

    Where/How did you define the formulas?

    Thanks

  8. #8
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: cell colour formatting with multiple arguments

    Try hitting Ctrl-F3 to see define name RowNo

    The RowNo defines how many rows of tasks

    Then use OFFSET to define the range of task per milestone

  9. #9
    Registered User
    Join Date
    12-10-2017
    Location
    Canberra
    MS-Off Ver
    2010
    Posts
    5

    Re: cell colour formatting with multiple arguments

    Hi bebo21999,

    Thank you very much for your answers. However, I still dont get how the cells would change colour by looking at the =MATCH statement. Could you please kindly give me more info how you did it?

  10. #10
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: cell colour formatting with multiple arguments

    Quote Originally Posted by DefenderAtkins View Post
    Hi bebo21999,

    Thank you very much for your answers. However, I still dont get how the cells would change colour by looking at the =MATCH statement. Could you please kindly give me more info how you did it?
    Try to highlight each small part of the combination, then hit F9 to see result, then you can understand how it works.
    It is hard to explain unless you understand deeply how MATCH, OFFSET works

+ 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. Multiple IF arguments per cell error?
    By katb85 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-10-2017, 02:13 AM
  2. Replies: 6
    Last Post: 04-11-2016, 09:48 AM
  3. Multiple arguments search and result from another cell
    By igornachov in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-25-2015, 04:18 PM
  4. [SOLVED] Multiple IF arguments in the one cell
    By rooboyz in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-16-2013, 08:53 PM
  5. Replies: 1
    Last Post: 09-12-2013, 02:09 PM
  6. Multiple IF arguments in single cell
    By rideahonda in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-05-2010, 05:30 PM
  7. If then multiple arguments for single cell
    By MSTARS in forum Excel General
    Replies: 8
    Last Post: 11-15-2008, 06:31 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