Set A Conditional Formatting Rule That Makes A Cell Red?

Jan 9, 2014

I want to set a conditional formatting rule that makes a cell red or green depending on if the value in the cell is larger or smaller than the value in another cell +2% or -3%. If neither of these conditions are met no formatting should be applied..

a) In the cell (R104) where the condition is set I have the following formula:
=if(BP104=0;"";BQ104/BP104) (the values in BP104 and BQ104 is retrieved from a database)

b) The conditions I've set in R104 are the following

1) =isblank($R$104) (condition: "nothing")

2) =$R$104<$R$106-0,02 (condition: "red")

3) =$R$104>$R$106+0,03 (condition: "green")

c) In cell R106 the value there is a value of 90%

The conditions seem to work fine when the value in R104 is higher or lower than the conditions set in 2 and 3 above but when the value is blank in R104 the cell goes green, which it shouldn't.

View 6 Replies


ADVERTISEMENT

Conditional Formatting Which Makes The Cell Green

Mar 4, 2009

See attached document. In cell G4 i need a format which will make the cell green, amber or red depending on the values in Cells I7 to I9.

3 Greens = Cell G4 to be green
2 Greens, 1 Amber = Cell G4 to be amber
2 Greens, 1 Red = Cell G4 to be red

View 2 Replies View Related

How To Count Conditional Formatting Rule

Feb 15, 2013

Is there a way to programatically count the amount of conditional formatting rules in a workbook as i have been given a workbook which performs really slowly and the amount of rules seem to be a lot just wanted to count them

View 5 Replies View Related

Multiple Criteria Per Conditional Formatting Rule

Sep 9, 2009

Is there a way color a cell red if the the text is "Z" or a number between 0.5 and 10

Or if the cell contains a "Z" or a "C" ....

View 13 Replies View Related

Multiple Criteria Per Conditional Formatting Rule..

Sep 18, 2009

how to adapt the solution so it would work in multiple cells. Since I was told to start a new thread, here it is. I want to format a cell based on its contents, If it has one of three entries, it should be greyed. I then want to use the conditional format across the whole page, but the solution given in the other thread refers to a single cell, how can I do this without that reference?

View 2 Replies View Related

Check 10 Different Text Values And Return False For All Of Those In The Conditional Formatting Rule

Sep 13, 2007

Allows me to check like 10 different text values and return false for all of those in the conditional formatting rule. When those are not present, the conditional format is true thus applying the format.

I tried
=NOT(FIND("text1",$A$1,1))
It did not work because I believe this statement doesnt give the rule its TRUE value its looking for.

I am having trouble with this, to clarify I need the below...
Cell has conditional formatting checking for text1 text2 text3...text 10ish and if they are present nothing will happen and if they arent present then format the cell.

EDIT: to clarify, the code should look for either text1 or text2 or text3 so on...

View 10 Replies View Related

How To Make Formatting Rule Permanent To Cell

Apr 21, 2014

How do i make a formatting rule permanent to certain cell's.

The steps i followed:

I selected the columns and rows to be formatted. in conditional formatting I selected new rule. then selected the second function, "format only cells that contain" in format only cells with: specific Text , then " ending with" Over Issues.

in format i selected the font and fill.

I saved and close the document, after reopening the rule is no longer working.

View 5 Replies View Related

Conditional Format With More Than One Rule

Aug 29, 2013

I have a table where Sales are in Column B and a % calculation is in Column E. I want to highlight the cells in green that are over 40% and that also meet the criteria where the sale in that row is above $100.

In conditional formatting I tried to use =and(b4>100,e4>40%) but it did not do anything. I am also okay with using a nested if statement.

View 3 Replies View Related

Formula For Conditional Rule To Make Row Change Colour Over Multiple Sheets

Jul 10, 2014

I want to change the colour of rows depending on the letter that is in a column. I want it to do it over all the sheets of the document. In the G column there will be letters like 'W' and 'L' that signify something and I want to make it clear by changing the row colour fill. I've tried a few formulas I found by googling but they didn't work. I should point out that the letters are connected, so if I put a 'W' on the second sheet it appears on the first sheet as well.

View 2 Replies View Related

Conditional Formatting Based On Another Cell Conditional Format

Mar 20, 2013

