+ Reply to Thread
Results 1 to 8 of 8

Keep Conditional Formatting

  1. #1
    Registered User
    Join Date
    03-29-2007
    Posts
    14

    Keep Conditional Formatting

    In order to highlight the changes I have made in a customer's data, I am going to add a number of columns (containing 0 or 1, generated in a database). The cell will change colour if there is a '1' in the corresponding new column. I hope this makes sense!

    However, I'd like to return the spreadsheet to the customer without the new columns. Is there any way of telling the formatting (i.e. background colour) to become 'hardwired' and delete the extra columns?

    TIA
    Emma

  2. #2
    Valued Forum Contributor mdbct's Avatar
    Join Date
    11-11-2005
    Location
    CT
    MS-Off Ver
    2003 & 2007
    Posts
    848

    Re: Keep Conditional Formatting (Hard wired)

    You could use a macro to set the color based on the new column's value or you could use Auto Filtering and then change the color on the visible cells.

    For The Auto Filter method:
    1. Apply the filter and set your criteria
    2. Highlight the cells whose color you want to change
    3. Press Alt + ; (semi-colon) to select only the visible cells.
    4. Set you color.
    5. Remove the Auto Filter.

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Keep Conditional Formatting (Hard wired)

    How about simply hiding those columns so the customer doesn't see them? You can lock the spreadsheet so they don't unhide
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  4. #4
    Registered User
    Join Date
    03-29-2007
    Posts
    14

    Re: Keep Conditional Formatting

    Hiding columns not really an option. This is the customer's own data and will be fed back into their database.

    Perhaps this is the moment to learn macros?

    Meanwhile, I will have a go at the Auto Filter in the morning... Thanks!

  5. #5
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Keep Conditional Formatting

    If you are using a formula to generate these 1's and 0's, you should be able to modify that formula and use it in the Conditional Formatting directly without the other column. What's the formula?

  6. #6
    Registered User
    Join Date
    03-29-2007
    Posts
    14

    Re: Keep Conditional Formatting

    Quote Originally Posted by ChemistB View Post
    If you are using a formula to generate these 1's and 0's, you should be able to modify that formula and use it in the Conditional Formatting directly without the other column. What's the formula?
    Unfortunately I did all that in Filemaker (Mac-based database software), where I am much more at home than in Excel! I have lovely coloured fields in Filemaker, but while I can export the data, I can't export the conditional formatting, so I have to re-create it in Excel.

    A bit stressed with 30,000 things to do right now, please keep the ideas coming, I will have to do this quite soon...

  7. #7
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Keep Conditional Formatting

    Okay, if you give the criteria for those 1's and 0's, we should be able to come up with a conditional formatting for you that doesn't require that extra column.

  8. #8
    Registered User
    Join Date
    03-29-2007
    Posts
    14

    Re: Keep Conditional Formatting

    They are based on 2 tables - a straight comparison between fields, e.g.

    Product Code[tab]Name[tab]Description[tab]Weight (there are actually about 30 fields!)

    - it relates the tables on Product Code, then if old Name ≠ new Name it puts a 1 in 'NameChange' field, etc. Then I use that '1' to tell Excel to colour the background of the cell to highlight that the data has been changed.

    I don't think I can do the comparison between 2 spreadsheets, as items have been added and deleted, and I'm not allowed to re-sort by Product Code.

    Why are my problems never straightforward? No worries though, I've warned them about the extra columns and they're happy with that. Would be nice to be able to do though.

+ 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