Solved

Conditional Formatting - one cell value, format whole row

Posted on 2011-02-24
4
547 Views
Last Modified: 2012-05-11
Hi,

I have a spreadsheet whereby I want the whole row to be one colour based on the value of a cell within that row. I have tried using a conditional formatting formula such as:

="IF($A1=""Yes"",TRUE)

But it doesn't work, what am I doing wrong?

Thanks.
0
Comment
Question by:inforr
  • 2
4 Comments
 
LVL 24

Accepted Solution

by:
broomee9 earned 125 total points
ID: 34970084
Try this:

Select the row, then click Format --> Conditional Formatting.  Select Formula Is and enter this:
=$A$1="Yes"

Then click Format to format to the color you want and click ok.
0
 

Author Comment

by:inforr
ID: 34970096
Bingo! Thank you - knew it was simple!!
0
 
LVL 50

Assisted Solution

by:barry houdini
barry houdini earned 125 total points
ID: 34970139
If you want to copy the conditional formating to other rows so that the formatting depends on the column A value in that particular row then you should only retain the first $, i.e. use

=$A1="Yes"

Otherwise every row will be formatted according to A1

regards, barry

0
 
LVL 24

Expert Comment

by:broomee9
ID: 34970313
No need to delete this question, just click Accept on the solution you want to accept.
0

Featured Post

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question