Is conditional formatting possible?

I've been scanning the forums for an answer to this question but haven't been successful.
I am trying to program my form (it's a Travel Expense Reimbursement form) so that one of two fields will auto populate with information from another cell, based on what type of number is in the cell (a positive or a negative dollar amount).
For clarity:  the entire worksheet has numeric fields which add up into a read only field titled "TripTotal".  There are three user-entry fields ("LessPrepaid", "Less Personal" and "Less Advance") that are to be subtracted from "TripTotal". This amount will be calculated into a field titled "Balance".
What I cannot figure out is:  If "Balance" amount is a negative, I need the field "AmtReturned" to populate.  If the amount is a positive, I need the field "AmtReimbursed" to populate.
Can this be accomplished simply?
Thank you for your help & ideas...
AmandaVor

You just need an if statement on the Calculate event of the Balance field.
Something along the lines of:
form1.#subform[0].Balance::calculate - (JavaScript, client)
if (this.rawValue < 0) {
    AmtReturned.rawValue = this.rawValue;
else {
    AmtReimbursed.rawValue = this.rawValue;

Similar Messages

  • 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.

  • Is it possible to do conditional formatting in pivot table

    I have created a duplicate layer of no of transactions which displays % of transactions.I need to highlight % above 50 in diff color.Is it possible in pivot table?

    Hi,
    Try this
    In the criteria create one more column with formula as
    100.0 * "Sales Facts"."Amount Sold" / REPORT_SUM("SH"."Sales Facts"."Amount Sold" BY ) ....this gives you the same result as percentage in Pivot table.
    Replace Amount Sold by your measure column % of transactions.
    Now set the conditional formatting in Criteria tab using this column. i.e if *100.0 * "Sales Facts"."Amount Sold" / REPORT_SUM("SH"."Sales Facts"."Amount Sold" BY ) > 50* then RED or whatever you want.
    Hope this works.
    Thanks

  • Is it possible to save a set of conditional format rules in Numbers?

    I am a doctor, and I have a call schedule that comes out each month (in an Excel spreadsheet). So, I want to open up the spreadsheet in Numbers and have each instance of my name (Smith) highlighted, by setting the background of the cell to a fluorescent yellow. This is easy to do by using conditional formatting, and it works well.
    My problem is that each time I want to use the same conditional formatting rule, I have to manually set it up. I would like to be able to save the 'rule', ideally linked to a toolbar button, so that I can run this conditional formatting on any Numbers spreadsheet with one (or two) click(s).
    Does anyone know if this is possible?

    Create a table with the conditional rules then use Format > Advanced > Capture Table
    Each time you will create a new table from the captured table it will have all the source's attributes.
    Of course, you must save in the native Numbers format.
    If you export as Excel most of these settings will be lost.
    Yvan KOENIG (from FRANCE vendredi 9 janvier 2009 19:44:05)

  • 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

  • Is it possible to conditional format more than one cell at a time?

    I'd like to use conditional formatting to compare the value in cell E3 with the valve in cell D3.  Then I'd like to copy the conditional formatting rule I made in cell E3  to cells E4 E5 E6 E7 ETC.  I'd like the E4 to compare to D4. E5 to compare to D5 and so on.  Is there an easy way to do this other than creating the rule for each cell?

    Easier, yes. Instant, no.
    Assuming the only thing that will change in the rule from one cell to the next is the reference to the comparison cell, do this:
    Select all of the cells to be formatted.
    Set the comparison rule to apply to D3.
    At this point all the selected cells in column D will base their conditional formatting on a comparison with the value in E3. The next step is to edit the rules for D4, D5, etc.
    Select cell D4.
    In the rule statement, click on the cell reference E3 to select it, then click on the correct comparison cell for the selected cell (E4 for D4) to replace the reference.
    Repeat with the next cell in column D.
    Regards,
    Barry

  • Sharepoint Foundation 2013 - Conditional formatting

    Hey all,
    I'm trying to pull of conditional formatting for the outcome of a "Yes or No" column within a Custom List, however all the searching I have done shows that it seems to have been removed in Sharepoint 2013 without using a Jquery (I'm having problems
    getting my head around Sharepoint 2013 at the moment, dont want to add Jqueries to it as well lol).
    Have I missed something stupidly easy? I have http://www.cdpdev.com/Blog/Post/7/Conditional-Formatting-in-SharePoint-2013 but it seems to be using Sharepoint
    2013 with Sharepoint designer 2010 which I dont really want to have to do as the will be in time handed over the my 'manager' who will self manage and using 2 different pieces of software is kinda out of the question.
    Regards
    JB

    Hey @ITechbrij
    it seems the above post doesn't work for Sharepoint 2013 as I'm getting a syntax error but this maybe due to me not being able to find the formula box so put it into the "Column Validate" section as I'm missing the formula box that is shown in the 2010 screenshots.
    If this is not possible what do you suggest? Going with the Sharepoint designer 2010 approach? As I cant find how to do it in 2013 and wouldn't know where the start with a jquery lol.
    JB

  • Conditional formating in report painter (GRR2)

    Hi all,
    An end user ask me if it's possible to do a conditional formatting in a cell of report painter (run with GRR3) if the value is true (i.e. as in excel, you can colour a cell if it's less than zero and so on). I know that it's possible with the BEx (for SAP BI), xcelsius, crystal reports and surely with bussiness object. I can see that it's only available do the format for the all column or for a line, but I don't  find the option for a cell with a condition (surely because it isn't available).
    Please, confirm me if it is not available, because I'm a long time looking for a reply but I only find info about BEx, xcelsius and so on (nothing related with report painter, GRR2 and so on). But if it's possible, please let me know how to do it.
    Thanks in advance
    Best regards,
    Eduardo

    Hi,
    I don't think that we can put the conditional formula. but we can do the calcualtion by row wise or column wise.
    Thanks.

  • 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".

  • Excel 2013 Conditional Formatting problem

    Hello!
    A customer of mine has recently transitioned from Office 2007 to Office 365. This has been a major hurdle for them, and they're still experiencing some issues with things not behaving the way they used to. I'm not an Excel expert, so I have no idea if the
    following issue is some sort of bug or compatibility issue, or if the user is just expecting behavior that isn't going to occur in this version of Excel.
    She has a spreadsheet that she uses to schedule people. She uses conditional formatting to change the color of numbers based on their size. For example, everything less than 2 is red, everything between 2 and 4 is green, etc.
    So, let's say she has two rows that have been formatted already. Then she adds a third row, inputs the data, then highlights the entire row and tries to format it. Once she adds her rules and clicks "Ok", that row is formatted...but rows 1 and
    2 have now been cleared of all formatting. So basically, she can't format things on the go, as she puts them in, she has to format everything at the same time, every time.
    It doesn't happen to every row that has already been formatted. If she has 20 rows that are formatted, sometimes only 2 of them will lose their formatting after she applies her rules to a new row. It's usually the rows that are right next to the new row.
    I have very little experience with Excel conditional formatting, so I don't know what would cause this, or if there's a fix or workaround. Also, I'm not sure if I'm explaining it clearly. Any help or suggestions would be welcome!

    Hi,
    According to your description, this issue seems occur with the special spreadsheet. In my view, it might be more related to the file itself, such as incorrect range with conditional formatting rule, double rule with same cell range or other.
    would you like to send the sample file to me ([email protected])  if possible? I want to test it.
    Regards,
    George Zhao
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click "[email protected]"

  • 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/

  • Conditional formatting with another column in pivot table

    Hi everbody please help me!
    My question is simple.
    On my example I have
    --------------------year1------year2----dif(my calculated item)
    measure1-------100-------50---------50
    measure2-------75-------100---------(-25)
    For measure1;
    I want to make "dif" green if year1 is < 100 and want to make "dif" red if year2 = 100 and etc...
    Is it possible, I tried but could not achive conditional formatting when I use different column then dif...
    Thank you for your help
    Regards,
    Can
    Edited by: canmurt on Dec 27, 2009 9:44 AM

    Thank you for quick answer, but there is no "Admin General privileges" :(
    Do u know anything about first question
    Access to Dashboards
    Access to Answers
    Access to Delivers
    Access to Briefing Books
    Access to Disconnected Analytics
    Access to Administration
    Access to Segments
    Access to Segment
    Access to List Formats
    Access to Metadata Dictionary
    Access to Oracle BI Publisher Enterprise
    Access to Oracle BI for Microsoft Office
    Regards;

  • 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

  • Dynamic table with conditional formatting

    Hi.
    I haven't used Dreamweaver in a few years and now need to
    knockup a simple page for a project and need some help.
    I want to create a dynamic link to a spreadsheet (.xls or
    .csv) and then apply conditional formatting so that if a cell in
    the table equals '1' then an image is displayed in that cell on the
    webpage. If the cell equals '2' a different image is displayed, and
    so on.
    This way I can give a simple spreadsheet to the users to
    update and by only entering a '1' or a '2' into each cell in the
    spreasheet, they are changing images in a table on a webpage..
    Is that possible and if so, can someone point me in the right
    direction to create such functionality?
    Many thanks.

    You have convert that XLS file to CSV and then write your
    PHP/PERL/ASP code to take the particular value and then that will
    alter the image on condition.

  • Above Average Conditional Formatting in Pivot Table off Row Total

    I have a pivot table where the months are column labels and the actual issues are Row labels. This is inverted from a normal pivot table where the months are usually the row labels.
    Basically I want the table to look at the value in the Values cells to look at the row Average instead of the column Average. Is there a way to do this?
    I've highlighted all my Value cells (showing the sum of the issue for a specific month) and then applied the Above Average conditional formatting selecting 'All cells showing "Average of #of Tickets" values for "Issue" and "Month".
    This works where the cells' value is greater than the columns average, but I want it to look at the row average instead.
    Is this possible? I thought it be simple, but I can't figure it out. The table will grow every month width wise and possibly adding new issues each month.

    Hi Vetsrini, thanks for the reply. I'm using the crosstab feature of BI Publisher template builder in MS Word to create the pivot table. I have a field called ACTIVITY as the row, and I want to bold the font and set the color as red if the ACTIVITY equals to certain text (such as if ACTIVITY = 'A' then bold & red). Can you please tell me how that can be achieved? I tried using the conditional formatting feature of the template builder, but it only works if I use it in a table, and not in pivot table.
    Thanks a lot.

Maybe you are looking for

  • Appletv connected by dvi to old tv gets no audio

    I realise my old TV - hd ready and all is not great for the AppleTV2 but its all i got. It connects via hdmi to dvi cable but no sound. what next.. i can get use the optical audio out from teh appletv2 to the tv but i have no optical audio in!! a con

  • Create PDF/A report

    Is it possible to create a report in PDF/A format? If it is, in which version of OracleReports it's possible to make that. Thanks Marko

  • Swatch from square-pattern backrgound

    Hi Am hoping someone can help me. I have an image (JPG) that I want to create a pattern fill / swatch from. Here is the pattern: Now, I started creating little squares using the rectangle tool and tried to line them up next to each other and fill the

  • Validating 10 numeric fields - any better approach?

    Hello All, I've an internal table with 15 fields. First 5 fields are all text fields and the next 10 fields are of type DMBTR. I have to validate each of these fields. Currently I've coded as follows: data: begin of itab1 occurs 0,      text1     typ

  • Retreive the whole history of my calls done

    I need to know how could retreive all history on calls done since I joined skype. I need to have this document showing the since when I had communciation with my now wife overseas as a prove for her visa that this is not a fixed marriage. Can you ple