+ Reply to Thread
Results 1 to 9 of 9

Locking conditional formatting

  1. #1
    Registered User
    Join Date
    10-02-2012
    Location
    Pontiac, Mi
    MS-Off Ver
    Excel 2010
    Posts
    9

    Locking conditional formatting

    Hi,

    I am attempting to make a production schedule in excel with the use of conditional formatting.

    The issue arises with the fact that I need to be able to re-order the jobs at anytime and need the conditional formatting to remain fixed.

    I have built and rebuilt the book many times changing the way I protect it and it never fails to mess up once I close the book and reopen it.

    I have all the cells formatted to 'Locked' and protect the sheet to the point that they are not able to even select a cell.

    The schedule is set up to hold up to 98 jobs at one time. The most common origin of the problem comes from just above ov below the last job scheduled.

    Is there any way to absolutely lock the formatting so it will not move in the schedule sheet when I rearrange the job order in a separate sheet?

    Thank you
    Jessica

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Locking conditional formatting

    what is the formatting criteria?
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    10-02-2012
    Location
    Pontiac, Mi
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Locking conditional formatting

    It is set up to be between the start and stop time/date. Each cell in the schedule is filled with a time/date.

    So for this case it is between $s$4 and $t$4.

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Locking conditional formatting

    im still not sure so if a1 has the condition between $s$4 and $t$4 and you sort so a1 is now in a10 you still want a10 to reference $s$4 and $t$4?
    i think an example workbook is needed

  5. #5
    Registered User
    Join Date
    10-02-2012
    Location
    Pontiac, Mi
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Locking conditional formatting

    Test.xlsx

    I have attached a test book. But I'm not sure how helpful it will be. The whole thing runs on auto updates and macros which are too time consuming to recreate...

    The data in the real book gets automatically updated via microsoft query so the number of items changes on a daily (even hourly) basis. I think this is what causes the errors.

    The errors don't occur every time, or on every schedule (there are 16 in the real book). But they do occur in at least one schedule each time I open it.

    Thanks for your help

  6. #6
    Registered User
    Join Date
    10-02-2012
    Location
    Pontiac, Mi
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Locking conditional formatting

    I guess a better explanation is there isn't always going to be the same number of rows.

    I need the ability to add and delete rows without the formatting scrambling.

    If you try to delete and add the rows in the 'Line 7' sheet you may get the errors..

  7. #7
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Locking conditional formatting

    have you tried =INDEX($P:$P,ROW())<>"7"

  8. #8
    Registered User
    Join Date
    10-02-2012
    Location
    Pontiac, Mi
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Locking conditional formatting

    What would that formula do?

  9. #9
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Locking conditional formatting

    whatever row in column p its in it will work

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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