How to do relative pasting of conditional formatting?

-I have a table with 5 columns and 220 rows.
-I have a conditional format set up in the first row. The fill color of col 2-5 changes based on col 1 value.
It seems I can't paste the first row's conditional formatting to the other 219 rows without having to go back and edit each row's condition to point to it's own first column.
What am I doing wrong??? It's like the pasting of the conditional formatting isn't doing relative pasting of the condition.
Thanks!

Andrew Stewart4 wrote:
Hi twangy-
I am trying achieve what you seem to have accomplished. i.e. changing the colour of a cell/s based on another cell. How did you do this?
Hi Andy,
I suspect twangy hasn't told us the whole story here, as the conditional formatting of a particular cell cannot depend solely on the contents of another cell.
What it can depend on is the value in that other cell compared to the value in the cell to be formatted.
To apply this colour change to a group of cells often requires the use of an auxiliary cell whose purpose is to take on a value whereby the same condition will be either TRUE compared to all cells in the set or FALSE compared to all cells in the set.
The easiest comparison to use for this purpose is 'greater than' or 'less than' as all that's required for the auxiliary cell is to set its value to something just outside the range if values included in the set of cells to format.
Example 1: I have a row of four cells (B2, C2, D2 and E2), and I want them all to turn red if the sum of the values they contain exceeds the value in another cell (G2).
It can't be done directly, but I can set up an auxiliary cell (H2) with an IF statement to create a value that is greater than the value in any of the cells to be formatted when the sum of their values is greater than G2 or a second value which is less than the value in any of the four cells when their sum is less than or equal to the value in G2.
I can then set the same rule for all four cells: (Apply the format when 'my' value is) Less than   H2
Formula for H2 in this case:
=IF(SUM(B2:E2)>G2,MAX(B2:E2)+1,MIN(B2:E2)-1)
Example 2: If the value in any of the four cells exceeds the value in G2, apply the formatting to all the cells.
As previous example, but formula for H2 is now:
=IF(OR(B2>G2,C2>G2,D2>G2,E2>G2),MAX(B2:E2)+1,MIN(B2:E2)-1)
Note that the two possible values of H2 are the same in both formulas. All that differs is the comparison with cell G2 that determines which value H2 will have.
Regards,
Barry

