Conditional formating based on excel formula

Hi experts!
I have a problem with BPC formatting. Under my EVDRE expansion, I inserted a column to validate some data before sending it. The value of this formula can be TRUE or FALSE and it validates each row of the expansion.
Now, if the value is false, the row or at least some fields of it must turn red so the user knows were are the mistakes.
I have defined under the format range an entry for the heading to evaluate in rows and in format I create the next conditional formatting:: =$I38 = FALSE ---> background red.
When I push the refresh button, the format applies to al heading under the expansion, but the conditional format formula changes to =$I1064034 = FALSE
If I lock the row number, it won't iterate for each row and the format will be based just on one cell instead of one cell per row.
¿Any ideas? ¿Other ways to achieve this? I've also tried to format the cell inside the expand and eliminate the entry on the format range but it doesn't expand to the rest of the cells...
Thanks in advance

Hi Nilanjan!
Thanks for the answer, the individual conditional formatting is working fine!
The reason why it wasn't working the first time was because it's incompatible to do individual conditional formatting with conditional formatting on format range.
I gues I'll have to do all the formatting on individual cells...
Thanks agains!

Similar Messages

  • Conditional formatting based on formula

    I would like to highlight values in a column that are the maximum. If using Excel, would do a conditional format such as Cell Value Is, equal to, =max(a:a)
    Has anyone made Numbers do this?

    Here is an example of one of the "cheesy" methods, it is a clever workaround:
    First image shows two overlapping tables. 2nd Image shows the underlaying table creating the highlights.
    Regards,

  • Conditional format based on date

    Hi,
    I want to keep track of reports that my students need to turn in. The due date is set, but should turn red 10 days before the actual due date, so I can double check with the student if he started work on his report. Once the report was turned in, the due date should become grey or black. Here's an example:
    Report
    Topic
    Due date
    Finished
    A
    XX
    Jan 26, 2012
    Jan 25, 2012
    B
    YY
    Feb 5, 2012
    C
    ZZ
    Mrz 11, 2012
    C3 is read, because its due date is less than 10 days away. C2 is black, because it has been finished on time. C4 is black, because its due date is more than 10 days away (from the perspective of today, Jan. 27th)
    While conditional formats can be set based on dates and relative dates, it doesen't allow to compare actual date to a date calculated from a cell, as far as I can see.
    Any help with this is very appreciated!
    Thank you!

    Maybe this sample may fit your needs :
    One more case where Numbers User Guide is helpful.
    Yvan KOENIG (VALLAURIS, France) vendredi 27 janvier 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My Box account  is : http://www.box.com/s/00qnssoyeq2xvc22ra4k

  • Entire row conditional formatting based on cell value

    What is the best way to apply conditional formatting to an entire row based on the value of one of the columns on that row? For example, I just want to highlight the entire row (make it red color) if the value of one of the columns is greater than 0. The method described in the past discussions is just way to difficult to apply in real life scenarios. I think it should work without any tricks as it's just a very basic functionality of spreadsheets.

    The other idea is to make a second table, which has a single column and is as wide as the first table.  This second table will reference the value in the first table which indicates how to shade and is formatted with conditional formatting.  The second table is slid behind the first, AND the first is made transparent.
    - Bottom table refers to original (top) table
    bottom table contains conditional formatting as:
    Now make the original table transparent by selecting the table and changing the background fill to none.
    Now send the second table to the back by selecting the table then the menu item "Arrange > Send to Back"
    Now slide the second table under the original

  • Conditional formatting based on page number that resets on repeating frame

    Hello everyone,
    I have searched through multiple forums on multiple sites and haven't come across anyone who has accomplished this.
    I have a report with pages numbers that reset on a repeating frame.
    I have a text boiler plate that I want to only show up on page 1. On every occurrence of page 1.
    SRW.GET_PAGE_NUM does not work because it returns physical page number.
    I'm trying to access the value of the field for my page number. The value comes from "source" drop down with value of "Page Number".
    I've tried accessing the <&page number> in the PL/SQL of my conditional formatting trigger but no luck.
    This report is 14K plus pages so I'd rather not be inserting and selecting the value back out of the database.
    Does anyone have any ideas??
    Thanks,
    Alan

    To avoid inserting/selecting from the database
    Maybe you could create a small package on the database to store page numbering information.
    Then use get/set routines per your requirements.
    CREATE OR REPLACE PACKAGE rep_page_no IS
       gPageNo NUMBER;
       PROCEDURE set_it(pPage NUMBER);
       FUNCTION get_it RETURN NUMBER;
    END rep_page_no;
    CREATE OR REPLACE PACKAGE BODY rep_page_no IS
       PROCEDURE set_it(pPage NUMBER) IS
       BEGIN
          gPageNo := pPage;
       END set_it;
       FUNCTION get_it RETURN NUMBER
       IS
       BEGIN
          RETURN(gPageNo);
       END get_it;
    END rep_page_no;Then in your repeating frame you could access this package rather than insert/select from any database table.
    Let me know if this works, I might like to try it.
    Thanks

  • Conditional Format based on cell value

    For example; want to turn a cell yellow if its value is less than another cell value.
    Is this possible?
    Conditional format rules don't seem to like cell references.

    There are many ways to call attention to a value that needs to be emphasized because of its relationship to other values. What you decide to do will be influenced by how particular you are about the end result vs. the trouble that you will have to go through to achieve it. When other cells need to reference a cell that may be either text or numeric, you can use the TRIM function, or other text functions, to remove interfering characters. Here's an example, where you can see the last row multiplying the previous, manipulated row, by 2.
    Also, all the cells are formatted as Currency, with to ill effect. In the example I left the cells with the conditional format in default alignment so you could see the added space character against the left margin of the cell.
    I think the easiest way to call attention to a cell is to add an adjacent row of column with a conditional expression that 'lights-up' when there is an alarm condition.
    Jerry

  • Conditional formating, based on a complex statement

    Hello,
    I'm trying to enhance an existing report, by adding a conditonal formatting on a table.
    I know how to do it when the condition is "simple" : <?if:FIELD='VALUE'?>, but the statement I want to use is based on two different fields (or even more).
    Basically, I'd like to do <?if:FIELD1='VALUE' or :FIELD2='VALUE'?>, but it doesn't work this way.
    Is it only because my syntax is wrong, or is til impossible to do ? Is there a woarkaround I could use ?
    Thganks for your answers

    It is possible to do such checks;
    Try this: <?if:(FIELD1='VALUE' ) or (FIELD2='VALUE')?>... <?end if?>
    Thanks!

  • Conditional formatting based on current time.

    I need to format column A, based on the value in column C relative to the current time. If the current time is > column C the cell in column A needs to turn Red. If the current time is <= column C the cell in column A needs to turn Green.
    The following formula work fine, until I closed and reopened my sheet days later. It no longer works.
    =AND(C1<=(MOD(NOW(),1)))
    I have my cells formatted to 13:00 time.
    I was using =MOD(NOW(),1) In cell A1 as a reference point, but found a way around using that. A1 is empty if needed.
    Any help is greatly appreciated.

    It appears the sheet is working properly now if I update the variable cells values. Refreshing/recalculating (F8) the workbook does not update the sheets results; only re-entering the same value produces the correct result. Do you know why this is?
    The sheet is going to be used by a flight department to manage pilot duty days and flight time requirements. So It is imperative that it functions properly and consistently. Thank you for your help.

  • Need 3 column based on excel formulas, for Average cost of sales.

    hii,,
    i am using Oracle 10g...
    select
    pdate,
    pcode,
    pno,
    pqty,
    pprice,
    trade_amt
         , qty_on_hand
         , total_cost
         , case when pqty < 0
           then
                lag (avg_price) over (order by pdate)
           else
             avg_price
           end avg_price
         , case when pqty < 0
           then
                lag (avg_price) over (order by pdate)*-pqty
           else
                avg_price*pqty
           end bal_cost
    from (
    select
    pdate,
    pcode,
    pno,
    pqty,
    pprice,
    pqty*pprice trade_amt,
    sum (pqty) over (order by pdate) qty_on_hand,
    sum (pqty*pprice) over (order by pdate) total_cost,
    sum (pqty*pprice) over (order by pdate) /
                sum (pqty) over (order by pdate) avg_price
    from
    select to_date('12/01/2011','dd/mm/yyyy') pdate, 'PUR' pcode, 1 pno, 10 pqty, 37.425 pprice from dual union all
    select to_date('13/01/2011','dd/mm/yyyy'), 'INV', 1, -5, 48.169 from dual union all
    select to_date('14/01/2011','dd/mm/yyyy'), 'PUR', 3, 15, 21.628 from dual union all
    select to_date('15/01/2011','dd/mm/yyyy'), 'INV', 4, -10, 32.6 from dual union all
    select to_date('16/01/2011','dd/mm/yyyy'), 'PUR', 4, 20, 22.33 from dual union all
    select to_date('16/01/2011','dd/mm/yyyy'), 'PUR', 5, 35, 19.55 from dual union all
    select to_date('18/01/2011','dd/mm/yyyy'), 'INV', 5, -8, 28 from dual union all
    select to_date('22/01/2011','dd/mm/yyyy'), 'INV', 6, -12, 32.6 from dual
    order BY 1,2,3
    this is what the above query returns....( total_cost and avg.price are wrong...so as the bal_cost)
    PDATE     PCO           PNO          PQTY        PPRICE     TRADE_AMT   QTY_ON_HAND    TOTAL_COST     AVG_PRICE      BAL_COST
    12-JAN-11 PUR         1.000        10.000        37.425       374.250        10.000       374.250        37.425       374.25
    13-JAN-11 INV         1.000        -5.000        48.169      -240.845         5.000       133.405        37.425       187.125
    14-JAN-11 PUR         3.000        15.000        21.628       324.420        20.000       457.825        22.891       343.373
    15-JAN-11 INV         4.000       -10.000        32.600      -326.000        10.000       131.825        22.891       228.915
    16-JAN-11 PUR         4.000        20.000        22.330       446.600        65.000      1262.675        19.426       388.517
    16-JAN-11 PUR         5.000        35.000        19.550       684.250        65.000      1262.675        19.426       679.905
    18-JAN-11 INV         5.000        -8.000        28.000      -224.000        57.000      1038.675        19.426       155.407
    22-JAN-11 INV         6.000       -12.000        32.600      -391.200        45.000       647.475        18.222       218.669
    8 rows selected.
    i expect the result to be like this...
    PDATE     PCO           PNO          PQTY        PPRICE     TRADE_AMT   QTY_ON_HAND    TOTAL_COST     AVG_PRICE      BAL_COST
    12-JAN-11 PUR         1.000        10.000        37.425       374.250        10.000       374.250        37.425       374.25
    13-JAN-11 INV         1.000        -5.000        48.169      -240.845         5.000       133.405        37.425       187.125
    14-JAN-11 PUR         3.000        15.000        21.628       324.420        20.000       457.825        25.577       511.545
    15-JAN-11 INV         4.000       -10.000        32.600      -326.000        10.000       131.825        25.577       255.773
    16-JAN-11 PUR         4.000        20.000        22.330       446.600        65.000      1262.675        23.412       702.373
    16-JAN-11 PUR         5.000        35.000        19.550       684.250        65.000      1262.675        21.333       1386.623
    18-JAN-11 INV         5.000        -8.000        28.000      -224.000        57.000      1038.675        21.333       1215.961
    22-JAN-11 INV         6.000       -12.000        32.600      -391.200        45.000       647.475        21.333       959.969
    8 rows selected.to arrive at bal_cost and avg.price, i need 1 more calculation for 'cost_of_sal' which is where i am stuck how to create it first and make use of that..
    1) qty_on_hand running balance is OK..
    2) cost_of_sale = when qty is -nve (i.e. pcode = 'INV') then take (1 row)previous value of Avg.Price and multiply by sold qty of current row.
    3) bal_cost = when qty is +ve (i.e. pcode = 'PUR') then take (1 row)previous value bal_cost and add the trade_amt of current_row OR
    when qty is -nve (i.e. pcode='INV') then take (1 row)previous vaue bal_cost and add the cost_of_sale of current_row
    finally
    4) avg.price = bal_cost / qty_on_hand
    just a link showing excel forumlas...http://www.flickr.com/photos/58335021@N07/5356642176/
    thank you..

    hii Etbin..thanks for your effort..but still the result is not as i want, above...
    select pdate,pcode,pno,pqty,pprice,trade_amt,qty_on_hand,total_cost,avg_price,bal_cost,
           case when pqty < 0
                then lag(avg_price) over (order by pdate) * (- pqty)
           end cost_of_sale,  /* shown as an intermediate result - included in next case */
           case when pqty < 0
                then lag(bal_cost) over (order by pdate) + lag(avg_price) over (order by pdate) * (- pqty)
                else lag(bal_cost) over (order by pdate) + trade_amt
           end bal_cost_new,  /* shown as an intermediate result - used in next case */
           case when pqty < 0
                then lag(bal_cost) over (order by pdate) + lag(avg_price) over (order by pdate) * (- pqty)
                else lag(bal_cost) over (order by pdate) + trade_amt
           end / qty_on_hand avg_price_new
      from (select pdate,pcode,pno,pqty,pprice,trade_amt,qty_on_hand,total_cost,
                   case when pqty < 0
                        then lag(avg_price) over (order by pdate)
                        else avg_price
                   end avg_price,
                   case when pqty < 0
                        then lag(avg_price) over (order by pdate) * (- pqty)
                        else avg_price * pqty
                   end bal_cost
              from (select pdate,pcode,pno,pqty,pprice,
                           pqty * pprice trade_amt,
                           sum(pqty) over (order by pdate) qty_on_hand,
                           sum(pqty * pprice) over (order by pdate) total_cost,
                           sum (pqty * pprice) over (order by pdate) / sum(pqty) over (order by pdate) avg_price
                    from
    select to_date('12/01/2011','dd/mm/yyyy') pdate, 'PUR' pcode, 1 pno, 10 pqty, 37.425 pprice from dual union all
    select to_date('13/01/2011','dd/mm/yyyy'), 'INV', 1, -5, 48.169 from dual union all
    select to_date('14/01/2011','dd/mm/yyyy'), 'PUR', 3, 15, 21.628 from dual union all
    select to_date('15/01/2011','dd/mm/yyyy'), 'INV', 4, -10, 32.6 from dual union all
    select to_date('16/01/2011','dd/mm/yyyy'), 'PUR', 4, 20, 22.33 from dual union all
    select to_date('16/01/2011','dd/mm/yyyy'), 'PUR', 5, 35, 19.55 from dual union all
    select to_date('18/01/2011','dd/mm/yyyy'), 'INV', 5, -8, 28 from dual union all
    select to_date('22/01/2011','dd/mm/yyyy'), 'INV', 6, -12, 32.6 from dual
    order by 1,2,3
    PDATE      PCO           PNO          PQTY        PPRICE     TRADE_AMT   QTY_ON_HAND    TOTAL_COST     AVG_PRICE      BAL_COST  COST_OF_SALE  BAL_COST_NEW AVG_PRICE_NEW
    12/01/2011 PUR         1.000        10.000        37.425       374.250        10.000       374.250        37.425       374.250
    13/01/2011 INV         1.000        -5.000        48.169      -240.845         5.000       133.405        37.425       187.125       187.125       561.375       112.275
    14/01/2011 PUR         3.000        15.000        21.628       324.420        20.000       457.825        22.891       343.369                     511.545        25.577
    15/01/2011 INV         4.000       -10.000        32.600      -326.000        10.000       131.825        22.891       228.913       228.913       572.281        57.228
    16/01/2011 PUR         4.000        20.000        22.330       446.600        65.000      1262.675        19.426       388.515                     675.513        10.393
    16/01/2011 PUR         5.000        35.000        19.550       684.250        65.000      1262.675        19.426       679.902                    1072.765        16.504
    18/01/2011 INV         5.000        -8.000        28.000      -224.000        57.000      1038.675        19.426       155.406       155.406       835.308        14.655
    22/01/2011 INV         6.000       -12.000        32.600      -391.200        45.000       647.475        18.222       218.668       233.109       388.515         8.634
    8 rows selected.any other thought..
    TY

  • Calculation in a Conditional Formatting

    Do you know if it is possible to create a conditional format based on the result of a calculation?
    I would like to use a calculation in the field "Value". The instructions to fill this field say: "Type a numeric value or select a value from the drop-down list". But my drop-down list is empty. Any idea?
    Thanks

    It is not possible. The value cannot be based off of another field. The only workaround that I can come up with would be to display the calculation in an adjacent column to the one you want to format, and set the format such that the background and foreground are the same color.
    A few months ago, I thought this would be an easy way to highlight and entire row, but ran into this "problem".

  • Cross Conditional format in Pivot Table

    Hi Guys
    I have an important client requirement where by I need to present the data in teh following format
    CAMBODIA LAOS SRI LANKA
    KPI_NAME PROPOSED_TARGET_VALUE MIN_TARGET_VALUE Aug-09 Sep-09 Oct-09 Aug-09 Sep-09 Oct-09 Aug-09 Sep-09 Oct-09
    SERVICES PROVISIONING CALL RATE (%) <5% <5% 21.00% 68.00% 10.80% 1.300% 0.100% 1200.% 2.500% 5.000% 66.50%
    The table is like that :
         Measure     Indicator
    13     38     White
    17     1016     Red Green
    15     3456     White
    19     8644     Grey
    12     41605.886     White
    10     52647.007     White
    This is possible only through pivot table whereby country and period dimesions have been put in pivot.
    Also there is a requirement to paint the background colour in Red Amber Green ... and for that I ahve to create a new column where after comparing i can put the status as Red ..Amber ..Green and based on the cross column conditional formating I can paint the fact value like 21.00% (shown above) .
    But when I am importing that table in pivot view all the backgrounf colour vanishes. since cross column conditional formating is not supported in pivot.
    Is there any way out to achieve this requirement .
    Thanks

    http://oraclebizint.wordpress.com/2008/04/29/oracle-bi-ee-101332-conditional-formatting-based-on-multiple-character-columns-in-a-pivot-table/

  • Using conditional formating on member columns in essbase hirarchy in obiee

    Hi All,
    I ws analysing an existing sample PnL report in obiee 11g.
    Wht I found that there is conditional formating used on 'Balance' member column based on one of the member column (net income) from 'income statement' hirarchy of essbase cube. I tried to open the 'Conditional Format' tab and tried to look into the conditional formating based on the columns above. Wht I noticed that , in the filter, some values are uses such as equal to is in 300000 and so on.. I thought of editing the value to specify another value, but could not edit the value as it is non editable.
    Can anyone tell me how to specify such value.? I tried to furhter investigate and found that is is actually comming from net income member, but I am not able to edit it modify it.. I wanted to used this formatting feature in my another report which I created from scratch, but not able to understand how to do it..
    Any help, please?
    Thanks and Regards
    Santosh

    Hi Dhar,
    Thank you for your quick reply.
    I have added couple of screenshot to flickr to clarify my problem: http://www.flickr.com/photos/93812026@N07/
    Picture 1:
    Yes, your assumption is correct. We are using gen x level members in report, but these members are shared members or Dynamic calculations i.e. we have created custom account hierarchy for them.
    Picture 2:
    Basic situation, when I query that hierarchy. I.e. it returns account names for both members in the hierarchy. Furthermore, so far I have used only one pair of account, i.e. WOC
    Picture 3:
    I'm able to "merge" these two account members simply by adding "case when" statement to account dimension object. It shows values correctly in a table (picture 4)
    Picture 5:
    BUT, when adding other accounts to query filter, the returned values are no longer correct, but some sort of multiplication.
    --> it seems, that OBIEE cannot figure the context it should do the calculation against and I don't know how to define it there.
    Ps. Next step was, that we tried to use dashboard prompt to return correct values to calculations, but after being able calculate correctly values for these above mentioned accounts, we ran into problem, when trying to add entity level to dashboard prompt (OBIEE gave an error refering Essbase). I believe this is a bug in this version.
    -Esa-

  • Conditional formatting using OLE in ABAP

    Hello all,
       Is it possible to apply conditional format using OLE in ABAP?? for example if the cell value is greater than 10, then make it red...
    Thanks in advance..
    Regards,
    Maya

    Yes,Since we can do conditional format based on other columns for a column:
    Assume you pulled A,B and wants to apply RED color on A
    Pull columns A,A,B (A twice) for 2nd A expression something like
    case when A>B then 1 else 0 end
    On A(1st A) Conditional format
    Add Condition->Choose 2nd A
    add value 1 and set color RED.
    Appreciate if you mark as correct/helpful

  • Outlook Conditional Formatting by sender's email address?

    Is it possible to set Conditional Formatting based on the sender's email address (rather than the name displayed in the From field)?
    We're using Outlook 2010 in cached mode with an Exchange server.
    Thanks!

    Hi,
    Currently it's by design. If we change the display name by VBA, we may set the condition based on the Sender's email address:
    http://www.slipstick.com/outlook/contacts/bulk-change-outlook-contacts-email-display-name-format/
    You can also refer to the thread you noticed earlier, our moderator also posted an answer to the original question:
    http://social.technet.microsoft.com/Forums/office/en-US/0257072a-2068-40bb-94ae-d12c992d4ea1/conditional-format-problem-in-outlook-2010-to-from-fields?forum=outlook#d85fda41-9f3e-47b3-af30-37099bd8119f
    Regards,
    Melon Chen
    TechNet Community Support

  • Discoverer conditional formating

    Hello,
    I am trying to establish if I can campare 2 values at runtime and alter the background colour based on the result i.e. IF A < B THEN bg_color = 'RED'. Do I need to do this through a PL/SQL function as standard conditional formatting seems quite limited.
    Thanks for any help.
    R David

    Hi,
    No, you can only add conditional formatting based on the value in the cell. So for example, you can create a calculation CASE WHEN A>B THEN 1 ELSE 0 END. The create conditional formatting setting the text and background to red if the calculated cell is 1. Then you will have a highlighted cell on the row where A>B but the rest of the row will not be highlighted.
    Rod West

Maybe you are looking for

  • Problem in sending a mail in Excel Format

    Hi Experts,           i have created one report which send a mail to the customer in Excel format. For that Report, i have used on function module for downloading .   the Coding is like this,    CALL FUNCTION 'WS_DOWNLOAD'          EXPORTING         

  • Oracle OTT generates error O2T-1117 Error reported by subsystem ORA-01017

    When I run the OTT tool with the following arguments: ott userid=ayokomiz/******@ora11gm intype=ott_updatedata.inp outtype=ott_updatedata.out code=cpp hfile=mtgeclrm_updatedatadb.h cppfile=mtgeclrm_updatedatadb.cpp mapfile=mtgeclrm_updatedatadbmappin

  • Printing in tray1 - Smartforms

    Hi All, I have a requirement where I need to print to tray1 for a particular warehouse number, say 111. Form - Smartform I cannot use Resource name tab provided in smartfoms, as it will print in tray1 for all documents, while I need to print documnen

  • R12 Generate Customer Statement and email to customer automatically.

    Hi, Is there any standard function "Generating Customer Statement and emailing directly to customer" in R12? Thanks Dharma

  • Problems finding drivers for late 2008 MBP Windows xp 64

    Hi, I'm having problems installing drivers for Windows xp 64 bit pro. The main problem is that i have lost the leopard install disc that came with the mac. As far as i know the drivers located on the leopard install disc 1 are compatible with Win xp