# Excel 2013 :: Extract Cell Value If It Has Conditional Formatting Color?

Mar 26, 2014

I have been trying to make a macro to automatically calculate the quantity I need to increase or decrease our purchase orders.

example.jpg

As the On Hand quantity decreases I have set conditional formatting to determine how much we should order according to a percentage of the Stocking Level and turns the desired cell yellow. For each row the macro would need to identify which cell in columns L through O is yellow from conditional formatting, use that value and subtract the On Order quantity, then put the result in the Adjust PO Qty (+/-) column so I know how much to decrease the order if negative or increase if positive.

## Excel 2013 :: Conditional Formatting From Color Code Table?

Nov 20, 2013

In the attached example, you will find column C which has a bunch of qualitative results. Also, in the file or worksheets, you will find Table A which has a color code range.

I would like to have a conditional format down column C that will reference Table A, regardless if it's on in the same worksheet or on another worksheet within the same file?

Using Excel 2013

## Excel 2013 :: Conditional Formatting For Image?

May 12, 2014

What I'm looking to do in Excel 2013 is have it so a specified cell loads an image based on the results of a range of cells.

For example:
If cell B1 = red
and cell B2 = up
and cell B3 = yes
then cell A5 shows image X.

But then have it be comprehensive enough to do
If cell B1 = green
and cell B2 = down
and cell B3 = no
then cell A5 shows image Y.

My hangups are trying to get different images to load in the same cell. Also, all the examples of this I've found are pulling from one cell where I need it to display an image based on the results of multiple cells.

## Excel 2013 :: Conditional Formatting - When Set B3 To Closed Nothing Happens

Aug 13, 2014

I have a row of data in Excel 2013 that is roughly as follows :

Cell A2 - Date || B2 - Status || C2 - Description || D2 - Estimate Time || E2 - Comments

Cell B2 is a pick list of statuses --> Open || In Progress || Closed

The conditional rule I want to create is one where if B2 = 'Closed', format the text of the entire row (cell A2 to E2) to turn light blue.

I was successful in doing this --> basically highlighted A2 to E2; conditional formatting; new rule; use formula; \$B\$2 = "Closed"; format text color blue.

When I do this, now when cell B2 = Closed, the line turns blue.

The issue is I want this condition to apply to row 3, 4, 5, 6, 7 etc ... basically a multi-row list.

I highlight the cells (A2 ~ E2) and then grab the bottom right corner of E2 and drag down 5 rows (creating row for A3 / A4 / A5 / A6 / A7).

The issue is when I set B3 to Closed, nothing happens; likewise for B4 or B5 etc ...

When I set B2 to Closed, it changes itself and all the rows below to light blue.

This used to work in earlier versions of Excel, but I can not see to get this working in 2013.

## Excel 2013 :: Conditional Formatting Twice And Over A Range?

Dec 26, 2013

Using Excel 2013.

I have two columns of numbers. For a row, if the right number is greater than the left number, then color it green, if it is less then color it red.

e.g.

A1 = 100 B1 = 101, then B1 gets colored green
A2 = 100 B2 = 99, then B2 gets colored red

etc.

I have clicked on conditional formatting with A2 selected, then chose A1 for values greater than and chose green. I then copied the formula for all rows. I then did the same for values less than and chose red.

It is not coloring the cells correctly. On some rows when B

## Excel Conditional Formatting (Color Cell Based On Their Values)

Dec 29, 2013

Here i want to color my cell based on their dates for example : 01-Jan-2014 to 10-Jan-2014.

For the respective date i want to color my bars from G10 to P10.

## Excel 2003 :: Conditional Formatting For Currency Symbols And Cell Color

Jun 15, 2011

I am using excel 2003. I need to conditional formatting for the following:

Based on the column A, if it is USD, the next column show \$ and the cell in blue

If it is JPY, the next column show Yuan sign and the cell in green
If it is Euro, the next column show Euro Sign and the cell in yellow.

How to make that happen?

## Conditional Formatting - Cell Color Based On Range Of Cell Color

Aug 9, 2013

Summary of performance of various products against target is as follows,

Product vs Target
Color Code
Result

CH4OH
Green
1.0

[Code] ........

I need the final result automated as follows,

If 2 green of the 4 products, then final result Gree
If 2 Amber of the 4 products, then final result amber
If 2 Red of the 4 products, final result Red

Is there a way to automate this?

## Excel 2007 :: Conditional Formatting - Assign Each Prg Its Own Color On Total Tab

May 25, 2012

