Conditional Formatting: Bold first line only in formula

Post Author: ccding
CA Forum: Formula
Crystal Reports XI, SQL Server
I have a formula:  @AddressBlock.  (below)
+ " " + + chr(13) +
+ chr(13) +
+ chr(13) +
Question 1:  How do I bold the first line only ( + " " + ); and also hyperlink the ?
Question 2:  Is there a better way to write the formula above?
(fyi - and are sometimes null)

Post Author: SKodidine
CA Forum: Formula
You can try this as well.  Create a formula for the name, then another that has address ,phone and email.
Create a text box then insert the name formula, then the address formula.  Then highlight the name formula in the text box and click on Bold.  That will boldface just the name alone.  Make sure you have the text box to 'can grow'.  That should solve your problem of boldfacing just the name alone.

Similar Messages

  • Conditional Formatting - Bold the smallest value.

    I have a row of cells with time in them. How can I make the cell with the lowest value - bold?
    thanks.

    As an example,
    If column B is a list of dates&times and cell C2 = MIN(B)
    then the format for all the cells in column B is
    "if equal to 'cell C2' then Bold"
    Whoops, sorry, you said row, not column. Same idea, though.
    If row 2 is a list of dates&times and cell B3=MIN(2:2)
    then the format for the cells in row 2 is
    "if equal to 'cell B3' then Bold"
    Note that there is no "time", it is date and time. If today you enter "2:00" and tomorrow you enter "1:00", the 2:00 is the earlier time. This is because it is tagged with the date you entered it, unless you specify a different date. If this will be a problem for you, you will have to create a separate row that strips the date off of it with =TIMEVALUE(2:2). This will allow you to get the minimum. I'll have to take a few minutes to figure out how to do the rest.
    Message was edited by: Badunit

  • In need of assistance using checkbox and conditional formats

    Hello,
    I'm trying to set up a command to meet the following:
    When I opt to use a checkbox format in say cell "G2" - I would like to setup a conditional format along the lines of...
    =IF G2 is TRUE (i.e. checked), then change the color of cell "A2" to some color.
    Can anyone help me with the line command for this?

    L.
    Seems like it should be easy, doesn't it? There are options to doing this, but none are exactly obvious. The problem for you is that conditional formatting is based on the content of the cell being formatted, not some other cell. A typical use is to, say, bold content over a certain limit, or make the display of a zero value invisible.
    In Numbers08, you have only a couple of options:
    Use an IF-test to alter your content, or use an overlay table or tables. The solution you pick will depend on whether the content was calculated or input directly. If the content was input from the keyboard, that's the most difficult situation since there is no equation to modify.
    So, do you want to change the color of the Text, or the Fill, of cell A2? And, how important is this formatting to you? If it involves extra columns or tables and a lot of fussing around, do you still think you need it?
    Jerry

  • How do i use conditional formatting to edit the color of other selected other cells?

    I have been playing around with the conditional formatting feature of Numbers, I have figured out how to change font and background color of the cell i am working with.
    However what i am looking to do is apply a background color formatting to another cell (i.e. F2) if conditions are met in (B2).
    the end game is this,
    I want to make a column of check boxes, and using contional formating i want adject cells to change color (I.e. the example above: if (B2) is a check box, then when unchecked the reffered Cell (F2) does nothing, but when check the color of (F2) changes)
    I can make this happen with Logic equations, the give (i.e. F2) some letter or number value, then using conditional formats i can have the color change. but this leaves that particular cell useless to me (i.e. F2) I am not free to enter or edit text in that cell. (i.e. =IF(B2=TRUE,"Paid","Due") ----> then add a conditional statement that chages color when the value is either "Paid" or "Due")
    How do i have F2 change color, when B2 is checked and still retain the ability to enter information (or potential have another formula) in F2? (The Cell is not used up by "Paid" or  "Due" it is editable just like any other cell)
    is there anyway to change cell characteristics like font, color, and background color inside a formula, because in that way i would be able build it manually
    i tried using the formula editor inside the conditional format pane, but the only infor it will allow me to retain is one partictular cell. i cannot add modifiers like "+" or "=" or anything else. what is that space used for then?
    thanks for anyones help

    MC,
    You can do what you want in Numbers. It requires an auxiliary column and it's a bit tedious to set up because conditional formatting by comparison to another cell isn't relative, so each cell has to be programmed individually with no option to Paste or Fill to other cells in a range.
    For explanation purposes, let's say your checkbox is A2, your cell to be conditionally formatted is B2, and your auxiliary cell is  C2. To have the format of B2 determined by the checkbox status in A2, you will:
    1. In C2 write: =IF(A, B, " ") The " " is any string or value that you don't expect to encounter in B normally, and using the space character means you don't have to worry about having it visible if C is in View.
    2. In B2 use Conditional Format: "Equal To" cell C2 and set your text and fill attributes to be used when the box in A is checked.
    That's it. Do that for every cell in the range.
    Jerry

  • Comparing lookup columns in conditional formatting

    I have a column of type number in one table, and in that same table a lookup column of type number.  Do I have to do any special formatting or manipulation to be sure they properly compare so I can do conditional formatting? 
    First part of clause is in the main table; second part is the lookup
    This is the clause in question clause:
    $thisNode/@Due_x0020_Cycles <= @Registration_x003a_Cycles_x0020_
    (This of course, doesn't work as I expect it to)

    This might be because the Lookup is actually returning the index value rather than the actual value that displays. You may have to take the Index value from the lookup and use that to get the value from the original list.
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

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

  • Paste Conditional Format rule wipes out existing formula... & vice versa.

    As far as I can see there is no way to copy an already established conditional formatting rule onto a cell that already has a formula entered without wiping out the formula. And when you set the formatting rule first and then paste in the formula, it wipes out the conditional formatting rule.
    Surely this is not too much to ask -- or am I missing something here?

    Badunit, thank you for the info about Paste and Match Style. That works very nicely. Interestingly, I don't believe the specific use of the command for this purpose is documented in the manual, though it certainly should be.
    Yvan, I have read everything the manual has to say about conditional formatting three or four times over, and yes, I know that the function is available via the Inspector as well as under the Format menu.
    You are mistaken, however regarding copy and paste.
    Conditional formatting is indeed transferrable via copy and paste, as you will find if you try it, and as is mentioned in the manual at the bottom of page 82. And pasting a function into a cell with conditional formatting deletes that formatting. So Badunit's suggestion is the only solution to avoid having to re-enter either the formula (very large) or the formatting rules. In this instance there were 14 rules in force, and re-entering them was tedious.
    A little less rushing to judgement - and a little more courtesy, please.

  • Arraylist only reading first line of file

    I am reading a text file using an arraylist. my file has a single value on each line e.g.
    2
    3
    4
    5
    however this method is only reading only the first line of each file. is it because of this statement:
    String s1[] = number.split("\\s");
    I would like to change the method so its not expecting numbers in a single line.. but reads each line and adds it to the collection... how can I do that?
    here is getData method that gets the file and processes it.
         public static List<Integer> getData(String Filename) {
              List<Integer> array1 = null;
              // BufferedReader for file reverse.txt
              try {
                   array1 = new ArrayList<Integer>();
                   BufferedReader bf = new BufferedReader(new FileReader(Filename));
                   String number = bf.readLine();
                   String s1[] = number.split("\\s");
                   for (int i = 0; i < s1.length; i++)
                        array1.add(Integer.parseInt(s1));
              } catch (Exception e) {
                   e.printStackTrace();
              return array1;

    Faissal wrote:
    while(bf .ready()){
    readline() will return null if the end of the stream has been reached. ([http://java.sun.com/javase/6/docs/api/java/io/BufferedReader.html]). This condition can be used to determine when to stop reading thereby ensuring that all lines have been read.
    EDIT:
    Here's a code snippet from [Java Developers Almanac|http://www.exampledepot.com/egs/java.io/ReadLinesFromFile.html]: notice how they close() the stream when they're finished with it.

  • Can conditional formatting detect formulas?

    I have a spreadsheet for home accounts/debts etc, and I like to put forward calculations in columns so I can get an idea of how long it will take to pay off debts. These forward calculations are formulas based on APRs etc, and I manually format them in grey italics. When a bill comes in with the actual amount on it, that formula gets replaced with the bill amount, and I switch the format to black plain text so I can see it's an actual value.
    Is there any way, using conditional formatting or otherwise, I can automate this so that when I type in a real value it can detect it's not a formula and reformat the cell?
    Thanks!

    No.
    Conditional format rules depend on comparing the value contained in the cell, and pay no attention to how that value got there.
    That said, it might be possible to examine the value and determine whether it was entered directly or formula generated. If the value in the cell is NOT equal to the value in the cell rounded to two decimal places, then chances are the value was generated by a formula. Not perfect, as it will not detect generated values that are exact to zero, one or two decimal places (eg. 12.00000, 12.10000, 12,12000, etc), and won't find any values where the formula itself actually rounds (as opposed to 'displays') its result to two (or fewer) decimal places.
    Here's an example:
    As indicated in column A. the values in B2 and B3 are entered numbers, those in B4 and B5 are calculated. Column B is formatted to DISPLAY these numbers as Currency, with the usual two decimal places.
    Column C uses the formula =B to transfer the  actual values in column B. Formatting is set to automatic.
    Column D uses the formula =ROUND(B,2) which rounds the values in column B to two decimal places. Formatting is set to automatic, so what is shown is the actual value.
    The conditional formatting rule, shown for cell B5,  compares the actual value in column B with its rounded counterpart in column D. If they are the same, the assumption (wrong, in this case) is that the value was entered, and the rule applies bold style to the text and a light grey fill to the cell. If they are different, no change is made.
    Note that there's some tedium involved in setting this up, as the rule for each cell uses a different comparison cell, and these must be set (or reset) individually.
    Regards,
    Barry

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

  • Storing a conditional formatting formula in a variable

    I have a conditional formatting formula that exceeds the 393 character limit for Word fields. I've placed the formula directly into the template table, and it works correctly. But now, of course, there are several hundred characters of formatting information in that cell, along with the data field. Not pretty.
    Is there a way to store that long formula into a variable, and then refer to that variable as the conditional format? I'm getting stuck on the right-arrow tags (>). I can't figure out how to include those in the string and store them in the variable.
    Here's a simplified example of what I'm trying to do:
    <?xdoxslt:set_variable($_XDOCTX,'myvar',"<?if:number(Sales) gt 1000000?><?attribute@incontext:color;'red'?><?end if?>")?>
    The inclusion of the right-arrow tags (>) in the string causes a failure when attempting to Preview. If I replace all of the right-arrow tags with something else, like the number 8 ...
    <?xdoxslt:set_variable($_XDOCTX,'myvar',"<?if:number(Sales) gt 1000000?8<?attribute@incontext:color;'red'?8<?end if?8")?>
    ... the string is stored in the variable, and I can refer to it in the template table by using <?xdoxslt:get_variable($_XDOCTX,'myvar')?>. It's useless, of course, but it works correctly. The string is stored in the variable, and the contents of the variable appear in the template.
    So how can I imbed the right-arrow tags in this text string? Use an escape character? Imbed the ASCII code? I'd do either of those in a heartbeat if I could figure out the right syntax.

    Related information is available at:
    Where to put xsl:variable definition

  • Error while processing conditional formatting formula in crosstab

    This conditional formatting formula must return one of the following Color Constants: ' A number, currency amount, boolean, date, time, date-time, or string is expected here. Details: errorKind
    The above error is displayed on the the Business Objects Report Server when running my report.
    The XI server version information is as follows:
    BusinessObjects Enterprise XI Release 2
    Business Objects
    11.5.0.3135
    20060628
    Crystal Reports XI Release 2
    Business Objects
    11.5.0.31327
    20060628
    My IDE is Crystal Reports 2008.
    The error is being generated for the following conditional formatting formula which is in my crosstab:
    evaluateafter ({@concatAppTypeAppMethod});
    if CurrentRowIndex = 1 then
        color(0,153,153)   
    else if CurrentRowIndex = 2 then
        color(168,146,101)
    else if CurrentRowIndex = 3  then
        color(0,51,153)
    else if CurrentRowIndex = 4  then
        color(204,51,51)
    else
        color(153,153,153)
    This formula is applied via the Crosstab "Format Field>Font" tab.  In the report developer (Crystal 2008) the report runs without error.  When deployed to the server it fails with the above error.
    Heres the details of {@concatAppTypeAppMethod}:
    whileprintingrecords;
    "Designs filed " + {Command.APPLICATION_METHOD}
    The crosstab is structured as:
    Row = {@concatAppTypeAppMethod}
    Column = {@getMonth}
    Summary = Count of {@concatAppTypeAppMethod}
    Details for  {@getMonth}:
    right(totext(year({Command.ACN_COMPLETED_DATE}),"#"),2) + totext(month({Command.ACN_COMPLETED_DATE}),"0#")
    The above functions Row i.e. {@concatAppTypeAppMethod} and {@getMonth} use fields from the SQL command. 
    {@getMonth} parses the ACN_COMPLETED_DATE field, obtains the record month and year and concatenates these as a string which can be displayed as follows in the crosstab:
    May-08, Jun-08 etc.
    {@concatAppTypeAppMethod} parses the APPLICATION_METHOD field and obtains the application filing method i.e. Online or Internally and concatenates the pretext "Designs filed " to the filing method (also a string).
    I have tried various combinations of whilereadingrecords, whileprintingrecords and evaluateafter() with no success.  The problem occurs because the conditional formatting formula is being executed before the records being formatted are ready. 
    I believe this is a problem with the crystal reports software and/or XI server. 
    Please prove me wrong.

    Hi Raghavendra,
    Thanks for your prompt answer!  Can you confirm?  Is it because I'm using calculated members in the report and these are not support by the XI server specified in my error report above?
    If so, do you have any suggestions with regard to how I might be able to create a graph with the following attributes:
    Show summary (count) of records per month per application method (i.e. online or internal. this is a database field retruned by the SQL command).  In addition I need to add a series to the graph that shows the totals number of records per month irrespective of the relative application method (i.e. sum of online and internal) and finally I need to show the total number of online applications (i.e. application method = online) as a percentage of the total number of applications for the month.

  • Is there any way to use a formula or reference in conditional formatting

    I would like to use conditional formatting (or something similar) to change either the background color, or text color, of a cell. The conditional formatting in the inspector will allow you to do this using numbers or text as the condition.
    Is there any way to do the same thing using either a formula or cell reference? I have created a budget with two sheets, "Budget" and "Actual". Each sheet has two tables, "Income" and Expenses." In the "Actual :: Expenses" table I would like to be able to change the cell color depending on the difference between the Actual and the Budget corresponding cells.
    I know I can do this by making a new column "Difference" write the formula and enter conditional formatting for that particular cell, but I DON'T WANT TO!!
    Just for fun, is there any way to roll over a cell and have a info box "pop up" that could show me what the difference between the two corresponding cells is. Kind of similar to how when you roll the mouse pointer over a file the box expands to show you the entire name of the file. Not to optimistic about this one.
    Thanks

    PeterVogelpohl wrote:
    Is there any way to do the same thing using either a formula or cell reference?
    Yes, Peter. Purchase iWork 09. Numbers 09 offers conditional format vs. content of another cell.
    Jerry

  • "read from measurement file" reads only first line of data

    Hello,
    I have a problem when trying to read a .lvm file through "Read from Measurements file" with the following block diagram
    Problem: it reads only the first line of data from what I can see in the probe window,.
    A part of the lvm file for reference.
    I haven't used Labview in a long long time, I'm trying to figure out what I am doing wrong.
    Thanks

    Sorry meant to attach the lvm. Here it is. (Actually I had to put it in .txt because the forum wont let me upload a lvm file)
    I unfortunately cannot share the full vi that record the data as I am not its owner/creator. I'll try to give as much info as I can with the relevant pictures attached, I hope it allows us to at least have an hint of where the problem might be.
    (this is in a while loop)
    In the stacked sequence, the other pannels are similar to the one shown here: value read fron a variable, converted to dynamic and a signal attribute is set. The "start recording" control operation is "switch when pressed".
    Here are the properties of the set signal attributes
    And here are the properties of the "write to measurement file"
    Attachments:
    NoTarget_full circle__Rx_-10-SAMPLE.txt ‏60 KB

  • PDF showing only first line of Table?

    Hi @,
    I am showing an input table to PDF using adobe Int Form and in the Adobe screen it is displaying only the first line of the table.
    I am using CE 7.1 SR5.
    Regards

    Hi,
    When the XML interface is generated for the context, for every node that has cardinality 0..n or 1..n, a node named DATA is generated in the XML.
    So if your Webdynpro context has foll structure...
    Node1 ... 1..1
      Node2 ... 0..n
        Attrib1
        Attrib2
    The corresponding XML would be
    Node1
      Node2
        DATA
          Attrib1
          Attrib2
    Regards,
    Reema.

Maybe you are looking for

  • Add photo to existing catalog

    I'm sure this has been asked a thousand times, and if you can just link me to the answer, I would appreciate it. I am using LR3. How can I import additional photos to an existing gallery of images, or can't it be done? I want to shoot a football game

  • Mac mini 2.16 and Dell SX2210 webcam compatibility?

    My dell SX2210 displays well with mac mini 2.16 gig , but won't recognize the SX2210 built-in webcam or microphones. Does anyone know of a driver or method that would remedy this?

  • Quick Question re: .pat files

    Hello:                                                                                                          windows 7 Home  Ps:Cs6 i am just curious about something. some things have recently changed on my computer of which i have no idea why or

  • Nano 6 song list doesn't show all songs actually on disc

    iTunes shows my Nano 6 music library list at 1103 songs, I can see them, play them etc ... eject from iTunes and unit shows only 13 albums w/21 songs Available space  1.8gb I don't get it - this is my 4th iPod - I've never seen this problem before.

  • Dmg file not recognised

    Just downloaded Adobe CS5.5 mastersuite. but dmg image file will not install, error message: Mastersuite_MAC_DMC not recognised