+ Reply to Thread
Results 1 to 6 of 6

IF contingent task closed, THEN change formatting of dependent task cell

  1. #1
    Registered User
    Join Date
    10-16-2012
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    7

    IF contingent task closed, THEN change formatting of dependent task cell

    hello,

    I have an array like the following:

    ID Work Item Blocked By Assigned start (plan) start (actual) end (plan) end (actual)
    0 test button 1 tom 10/13 10/13 10/20 10/20
    1 make button ... jim 9/20 9/23 9/30 9/30
    2 ... ... ... ... ... ... ...

    IF the blocked column "C" has a value,
    AND that value is in the ID column "A"
    AND it has a corresponding end(actual) value in "H",
    THEN change formatting of cells in that row

    Does this make sense?
    Can someone help out?

    Thanks,
    mike
    Last edited by tek_9; 10-22-2012 at 08:41 PM. Reason: fixed table

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: IF contingent task closed, THEN change formatting of dependent task cell

    please upload a sample file, showing your data, exactly what your expected outcome is, and how you arrived at that
    To Attach a File:

    1. Click on Go Advanced
    2. In the frame Attach Files you will see the button Manage Attachments
    3. Click the button.
    4. A new window will open titled Manage Attachments - Excel Forum.
    5. Click the Browse... button to locate your file for uploading.
    6. This will open a new window File Upload.
    7. Once you have located the file to upload click the Open button. This window will close.
    8. You are now back in the Manage Attachments - Excel Forum window.
    9. Click the Upload button and wait until the file has uploaded.
    10. Close the window and then click Submit.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    10-16-2012
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: IF contingent task closed, THEN change formatting of dependent task cell

    i made a sheet with concrete example.
    the first work item, "make button" (id 1) cannot be started till "get button specs" is finished (id 6)- i.e. it has a value in the end (actual) column.

    Im using conditional formatting to show tasks that are blocked. (have any value in blocked by column).

    specifically, work item id 1 is blocked by "6". I would like it to look for work item 6 and see if it has a value in end date (actual). if it does, i would like it to change from the pink itallics to regular black text, non italic like the others.

    hope this helps,
    tek9.xlsx
    thanks!
    mike

  4. #4
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: IF contingent task closed, THEN change formatting of dependent task cell

    Not sure if this is what you need

    Select A6:H6
    C/F > Formula is:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Copy the formatting down using the Format Painter
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  5. #5
    Registered User
    Join Date
    10-16-2012
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: IF contingent task closed, THEN change formatting of dependent task cell

    First of all, thank you so much for your reply.

    This works great, exactly what I was looking for! U Da man. I need to familiarize myself with the INDEX(MATCH( function.

    In your example it changes the color to pink when the blocking task is finished.
    I changed it slightly so that it's pink if it has a value in the blocked column, and it's changed to bold black if blocking task is finished.

    Great work sir!

  6. #6
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: IF contingent task closed, THEN change formatting of dependent task cell

    @ tek_9

    Welcome to the forum.

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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