I am trying to create conditional formatting in Excel 2007 that is beyond my abilities.

I have 6 rows. The first row is a sum of all the others. Example here:

prg 1 prg 2 prg 3 prg 4 prg 5
Total
4 1 2
10 10

I would like to assign each prg its own color on the total tab, and if it spans multi programs a separate color all together.

## Excel 2007 :: Row-wise Conditional Formatting On Color Scale

Jan 14, 2014

I need to color format several matrices of about 1000 rows each in order to find a pattern. Each row needs to be formatted on a color-scale so that the maximum value in each row has the darkest color and the minimum value has the lightest, while others are lighter according to their weight. It can be done on a single row, but it does not work for multiple rows at once. I have tried format copying and range options but it takes the maximum and minimum for the whole range rather than individual rows.

I'm wondering if it is possible to do it for multiple rows while the criteria of maximum and minimum applies to individual rows.

## 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?

## Conditional Formatting Cell Color

Jun 22, 2006

I am trying to write a VBA code to color cells.

In Column I

I need a formula to change the color of the cell based upon the following criteria

In cell I3, if J3>7 change color to teal, if H3<\$A\$1 color cell red, if J3<7 color cell yellow, if J3="COMPLETE" color cell grey, otherwise do nothing.

## Excel 2013 :: Making Numbers Display With Color Based On Text Inputted In Different Cell?

Nov 20, 2013

EXPENSE MASTER 2013 sample color.xlsx

I have numbers that will display in column G. I have payment types entered in column E. So if 'C FUEL','FA','C M/C', is entered in column E I want the number in column G to be red.

## Conditional Formatting To Have Cell Shaded Certain Color?

Jan 16, 2014

Is there a way in conditional formatting to have a cell shaded a certain color based on the value of another cell in that same worksheet?

## Conditional Formatting: Change The Cell Next To It A Color

Oct 25, 2007

I would like to be able to put a value into a cell. By doing this I would like another cell next to it to turn a color. With that said, is it also possible to format a cell with several possible scenarios in one formula to be able to change the cell next to it a color?? Example is this lets say Cell B1 could have the letters, A B C D or E entered. So that the Cell A1 turns say the color Red.

## Conditional Formatting - Fill In Color To Cell?

May 13, 2013

I have 10 rows of 6 numbers, all between 1 & 49, in the range A1:F10. I also have the range A20:AW20, which are all currently blank cells. When I type a number between 1 and 49 inclusive into the range A20:AW20, any number that matches it in the range A1:F1 I want the cell to fill in colour.

## Conditional Formatting :: Color A Cell If It's Divisible By 10

Oct 30, 2009

Is it possible to use conditional formatting to to turn a cell red whenever the value in the cell is divisible by 10 ?

## Conditional Formatting - How To Make Cell Shade A Certain Color

Apr 5, 2012

How do I make my cell shade a certain color? For example, green if >90%, yellow if >70% and red if

## Conditional Formatting Based On Color Or Text Of Another Cell

Jun 14, 2013

1 2 3 4 5 6
1
2 x x x x
3 x x
4 x x
5 x x
6 x x

Assume that is the table i have. In row 1 i need conditional formatting such that if any of the columns contain an x the first row should be color coded. In my above example every column in row 1 will be color coded expect for row 1 column 6 since there are no x's for any any row in column 6.

How can i do this in excel.Also instead of x's if i have manually entered color can we do the same ?

## Conditional Formatting :: Change Font Color Of Cell

Mar 5, 2007

Cell B157 is changed by checkbox 1= TRUE, 0 = FALSE
Cell H1 and Cell H2 are percentages changed by the user.

Range(AI8:AQ8,AI12:AQ12,AI16:AQ16,AI20:AQ20, etc) each cell in the range contains a formula, and is protected from the user.

I need the contents of each cell in the range to change font color (independent of each other) when the formula of any of the cells within the range changes - to the following

If B157 = 1

Cells < H1 (a percentage changed by user), would turn Red
Cells > H1 but < H2 (a percentage changed by user) would turn Yellow
Cells > H2 would be Green

If B157 = 0

Cells < H1 (a percentage changed by user), would turn Green
Cells > H1 but < H2 (a percentage changed by user) would turn Yellow
Cells > H2 would be Red

I need it to fire whenever the value of one of the cells in the range changes.

I have tried If statements, Select Case, and a combination of both but just can't get it!

## Conditional Formatting - Cell To Change Color When Apply Specific Value

Dec 4, 2012