Similar Messages

  • How to cut and paste subtitles (with formatting)?

    In iMovie '09, once I've formatted a subtitle to look the way I want, how can I repeatedly cut and paste that subtitle so that I don't need to redo the formatting for every subsequent subtitle?
    I realize this is probably trivial once you see it ... but it's not obvious to me. Couldn't find it in Help or in Apple's FindOutHow movie.

    Copying, Cutting, and Pasting in OS X
    You can easily copy, cut, or paste pictures, text, and other items easily using the built-in shortcuts and menus in OS X.
    Copying text
    To copy text, you can either secondary-click the text or use OS X’s built-in keyboard shortcut.
    To copy using secondary-click, first secondary-click the text. Then, select the Copy button from the pop-up menu.
    To copy using the keyboard shortcut, select the text. Then, press both the C and Command (⌘) keys at the same time.
    Cutting text
    To cut text, you can either secondary-click the text or use OS X’s built-in keyboard shortcut.
    To cut using secondary-click, first secondary-click the text. Then, select the Cut button from the pop-up menu.
    To cut using the keyboard shortcut, select the text. Then, press both the X and Command (⌘) keys at the same time.
    Pasting text
    To paste text, you can either secondary-click the text or use OS X’s built-in keyboard shortcut.
    To paste using secondary-click, first secondary-click the text. Then, select the Paste button from the pop-up menu.
    To paste using the keyboard shortcut, select the text. Then, press both the V and Command (⌘) keys at the same time.
    Austin

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

  • 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

  • How do I apply conditional formatting using SharePoint Designer 2013?

    I'm attempting to apply Conditional Formatting to a list view web part via SharePoint Designer 2013, and I can't seem to find the option to do so.
    I've a horrible feeling I'm just being daft, but here's what I've done so far:
    - Created a new page (I've tried both web part and wiki)
    - Added a list "App part" and saved the page
    - Checked-out and opened the page via Designer
    - Clicked the "Edit file" option
    - Selected the XsltListViewWebPart tag
    So far I can't find any options to add it. If I open the Conditional Formatting pane via the View menu it tells me the following:
    > To use conditional formatting, select an HTML tag, data value, or
    > range of text, and then click Create to specify formatting options.
    I've tried selecting the web part tags in all manner of combinations with no luck. In previous version I would have simply selected the previewed data rows in the now-absent Preview pane.
    Am I missing something?

    Create and edit a Wiki Page
    Click Inset > Data View and Select “Empty Data View”
    Click Inside the <DataSources> tags </DataSources>
    Click Insert > Data Source “Your Data Source Name”
    Hold down Ctrl button and select the Rows in the order you want them to appear from your “Data Source Details” Window.
    After the Rows are selected click on the drop down “Insert Selected Fields as…” at the top of the “Data Source Details” Window. 
    Select “Multiple Item View” option (This will create the xsl where we need to add the conditional formatting to)
    Find the <tr> tag that contains the Row Data.  Insert the following right below the <tr> tag:
    <xsl:attribute name="style">
    <xsl:if test="@FieldName = 'Something'">background-color: #FF0000;</xsl:if>
    </xsl:attribute>
    I hope this helps.  I figured this out by using the old 2010 Designer to figure out the where to place the code and how to do this.

  • How to reset a count variable in a conditional format trigger

    I am using a conditional format trigger to eliminate sections of a report where there is no data. The trigger is automatically generated by reports (shown below). the condition is :com_count = '0' therefore no record, no display of section - if :com_count>0 then data present and display record.
    It works fine eliminating the sections - until actual data is found - and count is set to 1 and it displays the record. The problem is that once :com_count >0, then the section displays throughout the rest of the report whether there is actually data or not.
    It seems that :com_count needs to be reset to 0, but when I try to do that, it throws an error stating that :com_count is a read only variable.
    I am new to PL/SQL so can anyone suggest how I can reset the :com_count to 0 each time the trigger fires with :com_count = 1?
    Any help would be appreciated. Thanks,
    Glenn
    The conditional format trigger is:
    function M_G_COM_RANK_GRPFRFormatTrigge return boolean is
    begin
    -- Automatically Generated from Report Builder.
    if (:COM_COUNT = '0')
    then
    return (FALSE);
    end if;
    return (TRUE);
    end;
    The count
    It works perfectly

    wher is your COM_COUNT defined?
    If should be defined in the datamodel in the "mastergroup" of the "detailgroup" of which you want to count the records.
    If you do so, there is a property of the item "Reset at" ( which is by default set to "Report") and you then can change it to the name of the mastergroup. So every time a new record is "active" in the mstergroup, the count-item will be reset to 0.
    hope this helps

  • How to hide a row in BI Publisher using conditional formatting

    Hi,
    I am using BI Publisher 11.1.1.5.0.
    I need to hide entire row based on the condition (if sal > 0 then hide entire row), please can you help on how  can I achieve this?
    thanks

    Hi,
    I've found the solution in
    Report Designer's Guide for Oracle Business Intelligence Publisher Release 11g (11.1.1) Part No. E13881-02 - Section Conditional Formatting.
    thanks

  • How do I copy/paste full numerical-only account strings into the Projects WebADI template when the account segment fields in the template require use of the dropdown because they're formatted as alpha-numeric values?

    How do I copy/paste full numerical-only account strings into the Projects WebADI template when the account segment fields in the template require use of the dropdown because they're formatted as alpha-numeric values? I'm using the Integrator named "Projects - Transaction Import" and a custom Layout created based on the seeded Layout named "Transaction Import - Accounted". Do I need to somehow change my Layout to make the Document accept numerical values instead of requiring alpha-numeric values? I need to be able to populate the Document with a large amount of transactions and cannot feasibly go through every transaction to add the alpha-valued name of the account segment to every segment that requires it. The segments in particular causing the problem are "Expnd Type" and "Organization Name" which are both alpha-numeric and as such contain the segment number and name; I need to be able to only have to enter the Natural Account Number (6-digit number only) and the Organization Number (5-digit number only).

    How do I copy/paste full numerical-only account strings into the Projects WebADI template when the account segment fields in the template require use of the dropdown because they're formatted as alpha-numeric values? I'm using the Integrator named "Projects - Transaction Import" and a custom Layout created based on the seeded Layout named "Transaction Import - Accounted". Do I need to somehow change my Layout to make the Document accept numerical values instead of requiring alpha-numeric values? I need to be able to populate the Document with a large amount of transactions and cannot feasibly go through every transaction to add the alpha-valued name of the account segment to every segment that requires it. The segments in particular causing the problem are "Expnd Type" and "Organization Name" which are both alpha-numeric and as such contain the segment number and name; I need to be able to only have to enter the Natural Account Number (6-digit number only) and the Organization Number (5-digit number only).

  • How can I copy/paste without copying the formatting?

    How can I copy/paste without copying the formatting? For example, if I copy a sentence from a website and paste it on text editing program, it copies all the formatting as well. How can I turn that off?

    There is an app called "No Formatting" in the App Store. It is simple and works perfectly - it strips formatting from paste (Ctr-V). I needed it for Word and Excel, which don't have keyboard shortcuts for this. It can be toggled on and off from the Menu Bar.

  • How do I get past terms and  conditions on my iphone 4

    How do I get past terms and conditions on my iphone 4?

    Hey melba ann,
    Thanks for the question. I understand you are having issues accepting the Terms & Conditions. If you have not already done so, you may want to restart your iPhone:
    iOS: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/HT1430
    You may also want to make sure cookies are not blocked and private browsing is turned off in Settings > Safari (you can also take this opportunity to Clear Cookies and Data):
    Safari settings - iPhone User Guide
    http://help.apple.com/iphone/7/#/iph3d7aa74dc
    Thanks,
    Matt M.

  • Ok so i'm trying to do a conditional format on numbers if (cell a2) = greater than or text then make the same cell or another cell do something. Does anybody knows how to do that on numbers. thanks.

    hi I'm from Italy.
    ok so i'm trying to do a conditional format on numbers if "a cell" = greater than or text then make the same cell
    or another cell do something like insert a number or change color.
    Does anybody knows how to do that on numbers?. thanks.

    Among the things you'll learn from the User Guide:
    Conditional formatting can be used to change the style of the text in a cell and/or the fill colour of the cell.
    A formula may be used to set the value in a cell. In both cases, the format rule or the formula affects only the cell to which the rule is attached or which contains the formula. Neither values or formats may be 'pushed' onto another cell.
    Regards,
    Barry

  • Copy/paste style doesn't work for conditional formatting with cell refs

    I created a conditional format on a cell (B3) that compares its value to the value of a cell above it (B2).
    If I 'Copy Style' and paste that style into the cell beside it (C3), the conditional formatting still refers to B2. If I want to do this for a whole row of cells then I have to manually edit the cell reference in the conditional formatting for each cell.
    Anyone else seen this behaviour? It makes me think of going back to Excel.

    Don't know if you'd consider this a 'workaround' or simply a way to do what the OP asks with as little fuss as possible.
    I created a conditional format on a cell (B3) that compares its value to the value of a cell above it (B2).
    If I 'Copy Style' and paste that style into the cell beside it (C3), the conditional formatting still refers to B2...
    The desire is to have each cell in row 3 formatted depending on a comparison with the cell directly above it. If each comparison is the same (eg, Equal to), and the 'true' action for each is the same (eg. Fill with yellow), the following will save some effort:
    Select the whole row, B3:G3 (or further).
    Set the conditional format rule to
          Equal to | B2
    And the action for Fill yellow.
    Click Done.
    With the conditional formatting dialogue still open, select C3. You may also want to move the dialogue window up to just below row 3.
    Repeat these three steps:
    Click on the B2 reference in the dialogue.
    Click on cell C2 in the table.
    Press the right arrow to move the selection to D3.
    Click on the B2 reference in the dialogue.
    Click on cell D2 in the table.
    Press the right arrow to move the selection to E3.
    etc.
    Regards,
    Barry

  • HT1904 When I try to update the Star Walk app I get a message requiring acceptance of new terms and conditions.  It never stops.  I accept even email myself a copy but I keep getting the same message.  How do I get past the message?

    When I try to update the Star Walk app I get a message requiring acceptance of new terms and conditions.  It never stops.  I accept even email myself a copy but I keep getting the same message.  How do I get past the message?

    The issue should be fixed now. Sorry about that, another Apple snafu but at least a short one.

  • Report generation toolkit conditional format - how to?

    Hi
    We are using the Report generation toolkit (2010 version), and have a question regarding this tool.
    I see functions for setting the number format, but not a conditional format. Does this not exist?
    http://zone.ni.com/reference/en-XX/help/372120A-01/lvoffice/excel_set_cell_format/
    This page refers to an example which from the name sets a conditional format. However as I understand it, this example is setting a custom number, not a conditional format.

    Hi,
    the simplest way to do this I guess you can provide a template for your Excel sheet, where you can set the conditional format there.
    From LabVIEW you can just send the values into this sheet-template.
    Maybe you can try these if you want
    http://forums.ni.com/t5/LabVIEW/Using-conditional-formatting-in-excel-through-LabVIEW-activeX/td-p/1...
    http://forums.ni.com/t5/LabVIEW/Excel-Colour-properties-modified-via-LabVIEW/m-p/573748?query.id=218...
    Regards,
    Yan.

  • How to get session variable value in conditional formatting

    I am trying to format my column according to value of a session variable. Normally when comparing to a static value I select value from add button and write the value. What I want is to be able to do this using a session variable. I select variable presentation and as the variable expression I tried MYDAY, NQ_SESSION.MYDAY, VALUEOF(NQ_SESSION.MYDAY), VALUEOF(MYDAY) but nothing works. By the way it is a date value, I don't know it makes any difference
    Any help would be appriciated

    I am surprised that it is not possible to select a session variable when you want to use conditional formatting. Apparently you can only base conditional formatting on presentation variable or values within a column.
    As a workaround you can create an extra column in your request and use a CASE WHEN statement, where you compare the value of the date with the session variable. Then you can base your conditional formatting on that column.
    Regards,
    Stijn
    Message was edited by:
    Stijn Gabriels

Maybe you are looking for

  • TS2690 iTunes was unable to load data class information from Sync Services reconect or try again later

    My Ipad (iPad Air - iOS 7.1.2  and Ipad 2 - iOS 7.1.2) can't sync with itunes. It said: "iTunes was unable to load data class information from Sync Services reconect or try again later". I already reset sync history but it didn't work. They are not j

  • Purchase Order Cost Getting Changes Automatically

    Hi All,         We have developed an application which works as a bridge between two applications and we are taking data from other application and transferring the same to SAP B 1 using DI API provided by SAP we are having 2007 PL10 and we are facin

  • How to i retrieve files from a broken mac

    hey cool cats, my macbook from late 2010 is a bit buggered. I have had a look online, but I can't seem to find quite what I'm after. when I turn it on, I get the grey screen/apple symbol screen, and it will turn off after ten seconds or so. it was la

  • Final Cut Pro X Keeps Crashing

    So at first I just installed FCPX and I was in the middle of edditing when I got the whirley beachball of death and it froze so I forced quit then I tried to reopen and it the WBBOD came up again and it quit unexpectadly it happens everytime I open F

  • Credit control area field not appearing in XD02

    Hi In my ZDOM customer account group, i have made credit control field as mandatory. Hence it appears in sales area data when i create customer (i.e. XD01). When i do XD02 (to change credit control area), credit control area is getting hidden. Its no