# Cell Format For Conditional Formatting With A Formula?

Jan 25, 2012
I have a large spreadsheet with a number of columns that are set up for conditional formatting. For example a column of "BUY"'s and "SELL"'s where the "BUY"s are formatted with the default "light green fill, dark green text". I have other columns that are conditionally formatted using a formula. When I base the result on a formula I don't seem to have the option to use the default formats. Is it possible to use the defaults or maybe even how to customize my format to look like the default? It would look a lot better if I had a uniform red/green style throughout the sheet.

View 1 Replies
ADVERTISEMENT
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
Mar 25, 2010

Is it possible to format a cell based upon the format of another cell? For instance, if the cell to the left of a target cell is bold, is there a conditional formatting cell that can be used so that the target cell is bold as well?

View 8 Replies
View Related
Apr 19, 2008

I have set 3 conditional formatting rules where the row from column A to K will change depending on the value on column L.

Selection is equal to A3:K100, conditions are similar to:

- Formula is =$K3="PIP"

Then for formatting I chose WHITE BOLD FONT & BLUE SOLID PATTERN, for example.

Conditional formatting only allows 3 conditions. If this can be replicated

using VBA, then you can set "n" conditions, correct?

View 9 Replies
View Related
Oct 31, 2008

As a pert of a spreadsheet I have 2 columns (M5:N400) of 400 cells deep. Each cell in these columns contains a formula that counts days, when appropriate. They can end up showing a value of blank, a number between 0 and 5, or any number greater than 5. (But very rarely greater than 30)

If the number is greater than 5 then it means that it has exceeded it's target time and I wish to highlight this with conditional formatting (CF). I have a CF on all cells in both columns that says.

If "The cell value" is "Greater than" "5"... then

format the background colour to a pale yellow.

It works, but doesn't work.

If the cell value is 0 to 5 it's unchanged. Good.

If the cell value is >5 it changes. Good.

BUT, if the cell is blank it also changes. Bad!!!

I assume it is because it is looking at the fact that there is a formula in the cell, even though the displayed value is "". So I tried a second level saying that if the cell is equal to "" then no format, but it still changes.

View 4 Replies
View Related
May 20, 2009

I am working with the Conditional Formatting, which is fine for one cell. Here is what I am trying to do: IF cell in $A1 = 1 then bold $B2:$M2 and apply solid line border to top of cell ranges. I have tried conditional formatting but it only formats the cells in column A. And I can't seem to find a BOLD statement for the cell formulas.

View 2 Replies
View Related
May 3, 2014

How can I condition format a cell to show no format if the cell contains a date

Please see the attached book1.xlsx for more info. Book1.xlsx

View 7 Replies
View Related
Aug 27, 2013

This is the most simplest conditional formatting which is working except on some cells. I want to compare two columns cells ex : if A=B , then format A as green.

Its working, the "formula" and "cell value contains" everything except for few cells. Cell B has formula's in it related to other cells. When i enter values in other cells, Cell B computes but A refuses to format "green".

If I just enter same value[ex 1, 1]in both the cells sans formula ,it highlights A green . I want to know , if the formula in cell B is causing the errors in formatting and if it is

View 2 Replies
View Related
Jun 1, 2013

I have a cell that has a conditional formatting of Cell Value< 90 the cell value is based off a formula which is

=LEFT(E48,LEN(E48)-1)

which when it comes out to me less then 90 I need it to color red. But it does not is there something that I need in the conditional formatting to tell that its a number?

View 3 Replies
View Related
Dec 3, 2012

Say I have the following....

12345678910

59465465495652505853

I conditional format the top number which in this case is 65, how do I highlight the number directly above it? Either by another conditional format or some formula that picks the number out. I've tried HLOOKUP and VLOOKUP, but its giving me spurious results.

View 2 Replies
View Related
Oct 21, 2008

I want to set a conditional format to cell A1 with a value in cell P1 When the value in P1 is between 0 and 10 the conditional value in P1 should be set.

Note

cell A1 is also set with a conditional format to put a border around it when there's a value in A1 (cellvalue is not equal to " ")

So the formula referencing P1 would be a second condition.

View 7 Replies
View Related
Jan 16, 2013

I have a large spreadsheet that I would like to indicate the location of the cells (Change cell color or text color) which contain formulas. My thought is that conditional formatting would be the easiest way...