Is it possible to change the format of cell AI3 based on the format of cell C3 and D3? I have C3 and D3 set to turn red based on what is in cell C2 and D2. I would like the following done:

If AI3=C3 & C3 is red, format AI3 blue
If AI3=D3 & D3 is red, format AI3 blue
Otherwise, leave AI3 unformatted.

Possible???

View 3 Replies View Related

Click On Cell Makes Calendar Pop Up

Dec 27, 2007

I have read through numerous posts, but cannot get one thing to work. I am using Excel 2003, and am trying to get a calendar to pop up, to select a date, and then return that date to Cell B2.

I was successful at making the calendar pop up by the following methods:
1. Added a button to the toolbar, and assigned the Calendar Macro to it.
2. Using VB, added a sub-menu item to the right-click (context) menu, using the code below.

Private Sub Workbook_Open()
Application.OnKey "+^{C}", "Module1.Macro2"
End Sub
However, my goal is to make the calendar appear when I click on cell B2.
I tried using the following code, but when I click on B2 nothing happens.

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Address = "$B$2" Then UserForm1.Show
End Sub
I also tried:

Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Excel.Range, Cancel As Boolean)
With Worksheets(ActiveCell.Worksheet.Name)
If ActiveCell.Column = 2 Then
If ActiveCell.Row = 1 Then
UserForm1.Show
End If
End If
End With
End Sub

View 9 Replies View Related

MouseOver Cell That Makes Apear And Disappear An Image

Dec 15, 2009

I would like to do a routine in VBA on excel 2007 that makes the following:

1- When the mouse is over a cell it pops-up a window that shows a picture;
2- When the pointer is removed from the cell the window that contains the picture closes;
It is very important that the picture that is shown be adressed by a relative path from the folder in which is the excel file.

The pictures can change; this is the reason that the picture should be addressed by a path.

View 6 Replies View Related

Combobox Dropdown Selection Makes Desired Value Appear In Cell

Mar 14, 2012

I have searched and have not been able to find an answer to this question so it might be a little unique possibly. I have an ActiveX combo box that I am trying to do something with. The text that I want to appear in the combo box is already there and I did this by creating a list and referencing it to the combo box. So the combo box has the following four items in its drop down:

Boat
Car
Plane
Walk

Now the part I cannot figure out is how to make a selected value appear in another cell based on what was selected in the combo box. For example, if boat is selected in the combo box, then I want the value 25 to appear in a cell. If Plane is selected in the combo box, I want the value of 100 to appear in a cell. For walk 5, and for car 22. I know this can easily be done with data validation and a validation drop down list but I do not want to use that but need to have a combo box do it instead. I just don't know if it cannot be done as a list or not and have experimented with INDEX but not having any luck there. I do not want to use any macros for this either. Basically I am wondering how I can make my combo box work just like data validation drop down menu bar with formatted values outputted into a cell.

View 3 Replies View Related

IF Rule: Another Cell To State N/a

Jul 8, 2009

Depending on the text entered into one cell, I'd like another cell to state n/a. For example, if cell a2 shows the text of cash, then cell b2 would show n/a.

View 3 Replies View Related

Conditional Formatting From Another Cell

Jan 8, 2009

A1 is not in any pattern colour. But if A1 is changed into, say, Red, B1 will be equils to D5+F5. Otherwise if A1 is changed into Blue, B1 will be equils to D6+F6. Can it been done by Excel 2003?

View 2 Replies View Related

Conditional Formatting In Cell

Jul 7, 2007

I have a conditional format in Cell J3 that has 2 conditions as follows:
Condition 1: Cell Value, Equal to, ="NO", and then the format will color the cell RED.
Condition 2: Cell Value, Equal to, ="YES", and then the format will color the cell GREEN.

I want Condition 3 to turn the cell J3 YELLOW if there is ANYTHING at all or anything above "0" typed into Cell D3.

View 9 Replies View Related

Conditional Formatting - Change Cell Color Based On Date In Another Cell

Oct 9, 2013

I have two columns. In column B is the date of "last check". I column A is the date of "next check". I would like to have cell A2 in yellow color 334 days after the date entered in cell A3 and than in red color 365 days after the date entered in cell A3. Same thing for cell B2 related to date entered in cell B3. Yellow color in cells announces that check will expire within 30 days and red color that check has been expired.

