Conditional format of one cell based on contents of another cell

Preparing list of appointments for visitors with time for each. There are four possible status categories for visitors based on projected activity and whether they have shown up or not. (A Group Scheduled, A Group Showed, B Group Scheduled, B Group Showed). I've created the calendar in iCal with different calendars, then accessed that through Bento iCal Events. Bento adds the column with name of calendar from iCal. Info is now in Numbers. (iWorks 09)
It shows Title, Start Date, Location, Calendar. I'm adding more fields using Lookup in Numbers drawing on entire data base brought over from Bento. I'm trying to get what info I need, but none that I don't, so the form isn't too crowded and busy.
I would like to be able to conditionally format the Time column based on the contents of the Calendar column. If successful, the color of the Time column would tell me all I need to know about visitor status, and I could hide the Calendar column and clean up the form.
I hope I've described it adequately. Can this be done, and if so, how?
Thanks! Have a great Thanksgiving!

jpcranch wrote:
Does it work to format two cells based on contents of one of them?
Conditional formatting of a cell depends on the contents of that individual cell, compared with another value, so no.
But you could use a two-table approach.
In general terms, the technique is to:
• make the original table's cell fill transparent,
• Add a second table to the sheet,
• Set the second table to copy the control values into a column of cells,
• Select the cells in that column of Table 2,
• Apply conditional formatting rules for each possible control value (see below)
• Set the text opacity for these cells to 0 (full transparency),
• Click on Table 2 in the sidebar, then use (shift and) the arrow keys to slide Table 2 behind Table 1 to align the highlighted cells with the cells to appear highlighted in Table 1.
• Set the colour of the cell borders on table 2 to none.
Using the information you gave regarding the calendar column, you'll need four rules for conditional formatting of this column. All are of the same format:
Text contains: A Group Scheduled
With the text changed to match each possible entry.
Regards,
Barry
BTW: by changing the width of the formatted column on table 2, you can appear to highlight as many columns as you wish on Table 1.