I know how to set a conditional for a cell to change a color when i apply a specific value, but how about if i want to set E2 cell to change to green when i place a 'X' on F2?

Pretty much I want 2 columns that say Yes and the Other No. When i place a X on Yes that other cell turns green, if i place a X on No that other cell turns red.

## Conditional Formatting - Highlight Color Of Text In Particular Cell Depending On Value

Dec 22, 2013

I would like to know the formula to highlight the color of text in particular cell if the value of the particular cell ( value is text ) is so and so.

For Ex: If the J6 is "Vacation" then the J1 text should be in red color.

## Get Conditional Formatting To Change The Cell Color Based On A Few Conditions?

Jul 19, 2013

I'm trying to get conditional formatting to change the cell color based on a few conditions.

I want the cells in column D to turn red if;

- The number in column B has a match in column A

- And the corresponding cell in column C is not blank

- And the corresponding cell in column D is blank

In the example below, cell D4 should be red

If there's a match (Column B to Column A) and;

- If cell in column C is not blank and cell in column D is not blank, do nothing.

If there's a match (Column B to Column A) and:

- If cell in column C is blank and cell in column D is blank, do nothing.

Here's the formula I attempted but didn't get it to work.

IF(AND(C2"",D2=""),MATCH(B2,\$A\$2:\$A\$15,0),IF((AND(C2"",D"")),"",""))

## 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.

## Changing Cell Text Color WITHOUT Using Conditional Formatting Based On Finding Keywords

May 29, 2012

I have a spreadsheet that uses VB macros to calculate sums of cells based on the font color of the numbers inside. It used to be fairly easy going through each cell and "classifying" them by color, so that my macros can go ahead and sum the numbers in each respective color's cell... but now I have a huge amount of numbers and would like to automate the process somewhat. Here's an example using the A and B columns:

flight \$400
hotel \$150
hotel \$130
meal \$20
meal \$15
flight \$350

I tried using conditional formatting to automatically change the color of the adjacent cells based on the presence of a keyword such as "flight" or "hotel", but this change is only cosmetic, and doesn't actually change the font color (it is still the default black, hence why my color-summing macros won't work!).

I'm including a sample macro for what I use to color-sum my cells, but what I am looking to automate the color-coding process based on looking for keywords as explained above in my example. Here is one of the working color-summing macros (for red, in this case) if you'd like to use it as a reference:

Function SumRed(SelectedCells As Range)
' Adds the values of the cells where the font colour is red(3).
Dim Cell As Object
Dim x As Double

[Code] ...........

## Conditional Formatting - Change Value Font Color In Cell Based On Matching Text?

Jun 26, 2013

Via conditional formatting, I am searching to change the color of a specific word in a cell (not the color of everything in the cell, but only that specific word - and the word repeats in the cell). A function such as =isnumber(search("NOK";A1)) colors all the cell values, which I do not want to do. How i can perform this task?

## Row Conditional Formatting: Different Fill Color (same Color For All)

Apr 8, 2009

I want every even row that has a value in it to have a different fill color (same color for all). how to do it? I am using 2007.

## 2 Color Conditional Formatting Color

Dec 18, 2013

I have a column of student grades & accumulated credits.

1.) I would like to apply a CF formula which turns the cell GREEN when a score is above 65 else RED below 65.

2.) Also I would like to turn another cell GREEN if a student has accumulated the required # of credits listed in another cell else RED.

## Excel 2013 :: Conditional Count If Formula

Apr 4, 2014

I am working in Excel 2013.

My objective is to count the number of "Horizontal-Horizontal" entries in Column D for a specific value in Column C, BUT (and this is where I am lost), taking into consideration only unique values in Column A.

So, for the highlighted red entry in my spreadsheet sample below, there are 2 entries of Horizontal-Horizontal for Column C value A2961. BUT since, Column A entries for A2961 are duplicates, I want to return a value of 1. Hope this makes sense.

This is my formula that is working for the first part of the equation. I need to add something to it to condition the count based on unique values in Column A.

=COUNTIFS(\$C\$2:\$C\$101192,C2,\$D\$2:\$D\$101192,"Horizontal-Horizontal")

A
B
C
D
E
F

4229532326
HORIZONTAL
A1657
Vertical-Horizontal
A1620
0

[Code] .........

## Excel 2013 :: Formatting Charts On Protected Sheet

Aug 12, 2014

I am gaining an error in my code due to the sheet being protected.

I cannot seem to get the correct code to allow for the code to still run, while the sheet is protected.

[Code] .....

I tried protecting the sheet via:

[Code] ....

But I still get an error.