View 1 Replies View Related

Conditional Formatting - Hide Value From Cell Until It Changes

Apr 12, 2014

I have a formula as follows:- B20 is the cell I wish to format. The formular is =B18-400. My problem is I wish to hide the -400 from the cell until it changes.

View 5 Replies View Related

Conditional Formatting Referencing A Second Cell?

May 22, 2014

If the value in column AE falls below 100 it needs to turn yellow. If the value drops below 50 it needs to turn red.

But if the figure in column AB is 0 then i dont want it to do anything at all.

View 2 Replies View Related

Conditional Formatting - Highlighting The Value In Particular Cell Red?

May 29, 2014

how to highlight a particular cell red if the value in one cell is less than or equal to the value in another cell. For instance, How do I make it so that the "Hours to go" cell turns red if the value in the "Actual Last Completion" value is less than or equal to the value of "Last Completed" cell?

View 3 Replies View Related

Conditional Formatting Using Cell Reference?

Jun 3, 2014

i want to calculate percentage between A and B and highlight top 10 values in B.

as of now i am calculating % in C and applied conditional formatting in C. filtering C based on color i am formatting B manually.

is there any option to avoid this manual work.

Total countAlarm reported%
562545%
783545%
322578%

View 3 Replies View Related

Conditional Formatting On Cell Based On Value

Jul 29, 2014

In Excel, I want to do conditional formatting on a cell based on the value of another cell. For example: in cell A1, I have text. I want this cell to have a grey background if the value of cell B1 is less than or equal to 1/31/14 and to have no fill (default) if it is greater than that date.

View 8 Replies View Related

Conditional Formatting - Cell Not Being Highlighted

Aug 25, 2014

In the attached, I want cells to be highlighted red if they're NOT EQUAL to 0. Why is this conditional formatting not working (i.e. the cell is being highlighted)?

Conditional Formatting Example.xlsx

View 5 Replies View Related

Conditional Formatting Based On A Value In A Different Cell?

Apr 9, 2014

I am working in a table where I would like the whole row to highlight based on the value in one of the cells. These rows of data will be updated regularly, so the formatting has to change with the data.

View 13 Replies View Related

Conditional Formatting When Cell Does Not Equal Another?

Aug 21, 2014

This seems way too simple to do yet I can't get it right. It will highlight some that are different and not highlight others that are different. I need to compare column A to O and highlight differences, B to P and highlight difference, and so on.

View 2 Replies View Related

Conditional Formatting If Cell Contains Comments

Oct 3, 2008

Is it possible to use conditional formatting on a cell if it contains comments.

View 2 Replies View Related

Conditional Formatting To Color Cell

May 19, 2009

I am using the following formula on a conditional formatting to color cell A1 based on cell N5 date =$N5=TODAY()-2

The problem is that I need this formula to consider only weekdays, how can apply formula weekdays to my formula?

View 6 Replies View Related

Conditional Formatting With Empty Cell

Jul 8, 2009

I want to use conditional formatting on a column ('A') to highlight cells that do not have a match with any cells in a specific range.

So I've made a range called 'AcceptedData', which contains a couple of cells with text.
Also included a blank cell in the range, since I do not want blank cells to be highlighted.

Then I used this conditional format forumla on column A.

=COUNTIF(AcceptedData;A1)=0

But it doesn't seem to work. The blank cells get highlighted.

View 13 Replies View Related

Conditional Formatting Only Top Line Of Cell

Feb 1, 2010

I have a worksheet with conditional formatting applied. My formula works to change the cell color, font color, and strike-through the font if a "yes" answer is indicated. It all works well EXCEPT that the font color and strike-through ONLY apply to the top line on my cell.

Each cell has a title line, and a few paragraphs in it, with separations between the title line and the paragraphs. I kind of like having the title line a different font, but when it's time to strikethrough I want ALL of the text struck through.

View 9 Replies View Related

Conditional Formatting Of A Row Based On A Value In A Cell Of That Row

Feb 17, 2010

I want to create a conditional formatting based on a cell in a row. If the value of that cell is greater than or equal to $20 the entire row would be highlighted with a color.

the main thing is that the cells in the rows have if formulas that supple the data for the cells. The cells will be blank if nothing is to be displayed but they will still contain the formula.

View 12 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved