Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
I want to color a specific cell if (for example):
A1 has a value (meaning it is not blank)
B1 has no value (meaning it is blank)
In this scenario I would like to color B1 red.
I want the formula to apply to the entirety of the B-column.
Try clicking Format > Conditional formatting > Custom formula is:
=AND($A1<>"";$B1="")
Apply this to range B:B and select a red colour format
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I would like to add an icon to cells based on rule if another cell contains a value.
Here are cells which I want to format. On the left side I want to add icon in the right side of the cell if the cell in the column Note of the same row contains a value. For Example, "Formale Systeme" cell should have that icon because there is a note "2" in that row.
Here is an example how it should look.
Cells on the left side are D7-D66 and cells on the right side are I7-I66
I found an answer on this site: https://www.ablebits.com/office-addins-blog/2014/06/05/excel-conditional-formatting-icon-sets-data-bars-color-scales/
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
I tried almost everything that I could remember. I have some data like this in an Excel file:
Item 1 Item 2
A1 B1
A2 a2
A3 a3
B2
I want to create a chart that updates constantly with spaces from A1 to G7 that will get this kind of result (kind of like in Battleship):
Any idea how to do this?
You could use a conditional formatting rule like:
=SUMPRODUCT(--EXACT($A2&B$1,Lookup!$A$2:$A$10))
with a fill colour of green, and another one
=SUMPRODUCT(--EXACT($A2&B$1,Lookup!$B$2:$B$10))
with a fill colour of orange.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I have a dataset as below:
I want to apply conditional formatting that will format a cell if the value in that cell is not 100, 50 or 0 (ie I want it to pick up A5 and format it)
I'm new to conditional formatting and haven't been able to figure this out yet. Does anyone have any suggestions as to how I could achieve this?
Remove any previous attempts at a Conditional Formatting Rule.
Select A2:C5 and use Home ► Conditional Formatting ► New Rule.
Choose Use a formula to determine which cells to format and supply the following for Format values where this formula is true:
=not(or(A2=0, A2=50, A2=100))
Click Format and select some formatting change.
Click OK to accept the formatting and then OK again to create the new rule.
You results should resemble the following.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I am required to write some VBA code so that, if I assign it to a command button, by clicking it I should be able to match the color of cells C11 and cell C4.
Suppose I change the color of C11 to red, the color of C4 should change to red by click of a command button or automatically.
Can some one help me with this?
The following code copies the color value from cell "C11" to cell "C4":
Range("C4").Interior.Color = Range("C11").Interior.Color
As long as you work with valid Range-Objects, you can use different types to address the cells as fits your needs. For example the active selection (at least one cell or more):
Selection.Interior.Color = Range("C11").Interior.Color
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have some text AND a date (seperated by a hyphen) in one excel cell e.g. "Anniversary - 12/12/2012"
I want to be able to read the date only and if it is greater than the current date - the cell should become highlighted.
Can this be done via excel functions or do I need to write some VBA?
MC
Mark the area with all values, and chose "Conditional Formatting". Select "More Rules" from "Highlight Cells Rules" and select "Use a formula to determine which cells to format". Put this formula in the rule description field:
=DATEVALUE(MID($A1,FIND(" - ",$A1)+3,10))>TODAY()
Don't forget to chose the formatting options with "Format..."