Conditional Formatting Based On Two Ranges

Aug 13, 2013

Any way write a conditional format formula to shade a cell based on two ranges.

Here is what I need:

cell b4 should be colored in if n4:xfd4 = today's date AND n3:xfd3 = "Time Off". The part I am having trouble with is that it should only shade if today and time off are in the same column.

Here is an example:

This one should shade B4(note: Today is 08/13/2013):

time off
late

08/13/2013
08/10/2013

This one should not:

late
time off

08/13/2013
08/10/2013

This is what I came up with so far, but it shades the cell if either show up in the entire range:

=AND(MATCH($G$1,$n$4:$XFD$4),MATCH($H$1,$n$3:$XFD$3),1)
Note: g1 contains =today() and h1 = "Time off"

So formula is wrong.

View 5 Replies


ADVERTISEMENT

Conditional Formatting Based On 5 Named Ranges

Jan 6, 2010

i edited this thread becuase I realized why I was getting the wrong results, however, I am completely clueless on how I need to accomplish the task below.

I need to apply formatting based on five named ranges on another sheet. if the values in cell F1:F1000 appears in the named range "datestore" and the corresponding value in range h2:h1000 appears any of the named ranges "date1" through "date5" I would like it to fill the cell yellow.

View 8 Replies View Related

Conditional Formatting That Will Adjust Based On Percentage Ranges

Sep 29, 2011

I need to have a conditional format that will adjust based on percentage ranges.

1% to 25% would be shaded red
26% to 50% would be shaded Orange
51% to 100% would be shaded Green

I was hoping to reference another cell and have the formatted cell reflect the conditional format. I dont think that's possible, so I can include a percentage in another cell and have that highlighted.

View 9 Replies View Related

Conditional Formatting Among 2 Arrays / Ranges?

Apr 26, 2013

I am trying to apply conditional formatting to the range K60:R82 based on their corresponding cell in the range K87:R109 (the arrays have the same size). If each cell in the first range is greater than their corresponding cell in the 2nd range, then the cell in the first range should be formatted with pink fill and red text.

View 2 Replies View Related

Copy Conditional Formatting Between Ranges

Mar 6, 2008

In Excel 2007, is there a way to copy a conditional format from one cell to a range of cells. My conditional format is comparing the value of one cell say A1 to B1, and formatting the cell if the value is different. How do I copy this format to also compare A2 to B2, and C2 to D2 etc.

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

Formatting Unknown Ranges Based On Contents Of A Column

May 19, 2009

i can't seem to figure this one out.

I attached a file showing how i am trying to format data (the second tab).

The big issue is the counting to format. (the formatting itself is obviously easy.)

The number of columns is not always standard so i need to count for it.

the number of rows in each "room number" is also not always standard, which means i also need to count for those.

If anyone has had experience trying to do something like this i would appreciate the help.

i know it is possible because i had one that someone had given me years ago, unfortunately i lost it in a hard drive failure...also years ago.

if it isn't obvious what i am trying to do, let me know and i will try to be clearer.

View 9 Replies View Related

Sum Based On Conditional Formatting?

Feb 2, 2012

I currently have a spreedsheet which has a conditional formatting cell where if the figure is above 1 is green and below red what i am trying to do is get a sum to calculate based in its color?

I.E. I have a value in cells F7+F25+F27+F29 i then have a value in F17 but only want this to be included in the total calcualtion if the figure in E15 is equal/above the value of 1.

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 Based On Another Cells Value?

Aug 18, 2014

On the attached worksheet I'm looking for the squares in F4:F6 to be coloured corresponding to the colour names in D4:D6 using conditional formatting. I just can't get it to work today.

View 1 Replies View Related

Conditional Formatting Based On Cells?

Mar 30, 2014

I have a worksheet which has the years 2001 to 2013 on in row1. I am trying to find a way of highlighting the entire row in green if a specific year contains an "a" (Marlett, tick). The complex part is that I would like the specific year to be determined by an entry input into cell A2 on sheet 2. See Attachment for reference.

View 2 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 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

Conditional Formatting Based On Value Of Another Cell

Jun 4, 2012

I want to format a cell conditional on the value of another cell. I have read numerous threads on the topic and no matter what I do, it doesn't seem to work for me. I've made it a simple as possible by creating a new workbook and entering:

A1: 5
B1: 2
C1: Some random text - this cell has the conditional formula: ="A1>B1"

However, the cell doesn't get formatted. Here is a screenshot and here is the simple workbook.

View 7 Replies View Related

Conditional Formatting Based On % In Other Cell

Feb 15, 2013

I want to color format a cell based on a percentage value in another cell but I just can't get my head around how to solve it. I've attached a file that explains it better.

E.g.
The formatting for A1 should be something like:
If A2 is
> +/- 10% RED
+/- 6-10% YELLOW
+/- 5% GREEN

