Change cell background rule: how to change automatically?

Hi All,
I'm using a sheet as follows:
the purpose is to take note of lap times on a circuit. I've 3 sectors (S1, S2, S3) which compose an entire lap. I would insert in the sectors cells a rule that will change the background of the cell when the sector time is better than the previous lap one, so I can track visually when the driver improves.
How is it possible?
Thank you, best regards.

Hi Riccardo,
What you want to do is possible. As a practical matter, it can be done easliy for a small table, but would be tedius to program for a large table. If you will have a small table, replicated, or a table in a template document, you will be ok.
Use Conditional Format to compare sector times to previous sector times. Since Conditional format cell references aren't relative, they won't properly update when copied to other rows and columns, so must be programmed one at a time.
Here's an example with two methods...
For S1, I programmed a Custom Format the tedious way, in column A. In S2 and S3, I added narrow columns to the right and programmed them to detect the relative time condition. Then the Custom Format is easy.
The expression in C3 is: =IF(B3>B2, " ",IF(B2>B3, "  ","")), copied to the rest of the little square cells.
I formatted for Green Fill when the string "  " (2 space characters) is detected. Note that I programmed all three conditions, less than, equal and more than, but only did the less than case in the format, since that's what you asked for.
Regards,
Jerry

Similar Messages

  • I want to change my community name.how to change?p...

    i want to change my community name.how to change?plz tell.actually my name's last alphabet is missing.

    Hi, Tanveer.afza, and welcome to the Community,
    Please see this topic for the information you seek:
    http://community.skype.com/t5/Suggestions-for-this-Community/Skype-Community-Name/td-p/2863521
    Regards,
    Elaine
    Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
    Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often!

  • How to stretch background image, How to change show detail item header

    Hello all I have a few questions I would like to pose humbly to your collective wisdom, FYI I use Jdeveloper 11.1.3 and ADF Fusion
    First, how do I stretch the background Image? I have a background image in a show detail item but it is very small. 400 by 400. Thing is it's just a pic of the color red gradually moving from bright to dark in the image. So stretching it should not make it look horrible, but also repeating it makes it look silly, because you have 50 little images of dark red to bright red, instead of one big image of dark red to bright red. Can this be done and how?
    Secondly how do I change the header of the show detail item in a Panel Accordion? I have 8 Show detail items, in the middle of my page and the user can click and switch between which one is open, which makes for a nice effect, but I would like to give each of the show detail items a particular color. I did this with the backgrounds but I can't do it with the header, which are always visible, while only one background is visible at a time. I tried using the skinning technique but I wasn't able to change the header (I changed the background so the skinning was done correctly). I used
    af|panelAccordion::header
      color: blue;
      font-family: Arial, Helvetica, sans-serif;
      background: Maroon;
      background-color: Maroon;
    }Because I read in the Fusion Guide (or somewhere) that the show detail item cannot be skinned and therefore doesn't have a property like af panel Accordion.
    Can it though be achieved through some other means?
    Third when I drop the data control on the page and if I pick search form, why can't I use the CreateInsert button? Why can't I use the form to Create new rows? It keeps giving me some type of error, like Row is out of bounds or something? Is that some mistake with my database, or page, or is it not possible to do it like that?
    I welcome your words of guidance and also happy new year Huzzah!!!
    Edited by: Dino2dy on Jan 4, 2011 2:01 AM

    Thanks I haven't really had time to play around with this, as I have other concerns, but I do plan on coming back to it, and it is one of the things about ADF that really is bothersome. Creatively it means I can choose between 2 styles when making an app Blaf Rich and Fusion (the other ones are just worse versions of the two) while I will concede that the superb out of the box functionalities and things I can do declaratively probably mean I won't have a Dreamweaver type freedom of design I thought there might be a way to do some of these custom design changes.
    A few questions though
    When you skin the accordion are you able to propagate the changes to show detail item headers? Because that is one thing that I really want to change, just the color of the headers but I was unable to do so.
    Also there is a component that is not part of a panel accordion or panel tabbed called panel box. Again I changed the backgrounds to great effect but I need to change the panel header and in this I failed.
    Granted I used the css color attribute for both not a picture so maybe that is the reason. Just wondering if you succeeded.
    Cheers

  • Is it possible to change cell Background color?

    I want to change table cell background color.
    Can anyone help me with code example?

    Hi,
    tanusree wrote:
    I want to change table cell background color.
    Can anyone help me with code example?You can find code example in the java tutorial.
    http://java.sun.com/docs/books/tutorial/uiswing/components/table.html
    exacting
    http://java.sun.com/docs/books/tutorial/uiswing/components/table.html#renderer
    greetings
    Axel

  • Changing Cell Background in Keynote '08 Tables

    Hello,
    I am wondering if it is possible to change an individual cells background color in a presentation. My vision is that if the table is up that I would be able to click and see one single cell change from white to blue lets say. Is this possible?

    I will start by saying that I am using Keynote '09, but this should work the same in '08.
    You can't use any actions to change the color of a chart cell, but there is an easy workaround.
    Make your chart and make sure that you have the cell background set to White. Then duplicate the chart and change the background color of the cells you want changed. Line it up with the first chart and send to the back. Then go the the Action Tab of the inspector (3rd Tab) and create a build out of disappear to the chart with all white background. When you click it will look like you colored the the cell.

  • No changes in Update rules even after changes in Communicatin struct

    Hello All,
    I have made changes to a transfer structure i.e. I added a field in the Communication structure and mapped in the transfer structure. I was expecting the update rule to be deactivated after this. But the Update rule is activated. Because of this I am not able to accomodate my new infoObject in the update rule. What might be the problem?
    Regards,
    KP

    Hi KK PP,
                     Update rules are only pertained to Data targets,These helps to map the object to the Infosource using a rule.If you change the transfet structure or communication structure it will not effect update rules.If you add some object to your data target then update rules will be changed.
    Regards
    Karthik

  • Workspace background color : how to change it ?

    Hello,
    Is there a way to change the color (a more dark grey) of the background color of the workspace ? I find the one used by PSE4 (and previous versions) too light. I would prefer a more dark grey, like the one used by Photoshop CS2 (and if this one is good, why not the same in PSE4 Mr Adobe ?).
    Best regards,

    > The default colour is an entirely neutral grey
    No... for me, a neutral grey is a 50% grey, all backgrounds are about 80% grey (very light).
    Kenneth : OK, but it don't works for quick fix and to for the organizer... only for standard edit...

  • Why after i upgrade the Firefox,the language automatically change to Chinese?How to change it back to English?

    Such like toolbar,when right click to open tab and when the loading...

    Check that you do not run Firefox in compatibility mode or with a reduced screen resolution.
    You can check that in the "Compatibility" tab in the Properties via the right-click context menu of the Firefox desktop shortcut.
    Make sure that all items are deselected in the "Compatibility" tab of the Properties window.

  • Have changed my mailaddress. How to change in new computer, iPhone, Apple-ID

    My provider have given me a new mailaddress and now I bought another computer, MacBook Pro. I have to change mailaddress in both iPhone and Apple-ID. How can I do that?
    I created a new Apple-ID account  and now I have two!!??
    Where can I find instructions to change mailaddress in iPhone. How do I get rid of old Apple-ID?
    The password to MobileMe have I lost long ago and can not find how to restall?
    The same goes with the other solutions the Apple provide iCloud etc.
    How to erace and start over again?
    I have my older MacBook active also!
    Certainly a simple problem for many but.....?

    Apple ID Apple Support Communities
    Apple IDs and iCloud
    Frequently asked questions about Apple ID
    My Apple ID
    Apple - Support - Apple ID

  • How to change the same cell in multiple tables at the same time

    help if you can,
    i have a workbook
    workbook has 10 sheets
    each sheet has 1 table
    when in excel you were able to select a sheet then hold control and select another, this would group the sheet as if to make them the same. change a single cell in one of the sheets and this changed cell would be also be changed in all grouped sheets. is there the same functionality in numbers?

    It's funny.
    This question was asked several times in the last ten days.
    The feature is unavailable.
    _Go to "Provide Numbers Feedback" in the "Numbers" menu_, describe what you wish.
    Then, cross your fingers, and wait _at least_ for iWork'10
    Yvan KOENIG (VALLAURIS, France) jeudi 8 octobre 2009 18:57:14

  • How to change the sequence that VL10 use for sales order during DN creation

    We are using VL10 for DN creation , VL10 is executed in  background as a batch job ..... we have created a variant and have given range of shipping points for which we want to create  the Deliveries.
    What we want to understand is that how SAP standard code for VL10,  sorts the sales orders for which the delivery are to be created using VL10?
    we would like VL10 to process the sales order which belong to same shipping point in some order....so that delivery needs to be created for the first sales order rather than last sales order for a given shipping point....
    Is there any sort order that SAP follows to pick which order it will consider for delivery creation ....first over the other sales order where the shipping happens to be same ?  if yes then is there any way we can change it  ?
    Any guidance is appreciated
    Thanks
    Rajey

    We are facing the same problem and are running at 4.7.
    There are orders with the same goods issue date and if so, it should be sorted by order no.
    Nevertheless, it does not sort it by order no but we could not find yet what the sort criteria is if it runs in the background and how to change these rules.

  • How to change the display of a spectrogra​m (backgroun​d color)

    how to change the display of a spectrogram (background color).
    I am using JFTA Adaptive spectrogram.  Need to change the color of the background.

    : how to change the display of a spectrogram (background color)
    Attachments:
    snap.docx ‏23 KB

  • How to change attributes of HTML table in HTMLDocument

    Hi
    I am trying to change background of table cell but unsuccessfully. First of all I did not found any suitable method in API so I have to inherit HTMLDocument and make my own
    public static class ExtendedHtmlDocument extends HTMLDocument {
    public void replaceAttributes(Element element, AttributeSet attributes, HTML.Tag tag) {
    try {
      writeLock();
      int offset = element.getStartOffset();
      int length = element.getEndOffset() - offset;
      MutableAttributeSet mutableAttributes = (MutableAttributeSet) element.getAttributes();
      mutableAttributes.removeAttributes(attributes.getAttributeNames());
      mutableAttributes.addAttributes(attributes);
      DefaultDocumentEvent changes = new DefaultDocumentEvent(offset, length, DocumentEvent.EventType.CHANGE);
      changes.addEdit(new AttributeUndoableEdit(element, attributes.copyAttributes(), true));
      changes.end();
      fireChangedUpdate(changes);
      fireUndoableEditUpdate(new UndoableEditEvent(this, changes));
    finally {
      writeUnlock();
    }When I usethis code and dump exisiting document I see changes, e.g. I changed background in cell:
    private void setCellBackground(Element element) {
      SimpleAttributeSet set = new SimpleAttributeSet();
      set.addAttribute("bgcolor", "black");
      doc.replaceAttributes(element, set, HTML.Tag.TD);
      doc.dump(System.out);
      //editor.setText(editor.getText());
    } and extract from dump
    <html
      name=html
    >
        <table
          width=100%
            <td
              bgcolor=black
              name=td
            >But I do not see changes in the view, cell has the same background. The view is updated only if I uncomment last line "editor.setText(editor.getText())", but I think it is not good to update this way.
    Thanks.

    Here I put an example and you can play with different strange aspects of HTMLDocument implementation
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.text.*;
    import javax.swing.text.html.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    public class TableEditor implements ActionListener {
        private JEditorPane editor;
        private ExtendedHtmlDocument doc;
        public TableEditor(JEditorPane editor, ExtendedHtmlDocument doc) {
            this.editor = editor;
            this.doc = doc;
        public void actionPerformed(ActionEvent e) {
            Element element = doc.getCharacterElement(editor.getCaretPosition());
            Element parent = element.getParentElement();
            while (parent != null && !parent.getName().equals("td")) {
                parent = parent.getParentElement();
            if (parent == null) {
                JOptionPane.showMessageDialog(null, "Select cell to edit properties");
            } else {
                SimpleAttributeSet attributes = new SimpleAttributeSet();
                attributes.addAttribute(HTML.Attribute.BGCOLOR, "gray");
                attributes.addAttribute(HTML.Attribute.ALIGN, "right");
                doc.replaceAttributes(parent, attributes);
    //            doc.replaceAttributes(parent, attributes);
    //            editor.setText(editor.getText());
                doc.dump(System.out);
        private static class ExtendedHtmlEditorKit extends HTMLEditorKit {
            public Document createDefaultDocument() {
                StyleSheet styles = getStyleSheet();
                StyleSheet styleSheet = new StyleSheet();
                styleSheet.addStyleSheet(styles);
                ExtendedHtmlDocument doc = new ExtendedHtmlDocument(styleSheet);
                doc.setParser(getParser());
                return doc;
        public static class ExtendedHtmlDocument extends HTMLDocument {
            public ExtendedHtmlDocument(StyleSheet styles) {
                super(styles);
            public void replaceAttributes(Element element, AttributeSet attributes) {
                try {
                    writeLock();
                    MutableAttributeSet mutableAttributes = (MutableAttributeSet) element.getAttributes();
                    mutableAttributes.removeAttributes(attributes.getAttributeNames());
                    mutableAttributes.addAttributes(attributes);
                    int offset = element.getStartOffset();
                    int length = element.getEndOffset() - offset;
                    DefaultDocumentEvent changes = new DefaultDocumentEvent(offset, length, DocumentEvent.EventType.CHANGE);
                    changes.addEdit(new AttributeUndoableEdit(element, attributes.copyAttributes(), true));
                    changes.end();
                    fireChangedUpdate(changes);
                    fireUndoableEditUpdate(new UndoableEditEvent(this, changes));
                finally {
                    writeUnlock();
        public static void main(String args[]) throws Exception {
            HTMLEditorKit kit = new ExtendedHtmlEditorKit();
            final ExtendedHtmlDocument doc = (ExtendedHtmlDocument) kit.createDefaultDocument();
            StringReader reader = new StringReader("<table border='1' width='100%'>\n" +
                    "    <tr>\n" +
                    "        <td>Cell1-1</td>\n" +
                    "        <td>Cell1-2</td>\n" +
                    "    </tr>\n" +
                    "    <tr>\n" +
                    "        <td>Cell2-1</td>\n" +
                    "        <td>Cell2-2</td>\n" +
                    "    </tr>\n" +
                    "    <tr>\n" +
                    "        <td>Cell3-1</td>\n" +
                    "        <td>Cell3-2</td>\n" +
                    "    </tr>\n" +
                    "</table><p>paragraph</p>");
            kit.read(reader, doc, 0);
            final JEditorPane editorPane = new JEditorPane();
            editorPane.setIgnoreRepaint(false);
            editorPane.setEditable(true);
            editorPane.setEditorKit(kit);
            editorPane.setDocument(doc);
            JScrollPane scrollPane = new JScrollPane(editorPane);
            JPanel menu = new JPanel(new FlowLayout(FlowLayout.LEFT));
            menu.add(new JButton(new AbstractAction("Cell properties") {
                public void actionPerformed(ActionEvent e) {
                    new TableEditor(editorPane, doc).actionPerformed(e);
            JFrame frame = new JFrame();
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.getContentPane().setLayout(new BorderLayout());
            frame.getContentPane().add(scrollPane, BorderLayout.CENTER);
            frame.getContentPane().add(menu, BorderLayout.NORTH);
            frame.setSize(800, 500);
            frame.setVisible(true);
    }Look at actionPerformed implemetation I am going to change cell background and alignment - background is changed but alignment is not, when you uncomment second doc.replaceAttributes(parent, attributes) - it will work. In both cases align attribute exists in cell (look at the dump in system.out)

  • How to change Apple ID for all applications in iPad2?

    I have changed Apple ID via Settings > Store > Apple ID > Sign out my old Apple ID > Sign in with my new Apple ID.... But, by this method, Apple ID in  iCloud, Facetime, and iMessage isn't changed follow to my new one! Do I misunderstand about changing ID? and How to change Apple ID for these applications?
    PS. I do not want to do hard reset my iPad2
    Thank you all for your kindly help ^^

    Go into Settings > iCloud > Account > Change to your new Apple ID
    Settings > Messages >  Recieve At > New Apple ID
    Settings > Facetime > Change to new Apple ID

  • Gantt chart- How to change the color of time bars of different versions

    Hi All,
    My Client wants to see all changes in planning schedule. I made different versions of these changes but he also want to see all these changes in gantt chart and in different colors. I tried to change the color in planning board assistant but in this screen (CJ27/ CJ2B). we cannot view all versions together. And if I use CN41, there I cannot change the colors of time bars.
    Secondly, we can change colors of times bars of basic dates, forecast dates and actual dates but there is no provision to change the colors of schedule bars of different project versions. Kindly reply-
    1. How to see all project versions in CJ27 or How to customise bar chart in cn41 or if we change in SPRO, then how to change graphic profile in project info profile
    2. How to change colors of different time bars of different versions.
    3. How to mention these legends (meaning of each color in chart) at footer of gantt chart (in print outs)
    Please Help.
    Thanks & Regards
    Dinesh Chauhan

    Thanks,
    actually I've created new project planning board profile where planning board assistant is customized but unable to use this profile in CN41. we can change PS info profile in CN41 and that;s why I thought that planning board profile may be assigned somewhere in PS info profile so that changes in planning board assistant will be applied in CN41 through PS info profile. Graphic profile is too complex to understand and not sure if it will help to get colored time bars of projct versions in gantt chart. Still not clear.
    Secondly not able to see all versions (snap shots) in gantt chart with different colors of time bars.
    I mean planning board screen can be customized but we cannt see different versions here which are possible in CN41, but we cannt customize the gantt chart (time bars) in CN41. Pls help.
    Thx & Regards
    Dinesh Chauhan

Maybe you are looking for

  • Fragmentation problem with Wlan Controler 4402 due to LWAPP header overhead

    Hello there, I have following situation. network---wlan controller4402----FW1---MPLS---FW2---Access points----networks I can see very big amount of fragmented packets coming to FW2 and getting dropped in one moment. After those packets get dropped, a

  • Skype Support won't give me my account back.

    So someone used skype support to change the email and password to my account and won't help me recover it. What is this. Can someone help please? Attachments: baited.png ‏163 KB notdamon.PNG ‏129 KB

  • Subject Areas are inaccessible in OBIEE 11g

    Hi, We are facing a peculiar issue in our OBIEE environment. Some times when we update RPD in online mode and check in the changes, other developers are not able to access few Subject Areas though they have Read access for Everyone group. Today we fa

  • How to save values form all row in dynamic table into mysql database?

    hello guys.. i got some problem on developing expert system using adobe dreamweaver and mysql. i've create a dynamic table and have some value from different row. i want to save values from all row to mysql database.. unfortunately.. i'm failed to do

  • How to configure REPORTS_CLASSPATH in report server?

    Hi, I have successfully import Java classes into Report Builder to generate the report. The path of the Java classes are defined in the REPORTS_CLASSPATH in the REGEDIT. My report has no problem running in the Report Builder in RDF format. When I dep