View 3 Replies
View Related
Dec 3, 2012

I have this fairly simple formula which decides whether to shade a cell or not

=AND($X$1<>"TBD",R3<>"None",AC3="Y")

This is set in cell R3 and I want to copy it all the way down the cells in the R column. However, when I copy & paste (and copy and paste using paste special, formatting) the R3 and AC3 cell references do not update to match their relevant rows. eg If I highlight cell R26 the conditonal formatting formula still refers to cell R3 and AC3, not R26 & AC26. I'm using Excel 2010 but I don't recall this happening in 2003.

View 12 Replies
View Related
Dec 17, 2012

I have a file where the cells are all formulas.

Employees are able to key in a number instead of using the number derived from the formula.

I want the cell to use conditional formatting without the use of macros, so it will highlight yellow if the cell is keyed in instead of a formula.

Is this possible? I have tried numerous things, but none seem to work.

Example:

Cell A6 has the number 24,248 derived from a formula.

Employee thinks the number should be 30,000 and keys that number in.

If it is 24,248, I want the number to have no fill, but if it is a keyed in number, I want it to be highlighted.

View 4 Replies
View Related
Jul 24, 2014

I want to create a system based on the value of a cell appearing as a grade in the adjacent cell. The cell could contain any value from -10 to +10.

the criteria would be

value greater than +2 = 3

value between 0 and +2 = 2

value between -2 and zero =1

value below -2 =0

I can get a formula to work for a single instance but not multiple conditions.

View 3 Replies
View Related
Sep 26, 2009

i have a set of conditional formatting set up for my workbook, the first is simply that if the result is false the cell is blank(white text,white background). the second if positive result,keeps the text black till 1 year has passed. the problem is the third, i.m trying to allow the user to blank out the cell within the year (white text,white background)if certain criteria are met. the idea is that they change the entry in cell D from T to TX or from M to MX and the formula pick this up, but i keep getting a error saying "your formula contains an error", the formula im using is, =if(or($D5="tx","mx")) then i set the format to (white text,white background). its probably really simple but i,ve been trying to solve this now for around 8 hours and i.m stuck

View 2 Replies
View Related
May 7, 2009

I need to set up some conditional formatting on my spreadsheet, however I am having a little trouble with one of my conditions. The requirement is:

- if a cell value in column X contains the word "open", format row background to yellow.

- if a cell value in column X contains the word "resolved", format row background to green.

- if a cell value in column X contains the word "moved" OR "closed", format row background to blue.

Now I have manged the first two on my own, using the conditional formatting tool and using the formula "=SEARCH("open",INDIRECT("X"&ROW()))".

However I am stuck on the last one. I tried...

=OR(SEARCH("resolved",INDIRECT("X"&ROW())), SEARCH("closed",INDIRECT("X"&ROW())))

However this doesnt work. I tried looking at adding VB script in but to be honest I am not a VB programmer and cant really spend too much time on this. fix the final conditional format so it run if the cell contains either "resolved" or "closed"?

View 5 Replies
View Related
Feb 9, 2009

I need to run a loop through a column of values (attachment col B) and when it finds a "J" it will apply conditional formatting to a row of 4 cells directly adjacent. The attachment is a theoretical before & after.

View 2 Replies
View Related
Mar 2, 2014

Can I use conditional formatting to determine if a number in a cell is displayed as a normal decimal or scientific?

So a number of 1000 or above will be changed to scientific notation with 4 significant figures.

The conditional formatting just seems to be about colour/shading/icons

View 3 Replies
View Related
Mar 8, 2007

In conditional format I've this formula

=countif($Q$2:$V$2,B2)>0

which will return any matching numbers in yellow.

My question is can I insert that once that row reaches 10 matching numbers the row turns green.

View 9 Replies
View Related
Dec 12, 2008

I have two colums A and B with a lot of data and want to use Conditional Formatting:

Cell Value Is

equal to

=$A$2 $A$352

What formula do I have to use to format all cells (colored) in the colum B with any existing value in between A2 and A352.

THE VALUES ARE WORDS

View 9 Replies
View Related
Jul 5, 2007

I have a range A1:A20. Each cell in this range contains a number between 1 and 100. I'd like to be able to format this range so that the top 3 or largest 3 numbers appear in red.

View 3 Replies
View Related
Feb 5, 2013