Attachment 214464

View 6 Replies View Related

Conditional Formatting Based On Percentage

Oct 5, 2013

I need a conditioning format formula. If cell A2 is less than 50% of cell A1, then highlight red.

View 2 Replies View Related

Conditional Formatting Based On Several Conditions

Oct 11, 2013

I am trying to do some conditional formatting to highlight rows based on several conditions, I don't know if this is possible, but these are the criteria:

AAPL
tt
10/1/2013 11:14:15

GOOG
ll
10/1/2013 11:14:20

[code].....

I want to highlight a row if:

- the difference in time value is < 20 seconds

- the first symbol column is the same

- at least one, but not all of the rows meeting the above criteria contains a value in the second column from a given list (in this example, say tt is on this list)

So if done properly the logic would highlight the first and third rows, but would highlight none if none of the values in column two match my list.

I think the test criteria would go something like this, however I know that there are problems with my row references.

=and(abs($C2-$C3:$C65536)<0.0003,$A2=$A3,match($A2,Sheet1!A:A,0)>0)

View 2 Replies View Related

Conditional Formatting - One Cell Based On The Value Of Another

Jan 6, 2014

I am attempting to apply conditional formatting such that cell B3 is green if it is greater than or equal to cell B2, and red if less than cell B2. Then to apply this conditioning across the row of data (i.e. C3 >= C2 green, C3 < C2 red; D3 >= D2 green, D3 < D2 red; E3 >= E2 green, E3 < E2 red ... etc.). Needs to be formatted such that if I change the value in cell B2, the colour of B3 is automatically updated.

View 4 Replies View Related

Conditional Formatting Based On Value In Another Column

Feb 17, 2014

I have a value in column H7 as 2000.

I have columns M to X labeled Jan to Dec. I want to highlight in yellow values in the row M7 to X7 if they are greater than 2000!

Then, I need to copy this conditional formatting down the columns under M to X, but under column H the values will be different, but I still want the same results, values greater than the value under column H then highlight in yellow.

I thought I had the answer but when I tried to copy down, it was making cells yellow that were clearly less than the column H value.

View 5 Replies View Related

Conditional Formatting Based On Two Criteria (Using VBA)

Apr 7, 2014

how to create VBA code for conditionally formatting a column of dates that have expired. My unique challenge is that I first need to associate the item attached to the date with the expiration date of a particular group. Therefore, I have to first match the Item label with the appropriate group, and then I need to evaluate the expiration dates of both the Group and the Item. If the Item expires before the Group expires, then I need the Item date to be formatted in bold and with a red font.

Attached is a sample spreadsheet.

Thoughts about how to accomplish this with VBA? By the way, VBA is the necessary approach due to the fact that the data is updated several times per day, and all existing data is erased prior to uploading new data.

View 2 Replies View Related

Conditional Formatting Based Upon Various Dates

Oct 7, 2008

I have a spreadsheet I'm trying to make which will have various cells change color based upon the date entered compared to today's date. Here are the details of it, and what I've tried to do so far:

Various safety tickets that employees acquire have a 3 year expiry date on them. What I want to do is be able to enter in the issue date, and then have the conditional formatting color the cell that contains the date based on the following criteria:

Green = More than 6 months remaining
Yellow = Between 6 months and 30 days remaining
Red = 30 days until expiry

