Using a function as condition for conditional formatting

Hello,
I am trying to switch from Excel to Numbers and I'm having trouble figuring out the conditional formatting in Numbers. In Excel, cell(s) can be highlighted, font changed, etc based on a function linked to another cells value. That is, cells A1:A4 can be highlighted if cell A5 has a particular value or not. I can't figure out how to do this in Numbers. Is it possible?
Thank you in advance for any help.

rstod7878 wrote:
Sorry, I haven't had a lot of time lately. Thanks to Peggy for the link to instructions on posting pics. Thanks to Barry for his response (which I haven't explored in detail yet). Here is a pic that may explain what I'm trying to do a little more clearly.
Here's your image, pulled in with the (edited) HTML code supplied by Flickr
The editing consisted of removing everything in front of "<img". The essential difference between this code and what you used is the addition of double quotes ( " ) enclosing the whole URL (from "http: to .jpg").
Both conditions look identical, except for the cell being referenced by the formula.
Can you restate, in English, the condition under which the cell to which these rules apply would be formatted to have a dotted green fill and text in italics and with a strike through applied?
Also, to what cell is the conditional formatting applied, and what is the value in that cell?
Regards,
Barry

Similar Messages

  • How to use complex function as condition in Oracle Rule Decision Table?

    How to use complex function as condition in Oracle Rule Decision Table?
    We want to compare an incoming date range with the date defined in the rules. This date comparison is based on the input date in the fact & the date as defined for each rule. Can this be done in a decision table?

    I see a couple of problems here.
    First, what you posted below is not a syntactically valid query. It seems to be part of a larger query, specifically, this looks to be only the GROUP BY clause of a query.
    Prabu ammaiappan wrote:
    Hi,
    I Have a group function in the Query. Below is the Query i have used it,
    GROUP BY S.FREIGHTCLASS,
    R.CONTAINERKEY,
    S.SKU,
    S.DESCR ||S.DESCRIPTION2,
    S.PVTYPE,
    RD.LOTTABLE06,
    R.WAREHOUSEREFERENCE,
    RD.TOLOC,
    R.ADDWHO,
    R.TYPE,
    S.CWFLAG,
    S.STDNETWGT,
    S.ORDERUOM,
    R.ADDDATE,
    C.DESCRIPTION,
    (CASE WHEN P.POKEY LIKE '%PUR%' THEN 'NULL' ELSE to_char(P.PODATE,'dd/mm/yyyy') END),
    NVL((CASE WHEN R.ADDWHO='BOOMI' THEN RDD.SUPPLIERNAME END),SS.COMPANY),
    RDD.BRAND,
    S.NAPA,
    RD.RECEIPTKEY,
    R.SUSR4,
    P.POKEY,
    RDD.SUSR1,
    r.STATUS, DECODE(RDD.SUSR2,' ',0,'',0,RDD.SUSR2),
    rd.SUSR3Second, the answer to your primary question, "How do I add a predicate with with a MAX() function to my where clause?" is that you don't. As you discovered, if you attempt to do so, you'll find it doesn't work. If you stop and think about how SQL is processed, it should make sense to you why the SQL is not valid.
    If you want to apply a filter condition such as:
    trunc(max(RD.DATERECEIVED)) BETWEEN TO_DATE('01/08/2011','DD/MM/YYYY') AND TO_DATE('01/08/2011','DD/MM/YYYY')you should do it in a HAVING clause, not a where clause:
    select ....
      from ....
    where ....
    group by ....
    having max(some_date) between this_date and that_date;Hope that helps,
    -Mark

  • Is it possible to use repository variable in conditional formatting

    Is it possible to use repository variable in conditional formatting . if no then is there any workaround for implementing the same....
    Also i came across a sql of an init block.. which goes like 'exec OracleBi..procedure_name'
    Is 'OracleBi..' a keyword or something like that....

    Refer http://www.biblogs.com/2008/09/03/obiee-repository-variables-filtering-and-conditional-formatting/
    Init blk is calling any procedure here with name OracleBI here...no any specific significance.
    Hope this help
    Edited by: Deepak Gupta on Aug 12, 2011 8:27 AM

  • Using Session Variable with Conditional Formatting Filter

    Hi,
    I'm trying to add a condition to my report in order to flag all opportunities that have a close date that is in the past. The way I'm trying to do this is by adding a condition to say when close date is less than current_date, flag the column with an image.
    Issue I'm having is that the filter window within conditional format tab appears to not have the session variable option as you do when you create a filter on a column the normal way. A colleague told me to use an SQL expression, but again this option seems to be unavailable too within the conditional format tab.
    Can anybody assist please?
    Thanks

    Create a new column and write a CASE WHEN condition like case when close date < current_date then 'Y' ELSE 'N' END.
    Then on your actual date column, you can do conditional analysis based on the newly created column for values having Y then the image.
    finally, you can hide the newly created column.

  • How to use the function SOMME.SIS for a specific month ?

    Hello,
    I want to use the function SOMME.SIS with a condition that would be a specific month of the year. Does anyone know how to do that ?

    Hi Amir,
    Ahaa! SUMIFS
    Here is Table 1
    Date
    Month
    Product
    Sold
    2 January
    January
    A
    20
    3 January
    January
    A
    40
    3 January
    January
    B
    50
    5 February
    February
    A
    10
    6 February
    February
    B
    5
    7 February
    February
    A
    15
    8 February
    February
    B
    2
    Table 2
    Month
    A
    B
    January
    60
    50
    February
    25
    7
    March
    0
    0
    April
    0
    0
    May
    0
    0
    June
    0
    0
    July
    0
    0
    Formula in B2 (and Fill down and Right)
    =SUMIFS(Table 1::$D,Table 1::$B,$A2,Table 1::$C,B$1)
    Regards,
    Ian.
    Edit: Your region may use ; instead of , in formulas. Ian.

  • How to use the functionality of Simulation for the Transaction MIRO

    Hi Group,
    I have a requirement to call SAP from MS Excel and check for the SImulation option as under:
    The Excel will pass the values of Invoice Number, Posting date, PO number, PO Item number, Company code and etc., through the call of BAPI   -   'BAPI_INCOMINGINVOICE_CREATE'  in order to create Invoice in the SAP system.
    But the above BAPI is creating the Invoices in SAP system. Rather, I need to just check(thru SIMULATION) the records and come back to MS Excel with the MIRO numbers that will be created and the errror messages that will be returned back.
    In summary, I have to add two Buttons as:
       POST : this has to create MIRO(invoice Numbers) in the SAP System(populating the Success/Error Messages by calling
                   the above BAPI   -  This functionality is working fine now
       SIMULATE: this has to do  same functionality of "POST" option but should not create MIROs in the SAP system
                          Currently I am not able to achieve this as the above BAPI is creating MIROs in SAP.
    Kindly provide your inputs on how to go about incorporating the above SIMULATION functionality, by giving some simulation BAPIs that can be used for my functionality.
    Thanks for your help in advance.
    Regards,
    Vishnu.

    Hi Group,
    In continuation to my previous posting, I would like to give more inputs as under:
    when I was using the BAPI - BAPI_INCOMINGINVOICE_CREATE (unless I commit the transaction), MIRO would not be created in the system.
    Now, when I run the BAPI again with a different set of data, the Invoice Number is getting incremented by one.... this I dont need, if the Invoice is not committed and if I run the next time, I need to get the same Invoice Number....
    How can I achieve this task?
    Kindly let me know your inputs on this.
    Regards,
    Vishnu.

  • Using aggregate function along with for all entries: sugest alternative

    My requirement:
    For each record in i_vbap for which 'charg' is initial, need to determine batch using the following logic:
    For the material (MATNR) in i_vbap, select the batch (CHARG) which has the largest (MAX) unrestricted inventory quantity (CLABS) from MCHB table.
    How do I implement this logic without using select statement inside a loop as I cannot use MAX ( CLABS ) function along with FOR ALL ENTRIES in a SELECT?
    Suggest an alternative.

    For each record in i_vbap for which 'charg' is initial ,fetch all the existing 'clabs' value.
    [ Remember to include all the key fields in selct ]
    Sort the new table .
    Put a loop,use at end of 'charg' and append to another table. U get ur solution
    I think this should be the most economic way to do so.

  • [WebIntelligence Reporting] How to use count function with condition !?

    Post Author: xuanthuyit
    CA Forum: WebIntelligence Reporting
    Hi everyone,
    I want to make a report like this  with WebIntelligence reporting.
    I want to show the number of Outlet of each chanel (Horeca, Grocery, Convenience) at the end of report !
    But I don't know how to do that with WebIntelligence Reporting.
    Please help asap. . .
    Thank you verry much,

    Post Author: jsanzone
    CA Forum: WebIntelligence Reporting
    xuanthuyit:
    Apparently =count() &#91;and use of a where&#93; was permissible in previous versions of BusObjects, however, things in XI are different (as other users tell me, being XI is my first experience w/ BusObj...), so anyhow, here is the solution to your question.
    You will have have to create two variables for each condition you have.  One variable will be the "helper" and the other variable will be the "worker".  For instance, create a variable called channel_x and the formula:  =if(channel="haney";<metric>;0)  (where "haney" is the name of your organization and <metric> is the metric you are using to count or sum things in your report).  Once channel_x is saved create another variable called channel_x_count and the formula:  =sum(&#91;channel_x&#93;).  Once channel_x_count is saved, then on your report towards the bottom you can use the Template bar to drag in a new table (perhaps you want to use the Horizontal Table type), and then you can drag channel_x_count into your new table.  You will have to repeat the creations of more channel_x type variables (maybe call it channel_y and channel_y_count) or something more descriptive, but in any case substitute the "haney" constant for the next store you want to track, etc, etc.

  • Error using transferTo function on VMS for long files

    Here is the code snippet that fails, as you can tell I am not giving all the code since it is not required to understand the problem.
    This occurs on OpenVMS
    Welcome to OpenVMS (TM) Alpha Operating System, Version V7.3-2
    java version "1.4.2"
    Java(TM) 2 Runtime Environment, Standard Edition
    Classic VM (build 1.4.2-5, 03/06/2006-23:29, native threads, nojit)
    The error only occurs on files with very long line lengths (20 000+ characters in the line) and file size is not an issue.
    Thanks in advance for your help in resolving this issue.
    private FileChannel fileChannelInbound;
    private SocketChannel socketChannelOutbound;
    private Socket client;
    client = new Socket(hostname,portNumber);
    socketChannelOutbound = SocketChannel.open(client.getRemoteSocketAddress());
    File fIn = new File(file);
    fileChannelInbound = new FileInputStream(fIn).getChannel();
    fileChannelInbound.transferTo(0,fileChannelInbound.size(),socketChannelOutbound);
    fileChannelInbound.close();This is the trace of the error.
    java.io.IOException: invalid buffer length
    at sun.nio.ch.FileDispatcher.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java)
    at sun.nio.ch.IOUtil.write(IOUtil.java)
    at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java)
    at sun.nio.ch.FileChannelImpl.transferToTrustedChannel(FileChannelImpl.java)
    at sun.nio.ch.FileChannelImpl.transferTo(FileChannelImpl.java)
    at WebReturnResult.sendFile(WebReturnResult.java)
    at WebReturnResult.sendResults(WebReturnResult.java)
    at WebReturnResult.<init>(WebReturnResult.java)
    at WebReturnResult.main(WebReturnResult.java)

    Hi ,
    Unfortunately this is an issue in the underlying driver for the USB device. It should be fixed in the next DAQ release.
    One way you could work around this problem is by having a delay after the read and the next line of code.
    i.e
    Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
    DAQmxErrChk DAQmxReadAnalogScalarF64(taskHandle, 10#, data, ByVal 0&
    Sleep(250)
    acquisitionDataTextBox.Text = CStr(data)
    Hope this helps...
    Nandan Dharwadker
    Staff Software Engineer
    Measurement Studio Hardware Team

  • Copying formatting from conditional formatting without the rules

    I tend to use a lot of conditional formatting in my spreadsheets. Unfortunately, this leads to two problems:
         1) I need more rules than are allowed (this seems to be related to the height of my screen... probably because the dialog box doesn't have a scrollbar)
         2) This really, really slows things down, especially when combined with cell references, and particularly when I'm trying to rearrange cells (as far as I can see Numbers has a tendency to freeze and/or blank out the table I'm working on)
    The easiest way I can see out of my predicament would be to somehow remove the conditional formatting rules while keeping the actual formatting... like copy-and-pasting values instead of the actual cells (with intact formulae). Is this possible? And if possible, how would I go about doing it?
    Thanks in advance!

    Up to 15 rules can be set for conditional formating of a cell.
    1)
    Considering that the usual purpose of conditional formatting is to flag 'unusual' values, and to make the 'condition' instantly visible and recognizable, that seems an over generous number. If a cell or group of cells on your table 'needs' more than 15 possible formats (the base format and 15 others based on rules), perhaps what's needed is a re-thinking of why that many are needed, and whether having that many formats adequately answers that 'why'.
    If you really do need that many, you can set then, even if your display height is filled with fewer than that. Additional rules may be inserted after any existing rule, not just the last one. note, though, that the conditions are evaluated in the order the rules are listed, from top to bottom, and the format is set by the first rule encountered whose condition is met.
    2)
    Not surprising. Numbers recalculates the entire table each time a value in the table is changed. That calculation includes through each list of conditional formatting rules until a match is found (or the end of the list is reached), and includes setting the new format for each affected cell.
    3)
    Not that I'm aware of. The base format of the cell may be copied (option-command-C) and pasted elsewhere (option-command-V), and that pair of operations will include any conditional format rules that had been set for the original cell.
    But conditional formatting is just that—a set of rules that applies a set of attributes to a cell when a specific condition is met. The applied format exists only when the condition is met, and can't be copied except by copying the rule—actually the whole set of rules for that cell—which puts you no further ahead.
    3a) You could, of course, change the base format of the cell to match the colour and style applied by the conditional rule, then clear the conditional format rules for that cell or set of cells. That would 'remove the rules while keeping the (applied) formatting', and would leave the formulas intact. seems to me a game not worth the candle, though.
    Regards,
    Barry

  • Issue with use of Function Module GUI_UPLOAD

    Hi Experts,
    I have an issue in using the Function Module GUI_UPLOAD for uploading the contents of an Excel file on the Presentation Server to an internal table in an ABAP Program.
    My file consists of around 300 records but the FM succeeds in uploading only the first 6 lines to the Internal Table specified while calling the FM.
    I dont have any idea why this happens. Any pointers in this direction will be helpful.
    Thanks in advance.
    Regards,
    Keerthi

    Hi,
    Kindly go through this link below:
    https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=60655105
    Hope it helps you
    Regards
    Mansi

  • How to use a function module in a subroutine

    Hi,
      I am working on a report where i have to create list boxes for 5 fields.Instead of using the function module VRM_SET_VALUES for each field can i use subroutine?
    If so, can anyone tell me the procedure for that?Its very urgent.
    Thanks and Regards,
    Hema

    Hi,
       I have written the code like this.
    FORM VALUE USING V_NAME.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING id     = v_name
                  values = v_list.
      ENDFORM.
    AT SELECTION-SCREEN OUTPUT.
      REFRESH V_LIST.
      v_name = 'P_COMMER'.
      v_value-key = 'C'.
      v_value-text = 'Commercial'.
      APPEND v_value TO v_list.
      v_value-key = 'N'.
      v_value-text = 'Non-Commercial'.
      APPEND v_value TO v_list.
      v_value-key = ' ' .
      v_value-text = 'Both'.
      APPEND v_value to v_list.
      PERFORM VALUE USING V_NAME.
      REFRESH V_LIST1.
      v_name1 = 'P_DIRECT'.
      v_value1-key = 'D'.
      v_value1-text = 'Direct'.
      APPEND v_value1 to v_list1.
      v_value1-key = 'I'.
      v_value1-text = 'Indirect'.
      APPEND v_value1 to v_list1.
      PERFORM VALUE USING V_NAME1.
      REFRESH V_LIST2.
      v_name2 = 'P_DIR'.
      v_value2-key = 'D'.
      v_value2-text = 'D'.
      APPEND v_value2 TO v_list2.
      v_value2-key = 'C'.
      v_value2-text = 'C'.
      APPEND v_value2 TO v_list2.
      v_value2-key = ' ' .
      v_value2-text = ' '.
      APPEND v_value2 to v_list2.
      PERFORM VALUE USING V_NAME2.
      REFRESH V_LIST3.
      v_name3 = 'P_LOW'.
      v_value3-key = 'Y'.
      v_value3-text = 'Yes'.
      APPEND v_value3 TO v_list3.
      v_value3-key = 'N'.
      v_value3-text = 'No'.
      APPEND v_value3 TO v_list3.
      v_value3-key = ' ' .
      v_value3-text = ''.
      APPEND v_value3 to v_list3.
      PERFORM VALUE USING V_NAME3.
      REFRESH V_LIST4.
      v_name4 = 'P_PARENT'.
      v_value4-key = 'P'.
      v_value4-text = 'Parent'.
      APPEND v_value4 TO v_list4.
      v_value4-key = 'C'.
      v_value4-text = 'Child'.
      APPEND v_value4 TO v_list4.
      v_value4-key = ' ' .
      v_value4-text = ''.
      APPEND v_value4 to v_list4.
      PERFORM VALUE USING V_NAME4.
      REFRESH V_LIST5.
      v_name5 = 'P_PREF'.
      v_value5-key = 'P'.
      v_value5-text = 'Preferred'.
      APPEND v_value5 TO v_list5.
      v_value5-key = 'N'.
      v_value5-text = 'NotPreferred'.
      APPEND v_value5 TO v_list5.
      v_value5-key = ' ' .
      v_value5-text = ''.
      APPEND v_value5 to v_list5.
      PERFORM VALUE USING V_NAME5.
    Now I am getting the same set of values in all the fields.How can I solve this?
    Thanks and Regards,
    Hema

  • How to use Time Function

    I have two times say
    2310, 0050 - How can I find out using java that the difference between these two is 100 minutes or 1 hour 40 minutes.
    What libraries are used to find this out ??

    I need a time function which will do it.....I will be
    surprised if Java don't have something inbuilt....Try splitting the time into two strings for the hours and minutes, using the functions DrLaszloJamf provided for you.
    minutesSinceMidnight = hours * 60 + minutes; Otherwise, the GregorianCalendar is pretty cool.

  • Delete Functionality in WAD for IP

    Hi All,
    I am using Delete Function in WAD for IP.
    I have a Delete Button. Whenever a row is selected and Delete Button is clicked. It should delete values only selected row. but, in my case it is deleting values for all records.
    If anyone has worked on it, please help me out.
    Regards
    Sushma

    Hi
    In the definition of the planning function : Delete, mention the characteristics on which the delete shoudl take place.If the characteristic values are to be given at runtime, please assign the variables.
    If no restriction is mentioned all the keyfigure values become zero.
    Hope this helps.
    Regards, Hyma

  • Flash CC: use jQuery functions

    I want to use jquery functions into flash for html5 game I am building. What I tried to do is add the following lines, and then use simple jquery function, but it seems not loaded, because I get the error: $ is not defined
    My code, which is in the first frame of the main timeline, is:
    var head = document.getElementsByTagName('head')[0];
    var file = "http://code.jquery.com/jquery-1.11.0.min.js";
    var ref = document.getElementsByTagName('script')[0];
    var js = document.createElement('script');
    js.src = file;
    ref.parentNode.insertBefore(js, ref);
    console.log(head.outerHTML);
    console.log($(document).height());
    console.log($(document).height());
    The result I see in the console log, is the following:
    <head>
          <meta charset="UTF-8">
          <title>ggg</title>
          <script src="http://code.jquery.com/jquery-1.11.0.min.js"></script><script src="http://code.createjs.com/easeljs-0.7.1.min.js"></script>
         <script src="http://code.createjs.com/tweenjs-0.5.1.min.js"></script>
         <script src="http://code.createjs.com/movieclip-0.7.1.min.js"></script>
         <script src="ggg.js"></script>
         <script> var canvas, stage, exportRoot;
              function init()
                   canvas = document.getElementById("canvas");
                   exportRoot = new lib.ggg();
                   stage = new createjs.Stage(canvas);
                   stage.addChild(exportRoot); stage.update();
                   createjs.Ticker.setFPS(lib.properties.fps);
                   createjs.Ticker.addEventListener("tick", stage);
         </script> </head> ggg.js:163
    > Uncaught ReferenceError: $ is not defined
    What is wrong with that? and what I have to do so I can use jquery?
    TIA

    As shown in line 9 of the code above, I wrote: console.log ($ (document) .height ());
    I did not think, I needed to set the variable $, because jquery is already doing it. Is not it?
    If I try to write the line: <script src = "http://code.jquery.com/jquery-1.11.0.min.js"> </ script> within the <head> html file manually, then there is no problem and I get the height of the screen, even without defining the variable $.
    Which brings me to the conclusion that, although the line was written in the file, as you can see in the console log, but it still does not start ...
    The problem is, if I write the line in the html file manually, when I do publish .fla file, Flash CC erases the line and everything was written by hand. So I thought to write the above code from the first frame of the timeline.
    Is there a better way?
    And yet - why the above code tweaks error message?
    TIA

Maybe you are looking for