Solved

Conditional Formatting for formatting whole row based on partial text

Posted on 2011-02-25
8
343 Views
Last Modified: 2012-05-11
Another conditional formatting question....

I want to highlight the whole row when column H shows the the word "implemented". I tried to use the Format Cell if Text is X, but it only formats the cell with the one in it and not the whole row.

Also tried doing the formula =$H5="implemented" but it doesn't work.

Any ideas?

Thank you in advance
0
Comment
Question by:squirrelzan
8 Comments
 
LVL 4

Assisted Solution

by:racastillojr
racastillojr earned 50 total points
ID: 34980677
You have to put that same condition to all the cells in the row you want highlighted. Once you do it for on row you should be able to paste the formula to the other cells.
0
 

Author Comment

by:squirrelzan
ID: 34980755
I have to do it for all the rows? I have like 100 rows and the columns go up to H.

I thought that if I highlight the whole table before I click on conditional formatting, it will put that condition to all cells?
0
 
LVL 50

Expert Comment

by:barry houdini
ID: 34980757
Why "partial text"? If there is other text in H5 as well as implemented, e.g.

"Implemented next month" and you want to highlight that row in such a case try

=SEARCH("Implemented",$H5)

As racastillojr says, you need to apply that to the whole row (or rows)

regards, barry
0
 
LVL 92

Assisted Solution

by:Patrick Matthews
Patrick Matthews earned 50 total points
ID: 34980771
1) Click the box in the top left of the worksheet grid to select all rows/columns

2) Create a CF formula-based rule using:

=$H1="implemented"

3) Choose your formatting
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 50

Expert Comment

by:barry houdini
ID: 34980773
Yes, you can do all the rows at once but you must all select all the columns, are you doing that? E.g. if your table is in A5:K100 then select that whole range then apply the formula that applies to the first row of the table

regards, barry
0
 

Author Comment

by:squirrelzan
ID: 34980923
Please see attached my spreadsheet that I am trying to implement that CF.

Not sure where I am going wrong....
Book-1.xlsx
0
 
LVL 50

Accepted Solution

by:
barry houdini earned 400 total points
ID: 34981002
You can't use this formula

=$H5="implemented"

that only works if the "implemented" is the entire text in the cell. For partial text you need to use the version I suggested above, i.e.

=SEARCH("Implemented",$H5)

I selected the range A5:H10 and applied that formula, extend the range downwards if you need to

see attached

regards, barry


cf-barry.xlsx
0
 

Author Comment

by:squirrelzan
ID: 34981032
Barry

I see my error... the cell reference after "implemented" should be the cell where the word is going to appear in.

Thank you so much for all your help.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

PaperPort has a feature called the "Send To Bar". It provides a convenient, drag-and-drop interface for using other installed software, such as Microsoft Office. However, this article shows that the latest Office 2016 apps (installed with an Office …
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

930 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now