Black = Expired (I wanted to eventually add this one, but Excel 2003 was only allowing me to add 3 conditional formatting conditions, so I just went with the 3 colors. I'm getting Excel 2007 later today, so I might be able to add more with that)

Now here is what I have so far:

3 years = 1095 days, 2.5 years = 913 days, 2 years and 11 months = 1065 days

N3 = 913
N4 = 1065

Conditional Formatting on cell C21

Condition 1 - color Green

=$C21+$N$3>=TODAY()

Condition 2 - color Red

=$C21+$N$4<TODAY()

Condition 3 - color Yellow

=AND($C21+$N$3<TODAY(),$C21+$N$4>TODAY())

View 3 Replies View Related

Conditional Formatting Based On Now Formula

Feb 19, 2010

My attached spreadsheet is for tracking when certain tasks were completed on each case and figuring the number of days that it takes to complete these tasks.

The task I am needing help in formatting is the Corrections Received field (column E). We need to track the cases that do not have corrections received within 7 days of the changes being requested (Out for Corrections, column D). The issue is that there would not usually be a date entered in the Corrections Received column when we need to look at those cases...because they would not be received yet. In order to not get an extreme default value (like the -40181 or 40922), I entered the =Now() function in column E (except for first case as an example of what this would look like otherwise).

What I was hoping to be able to do is use conditional formatting to look for that Now() formula. If the formula is present, the cell would be highlighted. If a date were entered, even if it was today's date, the fill on that cell would be removed. That way we could tell when the displayed date is a true date and when it is a placeholder until we receive the information.

Currently, it either highlights no matter what the cell includes or it doesn't highlight anything...

View 3 Replies View Related

Conditional Formatting Based On Person Name?

Apr 6, 2012

I have uploaded my excel spread sheet.

[URL]

Viewing only displays half the written request, but I downloaded it, and it was ok

View 8 Replies View Related

Conditional Formatting Based On Cell Value

Apr 17, 2014

I am manually formatting column J depending on what data is entered into column K. If the number entered into the cells in column K are equal to or less than what is in column J, I format the data in the cells in column J with the green you see above. If the data entered in the column K cells are greater than column J, I format it in the red shown above.

So, how can I have Excel do this for me, format column J cells depending upon what is entered into column K cells? The caveat here is that I also don't want any formatting to occur until data is entered into column K.

View 5 Replies View Related

Conditional Formatting Based On Entire Row

May 20, 2014

I am trying to apply conditional formatting to one cell based on the values of cells in a row.

This is what I have at the moment

E3 = TODAY()
E4 = TODAY()+90

If any date in the row falls between E3 and E4 i would like the font in another cell to turn red (in the example below A11 should turn red if any date in B11:J11 is between E3 and E4).

This is the formula I've been trying:

=AND($B$11:$J$11>=E3,$B$11:$J$11=E3,$B$11

View 3 Replies View Related

Conditional Formatting Based On Date

Feb 12, 2008

I am trying to use conditional formatting to highlight items that are either past due or coming due soon. The data to be evualuated is in a report that I extract from another system and run bi-weekly or monthly. The dates included in the report represent the date in which something was last updated, certified, tested, etc. All dates expire one-year from when they were last completed. The colors that I want are as follows:

If something is past due (date shown is more than 1 year old) or due within 30 days = RED.

If something is due within 31-60 days = YELLOW

If something is due within 61-90 days = GREEN

So, if an item on a report is showing it was "LAST UPDATED" on 2/21/2007 it should show up RED because it is due within the next 30 days.

If an item is not expired (less than 1-year old) and falls outside of the defined 90 day window then it should just remain as is with no formatting.

View 9 Replies View Related

Conditional Formatting Based On Dates

Jul 25, 2008

I am trying to use conditional formatting to color a cell based on a date. I have a date in cell "a1" as my base date (no formatting needed). I have dates in cells "a5:a10".

I need those dates (a5:a10) to change color based on the time from "a1".

Less than 1 year = no formatting.
Between 1 year and two years = yellow.
Over two years = red.

I have tried different settings / formulas in the conditional formatting option, but I can't make it work. Do I need to use visual basic to do this?

View 9 Replies View Related

Conditional Formatting Based On Lookup

Apr 7, 2009

Is there a way to specify conditional formatting using an Hlookup function? I want to format a cell with a specified color based on a horizontal lookup (see attached).

View 4 Replies View Related

Conditional Formatting Based On 2 Criteria

Aug 10, 2006

I am trying to figure out how to set up a spreadsheet, that comprises a list of open-entries, wherein the user will insert their information and a % out of 100 assigned to them; the entire form, in the end, cannot go beyond 100%, so each entry has to be done correctly...

BASICALLY my problem is that I am trying to set up the " Total %" cell, which is already assigned the formula "=SUM(D5:D16)" (D5 through D16 being the cells in which %'s are assigned) so that it will auto-populate with the appropriate color/error if the %'s are either insufficient (short of 100%) or exceeding (above 100%). What I had been trying to set up (and have successfully set up in other spreadsheets, however under slightly different circumstances) is a Conditional Format in which the first (with the color Red for "exceeding") was " =If(SUM(D5:D16)>100,SUM(D5:D16),SUM(D5:D16))

" So regardless of exceeding, exactly met, or insufficient totals, it would post the total entered, BUT assigning the color red, so that IF it did, in fact, total higher than 100, it would appear red. A similar formula would be applied to Green (reflecting "on target") in which the formula would be " =If(SUM(D5:D16)=100,SUM(D5:D16),SUM(D5:D16))"

Now the problem is: this is not working for the SUM of the cells. In my previous experience with Conditional Formatting and color assigning results, it had been with the AVERAGE of two columns of cells.(worked without a hitch.)

View 4 Replies View Related

Conditional Formatting Based On Value Contained In Another Cell

Apr 9, 2014

I have some problem with conditional formatting, basically what I'd like to do is color the cells, based on the value contained in one specific cell. I'm not able to make a formula that suits my job.

Basically I want to color code a cell if the value in a specified cell is between x and y.

I've attached a sample spreasheet: MrExcel.xlsx‎

View 1 Replies View Related







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