Similar Messages

  • Conditional Formatting in one cell with a dates in another cell

    I have a simple spreadsheet that will gauge a project's progress.  I wish to have individual cells change color based on another cell.  I can't get the right syntax in order - groan
    E2 has today's date, =NOW()
    G2 (not started) would change from a color to no color when the start date, F27,  has arrived then
    H2 (started) would change to a color when the date is met, F27, (may be change color as the completed date arrives) then no color when the completed date arrives, F28.
    I2 (completed) would change to a color when the date is met, F28
    When the spread sheet is opened or if I need to change the dates in either of the cells the cells with color gauges will update.
    I am using conditional formating through the ribbon.
    Please help!

    Hi,
    Thank you for posting in the MSDN Forum.
    Since the issue is more relate to the end-user, I'd like to move it to Excel IT pro forum.
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
    Thanks for your understanding.
    Best regards
    Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Is it possible to apply conditional formatting to a cell (or range) based upon a LOOKUP query to cell values in another sheet.? I want to alter the formatting (i.e., text and/or cell background color), but not cell content.

    Is it possible to apply conditional formatting to a cell (or range) based upon a LOOKUP query to cell values in another sheet.?
    I want to alter the formatting (i.e., text and/or cell background color), but not the content, of the target cell(s).

    Hi Tom,
    Your LOOKUP formula will return a value that it finds in the "other" table. That value can be used in conditional highlighting rules. (Numbers 3 calls it conditional highlighting, not conditional formatting. Just to keep us awake, I guess, but it works the same).
    Please explain what you are trying to do.
    Regards,
    Ian.

  • Conditional formatting of a cell based on a value in another cell

    I want to change the color of the text in a cell based on the value in a different cell. How can I accomplish this?

    drmjdoyle,
    There Numbers User Guide, http://support.apple.com/en_US/manuals/#iwork, will show you how to do that. Also, doing a search in these forums will provide many hits answering your question.
    Click in the cell you want the color to change: click Format > Create custom cell format, in the first dropdown in that dialog box click Choose Rule, then follow the prompts.
    Cordially,
    RicD

  • Different format in one cell by formula?

    Hi there,
    does someone know if it is possible to grab and connect text with the & operator and set different formats (bold, italic...) with a command in the formula?
    For example I have different lines in one cell done with the CHAR(10) and want to have the last line in bold format. Is this kind of manipulation possible?

    As far as I know, there is no such function.
    We may apply different styles in a cell by hand, not by a formula.
    I checked that the concatenation of the contents of cells with different styles result with a string in standard style.
    Yvan KOENIG (from FRANCE samedi 13 décembre 2008 19:44:03)

  • Conditional formating if the cell contains any date

    Hi,
    In my excel sheet i have one column containing only date (US format) or else they are blank. I want to format the cells containing date to Red color. How do i do it
    Please help

    If you mean the font colour, just format the cells to have red font.
    So I guess you mean interior colour.
    You haven't said which version of Excel - it always helps.
    For Excel 2003, for example, select the cells then
    Format > Conditional Formatting > Cell Value Is > Greater Than: 0 > Format > Patterns > Red
    For Excel 2007 or 2010, Home > Conditional Formatting > Highlight Cells Rules  > Greater Than > 0 with Light red fill
    Bill Manville. Excel MVP, Oxford, England. www.manville.org.uk

  • Conditional formatting on total cells in pivot table

    Hi, i have a pivot table with some values and percentages.
    The percentages are in red if less then 0.
    I have 1 row and 1 column of total values, but this cell aren't red if percentage is less then 0.
    Does anybody know a solution for my problem?
    Thanks

    This is the example i create:
    DIM A:
    - Total A
    - Value A
    DIM B:
    - Total B
    - Value B
    FACT:
    - Value A (DIM A)
    - Value B (DIM B)
    - Actual
    - LY
    - Delta % (Calculated: 100*(Actual - LY)/LY)
    Then i create the pivot table with B on rows (Σ on Total B), A on cols (Σ on Total A) and measures Actual, LY and Delta %. The last one has a conditional format on Delta % < 0.
    This is the xml that i have:
    <saw:report xmlns:saw="com.siebel.analytics.web/report/v1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlVersion="200705140" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sawx="com.siebel.analytics.web/expression/v1">
    <saw:criteria subjectArea="&quot;Test Conditional Formatting&quot;">
    <saw:columns>
    <saw:column formula="&quot;DIM A&quot;.&quot;TOTAL A&quot;" columnID="c0"/>
    <saw:column formula="&quot;DIM A&quot;.&quot;VALUE A&quot;" columnID="c1"/>
    <saw:column formula="&quot;DIM B&quot;.&quot;TOTAL B&quot;" columnID="c2"/>
    <saw:column formula="&quot;DIM B&quot;.&quot;VALUE B&quot;" columnID="c3"/>
    <saw:column formula="FACT.ACTUAL" columnID="c5">
    <saw:displayFormat suppress="default" interaction="default">
    <saw:dataFormat xsi:type="saw:number" commas="true" negativeType="minus" minDigits="2" maxDigits="2"/></saw:displayFormat>
    <saw:columnHeading>
    <saw:displayFormat interaction="default"/></saw:columnHeading></saw:column>
    <saw:column formula="FACT.LY" columnID="c6">
    <saw:displayFormat suppress="default" interaction="default">
    <saw:dataFormat xsi:type="saw:number" commas="true" negativeType="minus" minDigits="2" maxDigits="2"/></saw:displayFormat>
    <saw:columnHeading>
    <saw:displayFormat interaction="default"/></saw:columnHeading></saw:column>
    <saw:column formula="FACT.&quot;Delta %&quot;" columnID="c4">
    <saw:displayFormat suppress="default" interaction="default">
    <saw:dataFormat xsi:type="saw:percent" commas="false" negativeType="minus" minDigits="2" maxDigits="2"/>
    <saw:condition>
    <sawx:expr xsi:type="sawx:comparison" op="less">
    <saw:columnRef columnID="c4"/>
    <sawx:expr xsi:type="xsd:decimal">0</sawx:expr></sawx:expr>
    <saw:displayFormat fontColor="#FF0000"/></saw:condition></saw:displayFormat>
    <saw:columnHeading>
    <saw:displayFormat interaction="default"/></saw:columnHeading></saw:column></saw:columns></saw:criteria>
    <saw:views currentView="0">
    <saw:view xsi:type="saw:compoundView" name="compoundView!1" rptViewVers="200510010">
    <saw:cvTable>
    <saw:cvRow>
    <saw:cvCell viewName="pivotTableView!1"/></saw:cvRow></saw:cvTable></saw:view>
    <saw:view xsi:type="saw:titleView" name="titleView!1" rptViewVers="200510010"/>
    <saw:view xsi:type="saw:tableView" name="tableView!1" rptViewVers="200510010" showHeading="false">
    <saw:columns>
    <saw:columnRef columnID="c1" total="true"/>
    <saw:columnRef columnID="c2" total="true"/>
    <saw:columnRef columnID="c0" total="true"/></saw:columns></saw:view>
    <saw:view xsi:type="saw:pivotTableView" name="pivotTableView!1" rptViewVers="200510010">
    <saw:edge axis="page"/>
    <saw:edge axis="section"/>
    <saw:edge axis="row">
    <saw:edgeLayer type="column" columnID="c2" total="before">
    <saw:displayFormat visibility="hidden"/></saw:edgeLayer>
    <saw:edgeLayer type="column" columnID="c3"/></saw:edge>
    <saw:edge axis="column">
    <saw:edgeLayer type="column" columnID="c0" total="before">
    <saw:displayFormat visibility="hidden"/></saw:edgeLayer>
    <saw:edgeLayer type="column" columnID="c1"/>
    <saw:edgeLayer type="labels"/></saw:edge>
    <saw:edge axis="measure">
    <saw:edgeLayer type="column" columnID="c5"/>
    <saw:edgeLayer type="column" columnID="c6"/>
    <saw:edgeLayer type="column" columnID="c4"/></saw:edge></saw:view></saw:views>
    <saw:prompts/></saw:report>

  • OBIEE 11g : Conditional formatting in Chart view based on different column

    Hi ,
    I would like to add formatting to the bars based on another column.
    Ex: I just want to highlight bars(metric) when it is less than target value.
    We have conditional formatting option in charts but , its working on the same column but not comparing with other columns.
    Thank you..

    Hi, If you have column A and column B , and for example you want the values of column A to get formatted if the the correspoding value of column B less than a specific value. You just go to Criteria -> Get to Column A -> Column Properties -> Conditional Format -> Add Condition -> Choose your Column B , and then make sure the condition is " Less than the value you want"
    Now, In case you want the values of your column A to be formatted if they are less to the corresponding value of colum B, Well, I don't think it is natively integrated, but still, here is an idea :
    You drag again your column B , so that in Criteria -> Selected Columns , you'll have the columns A - B - B , then, you go to the newely added B Column -> Edit Formula and modify the formula to be ColumnA Minus ColumnB.
    Then go back in selected columns to your A Column -> Column Properties -> Conditional Format -> Add Condition -> Choose now the new column ( ColumnA Minus ColumnB ), and then make sure the condition is " Less than the value *0* "
    You can later, go and hide the colum A Minus B from Edit View in Results.
    Hope this helps.
    Cheers
    Salma

  • TableView cellfactory set style based on content from another cell

    I'm trying to figure out how to set the color of the current cell based on the content from another cell or property in the class that contains the row content. I looked at the following thinking I can use this but the table position method is not longer there.
    ((Person) t.getTableView().getItems().get(t.getTablePosition().getRow())).setLastName(t.getNewValue()); // from a oracle tableview javafx example
    I would like to:
    if (((Person) t.getTableView().getItems().get(t.getTablePosition().getRow())).getRowError())
    cell.setStyle("..."); // Set the color of the cell content
    Is there away to get the underlying object from the setcellfactory call method?

    Does
    t.getTableView().getItems().get(getIndex())give you access to the object represented in the current row? The getIndex() method is a TableCell method (inherited from IndexedCell).

  • Conditional Formatting for Report Rows based on page item

    Hi,
    I have a report and a page item on a page. I would like to somehow highlight any report rows where a particular column in the report (e.g. "Customer_ID") matches the page item (e.g. P2_CUSTOMER_ID).
    Any idea how to do this?
    Thanks,
    Forrest

    You can also achieve this by jquery ( Please note - I just started learning jquery , so my way of doing it may not be a good way of doing it)
    1. Download jquery from [http://www.jquery.com]
    2. In Page Header enter
      <script type="text/javascript" src="#WORKSPACE_IMAGES#jquery.js"></script>
       <script type="text/javascript">
       $(document).ready(function(){
          //t20data is the class for table cells in theme 20 .. change it as per you theme - right click view source and find it
             x = $('.t20data').length;
         //i=7 is the column index of customer id
        // i = i + 10 , 10 is the number of column
           for( i = 7 ; i < x ; i=i + 10)
                if($('.t20data').eq( i ).html() == $x('P2_CUSTOMER_ID').value)
                    // i-7 is the first cell of row and i+2 is the last cell of row 
                    for( c = i - 7 ; c <= i + 2 ; c++)
                         $('.t20data').eq( c ).css("background","red");  
    </script>[ E X A M P L E | http://apex.oracle.com/pls/otn/f?p=62171:1]
    Regards,
    Shijesh

  • Getting links in one frame to open content in another...

    Hello,
    I would like links in the 'menu' frame of my site to open the
    new page in another frame, called 'content'. Although I have
    entered the name of the frame ('content') in the target box in the
    link properties, the page consistently opens in a new browser
    window. I am unable to upload the site at this time but I was
    wondering if there are any common causes for this?
    Thanks,
    Julie

    Yes, frames are problematic, I think the last site I designed
    with frames
    was about 7-8 years ago.
    I advise using includes for elements that are used on
    multiple pages,
    i.e..... banner menu and page foot.
    Jeff
    "Murray *ACE*" <[email protected]> wrote
    in message
    news:[email protected]...
    > The decision to use or not use frames should be based on
    a) your site's
    > needs, and b) your willingness to accept the potential
    problems that
    > frames can create for you as developer and maintainer of
    the site and for
    > your visitors as casual users of the site.
    >
    > I am down on frames because I believe that they create
    many more problems
    > than they solve.
    > Judging from the posts here, and the kinds of problems
    that are described,
    > the kind of person most likely to elect to use frames is
    also the kind of
    > person most likely ill-prepared fo solve the ensuing
    problems when they
    > arise. If you feel a) that you understand the problems
    and b) that you
    > are prepared to handle them when they occur, and c) that
    you have a need
    > to use frames, then by all means use them.
    >
    > As far as I know, the most comprehensive discussions of
    frames and their
    > potential problems can be found on these two links -
    >
    >
    http://apptools.com/rants/framesevil.php
    >
    http://www.tjkdesign.com/articles/frames/
    >
    >
    > --
    > Murray --- ICQ 71997575
    > Adobe Community Expert
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    >
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    > ==================
    >
    >
    > "Jeff" <[email protected]> wrote in message
    > news:[email protected]...
    >> show us your framest code
    >> and
    >> your link code
    >>
    >> Jeff
    >>
    >> "julieaherne" <[email protected]>
    wrote in message
    >> news:[email protected]...
    >>> Hello,
    >>> I would like links in the 'menu' frame of my
    site to open the new page
    >>> in
    >>> another frame, called 'content'. Although I have
    entered the name of
    >>> the frame
    >>> ('content') in the target box in the link
    properties, the page
    >>> consistently
    >>> opens in a new browser window. I am unable to
    upload the site at this
    >>> time but
    >>> I was wondering if there are any common causes
    for this?
    >>> Thanks,
    >>> Julie
    >>>
    >>
    >>
    >

  • Find/Replace text in one Doc based on List from another Doc

    I'm not sure Automator can do this so I thought I would ask before spending too much time on it. I have searched the forums and several of the Automator tutorial websites.
    What I want to do is take one text file (or it could be an Excel file, I don't care) with a list of words to Find in a folder full of files.
    For example I have this list in a txt file:
    Big Dog
    Furry Cat
    Bird
    Fox
    I would want the action to search every document for every occurrence of 'Big Dog', then search for every occurrence of 'Furry Cat', etc. I would also want to replace each instance with something else, say a formatted html link.
    Is something like that even possible with Automator? I am on Snow Leopard but I didn't see a forum for Automator on SL. Thanks in advance for any help/advice.

    Asked and responded here:
    http://discussions.apple.com/thread.jspa?messageID=8367522
    Yvan KOENIG (from FRANCE vendredi 14 novembre 2008 14:22:47)

  • How to restrict values in one prompt based on value from another prompt

    Hi
           I have a requirement as follows. I have two fields (objects)
    program code
    contract number
    one program code can have several contract numbers.
    I need to provide prompts on Program code and contract number. when user selects one program from the prompt on program code then contract field should only show contract numbers belonging the program user selected.
    Please let me know how to bring this functionality in Webi report.
    Thanks in advance.

    Hi
    if ur requirement is in query level its impossible.(i mean whn u click on programcode then u have to display in contract at query level)
    if you want to display at report level then  
    The two objects Program and contract have a mapping then place a program object in query filter and use operator equal to and select prompt and run the query then it will ask you to select program .whn on choosing it you will  get filtered contract numbers for that program in report level  . There no need to use prompt for contract numbers object .
    Hope this helps u
    Thanks
    sunil
    Edited by: K.sunil on Nov 7, 2011 9:30 AM

  • Update vs Merge - Updating one table based on values in another

    Hello
    I have two tables lets say TAB_A and TAB_B. I altered table B to include a new column from table A
    I wrote a merge statement as follows to merge the data
    MERGE INTO TAB_A
    USING TAB_B
    ON (TAB_A.SECURITYPERSONKEY=TAB_B.SECURITYPERSONKEY)
    WHEN MATCHED THEN
      UPDATE SET TAB_A.PPYACCOUNT=TAB_B.PPYACCOUNT;
    I know INSERT is for inserting new records
    UPDATE to my knowledge is to modify currently existing records (loosely)
    MERGE is one I rarely used, until this particular scenario.
    The code works perfectly fine, but I was wondering how could I write an update statement? Or in this scenario should I even be using an update statement?

    The MERGE is good and performs well, although it malfunctions (sometimes updating data wrongly) if the destination is a view with INSTEAD OF triggers.
    The UPDATE with similar performance to the MERGE depends on SECURITYPERSONKEY being a unique or primary key on TAB_B. It is:
    update (select TAB_A.PPYACCOUNT a_PPYACCOUNT, TAB_B.PPYACCOUNT b_PPYACCOUNT
            from TAB_A JOIN TAB_B on TAB_A.SECURITYPERSONKEY=TAB_B.SECURITYPERSONKEY)
    SET A_PPYACCOUNT=B_PPYACCOUNT;
    This can set multiple columns. It also currently doesn't work on a view with INSTEAD OF triggers.
    Frank's update also works with multiple columns (eg also updating col2 and col2), with this syntax:
    UPDATE  tab_a
    SET     (ppyaccount, col2, col3) = (
                             SELECT  ppyaccount, col2, col3
                             FROM   tab_b
                             WHERE  securitypersonkey  = tab_a.securitypersonkey
    WHERE   EXISTS       (
                             SELECT  ppyaccount
                             FROM    tab_b
                             WHERE   securitypersonkey  = tab_a.securitypersonkey

  • Clearing Value in one Prompt based on selection in another

    Hello,
    I have 2 prompts in my BEx query designer for same characterstics ( one is single value, characterstic variable and another one is Hierarchy node variable ). During the query execution,  If user selects a value in first prompt and goes to the other prompt and selects a value, i need to clear the selected value in the first prompt. And vice versa as well.....
    Please suggest.

    Jagan,
    Let me explain my isue in detail...
    I have created 2 variables for the same characterstics and both of them are ready for input. One variable is of characterstic type and other is Hierarchy node type.
    Now, when user executes the query he sees two prompts. Lets say user selects a value for one prompt and then goes to second prompt and selects another value for the second prompt, then i need to clear the values that was selected by him for the first prompt. And vice versa....

Maybe you are looking for