HOW TO COPY A CONDITIONAL FORMULA TO ANOTHER CELL eg A1 to A2 AND SHOW 2 INDEPENDENT RESULTS, eg A1 is true adn cell turns yellow colour adn A2 is flase adn turns to green colour

Lawrence Lee 0 Reputation points
2026-11-23T03:49:08.08+00:00

i want to copy conditional formatting for cell A1 to A2.......A10, A1 CELL has value =+"TRUE", A2 has cell value of "false". If true i want colour to be yellow, if false i want to show green colour, I Don't want to create the formula for each cell.

i already ahve formual in A1 for the colour formatting but i cant copy to another cell as the fornula remains the same even though I have remove the $A$1 to just A1 in the cell refernce

Microsoft 365 and Office | Excel | For home | Windows
0 comments No comments

2 answers

Sort by: Most helpful
  1. Marcin Policht 113.8K Reputation points MVP Volunteer Moderator
    2026-11-23T04:23:40.0966667+00:00

    You do not need to create a separate formula for each cell. You need to change the Applies to range in Conditional Formatting so the same rule applies to all cells A1 through A10, while the formula uses a relative reference.

    Select A1:A10, then go to Home → Conditional Formatting → Manage Rules. Edit your existing rule and change Applies to from =$A$1 to =$A$1:$A$10. The formula should use a relative row reference, not an absolute one.

    For example, create two conditional formatting rules using Use a formula to determine which cells to format:

    Yellow when TRUE: =A1=TRUE

    Green when FALSE: =A1=FALSE

    Set the appropriate fill color for each rule.

    Make sure that the formula references A1 without dollar signs, while the Applies to range is $A$1:$A$10. Excel automatically evaluates the formula relative to each cell in the range, so A2 evaluates A2, A3 evaluates A3, and so on. You only need to create the two rules once.


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin

    Was this answer helpful?

    0 comments No comments

  2. AI answer

    2026-11-23T03:49:47.9033333+00:00

    Apply two conditional-formatting rules directly to the entire range A1:A10, using A1 as the relative reference and $A$1:$A$10 only as the fixed Applies to range.

    Configure the two rules

    1. Select A1:A10.
    2. Go to Home → Conditional Formatting → Manage Rules.
    3. Set Show formatting rules for to This Worksheet.
    4. Remove or replace the existing A1-only color rule.
    5. Select New Rule → Use a formula to determine which cells to format.
    6. For the yellow rule, enter:
         =A1=TRUE
      
    7. Select Format → Fill → Yellow, then select OK.
    8. Create a second rule with:
         =A1=FALSE
      
    9. Set its fill to Green.
    10. In the Rules Manager, set Applies to for both rules to:
       =$A$1:$A$10
    

    Excel requires a conditional-formatting formula to return TRUE or FALSE. A relative reference such as A1 adjusts for each cell in the applied range, whereas $A$1 always checks A1.^1^ ^2^

    The Rules Manager may continue to display A1 in both formulas. That is expected: A1 represents the top-left cell of the Applies to range. When Excel evaluates A2, the relative reference becomes A2; for A3 it becomes A3, and so on.

    If the cells contain text rather than logical values

    If A1:A10 contain the literal text "TRUE" and "FALSE" instead of Excel’s logical TRUE/FALSE results, use these rules instead:

    =A1="TRUE"
    
    =A1="FALSE"
    

    Do not include a leading apostrophe in the conditional-formatting formulas. To identify the cell type, select a cell and inspect the formula bar:

    • =some_test returning TRUE or FALSE: use =A1=TRUE and =A1=FALSE.
    • Literal text such as TRUE, entered or returned as text: use the quoted versions.

    The dollar signs in Applies to are correct because the formatted range should remain fixed. The cell reference inside each rule must remain relative so every row produces an independent result.


    References

    1. [Windows](https://support.microsoft.com/excel/use-conditional-formatting-to-highlight-information-in-excel#use-a-formula-to-determine-which-cells-to-format)
    2. Switch between relative, absolute, and mixed references
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.