how to apply conditional formatting via VBA to a range of cells based on input from another range of cells. Obviously this would be easy in Excel 2010, but I'm still using 2003 at the office and it needs to stay in this format to be readable by other users:

For cells M8:EK8, my conditional formatting

condition 2: Formula Is =AND($E$8>=M2,(($E$8-$D$8)>=(N2-$M$2))), color index is 40

condition 3: Formula Is =AND($F$8<=M2,$G$8>=M2), color index is 39

I want to add:

condition 4: Formula Is =AND($H$8<=M2,$I$8>=M2), color index is 40

condition 5: Formula Is =AND($J$8<=M2,$K$8>=M2), color index is 39

and so on

The cells in the range M8:EK8 are blank, they only get colored based on input added to D8 to K8. If there is no input, then the cells should be uncolored.

resource tracking ex.jpg

View 1 Replies
View Related
Mar 20, 2014

I am trying to apply icon conditional formatting in a cell. The cell contains the following formula: =VLOOKUP(D20,'owssvr(1)'!O:W,9,FALSE The formula results in a "2", "1", "0" or "-1" in the cell. The icon conditional formatting is not working at all (no icon appears). I have the conditional formatting setup as numbers Green 2, Yellow 1,0 etc based on value. If I delete the formula and just type in any of those numbers directly, it works. I have changed my cells to "number" and it still does not work.

View 3 Replies
View Related
Sep 18, 2006

I would like to change the number format of a cell in function of the value of another cell. For example, if A1=1, then I would like the cell A2 to be displayed as a percentage. If A1=2, then would like the cell A2 to be displayed as a number.

View 4 Replies
View Related
May 14, 2008

I have a worksheet with conditional formatting to shade (with the color grey) every nth column using the =MOD(COLUMN(),5)=0 function. I need to manually add cells formatted with various other colors to my worksheet. Some of the colored cells overlay the conditionally formatted shaded columns and the shading shows rather than the colors. I want colors to show on top of the conditional shading.

View 3 Replies
View Related
May 24, 2014

conditional formatting in Excel. I have two columns with pertinent information. I need to know the following and format accordingly:

1. Is the number in column A positive or negative?

2. Is the number in column B less than 0.05 or 0.10?

I would then like Column C to just be highlighted a certain color depending on the combination... there are 5 possible combinations and I would like the cells to be formatted so that:

1. Positive and less than 0.05 - Bright yellow

2. Positive and less than 0.10 - Pale yellow

3. Negative and less than 0.05 - Bright green

4. Negative and less than 0.10 - Pale green

5. This "combo" just means the criteria wasn't meant... which is possible b/c sometimes Column A may have text instead of a number of b/c the number in column B is not less than 0.10. If either of these is true, I want the cell to remain blank.

View 5 Replies
View Related
Mar 26, 2009

I want to format 3 columns in excel depending on certain value from another column.

By example: I have the columns A B C completed with some text. On the column D it will be the numbers 0 or 1. If the number is 0 the background color from A,B,C columns shall be Green, if the number is 1 the color shall be red.

I have tried in conditional formatting with the formula =$D$1=0 but the color of the columns are changing only depending on the value from cell D1. I don't know what is the correct formula. For column A1 I want to check the value from D1, A2 - D2, A3 - D3,...,An - Dn.

View 2 Replies
View Related
Sep 8, 2009

I´m having aproblem with Excel 2007 about Conditional Formatting. I have a row of Dates for example 02-01-2009 03-01-2009 04-01-2009 , etc in different columns.

Then what I want to do is use Conditional Formatting to Format cells on several rows below according to the day (if its weekend paint red, if not, dont do anything). I'm using the "Use a formula to determine which cells to format" and the condition is (supposing the cells with dates are A1 to C1)

=WEEKDAY(A1:C1) > 5 .

So with those 3 dates provided lets suppose Januar2nd is not a weekday, so the outputIwant is: Red White White, (Next Row) Red White White, etc for several rows.

Now what I think is not right is it only works for the row in which I have the cursor so its like: (Lets imagine I selected 3 rows on which I want to see that output) Red White White (The row in which the cursor is works fine), but the next row goes Red Red Red and the third the same.

View 5 Replies
View Related
Sep 9, 2003

Can i copy format from conditional formatting to other sheet or cells?

View 9 Replies
View Related