Conditional Formatting Formula for Comparison - excel

I have this spreadsheet
I have been trying to come up with a conditional formatting formula that will allow me to deconflict meeting times. If there are two meetings on Tue at 10 (as shown), I'd like the column to turn red. I can't find a way to do this without having hundreds of statements in the formula. There's got to be a simpler way I just don't know about. Thanks in advance!

Related

Multiple IF OR conditions in Excel formula

In Excel I made a formula based on a MAX condition if several conditions are true. So far the formula looks:
=MAX(IF(A:A="Nissan";IF(B:B="Green";C:C)))
Now, I would like a formula based on multiple colors, for example Green and Blue Nissans. I can not figure out where I have to place the color Blue.
I use Excel 2007 and know to use CTRL+SHFT+ENTER for this formula.
This works - still need to use ctrl+shift+enter:
=MAX(IF(A:A="Nissan";IF(OR(B:B="Green";B:B="Blue");C:C)))
Tested and works, I had to pay attention to the ";" and ","...
Borrowing the {} from JvdV below, this works:
=MAX(IF(A:A="Nissan";IF((B:B={"Green";"Blue"});C:C)))
If you have Excel 2016, you could use MAXIFS() and feed the formula a list of values. Particularly handy if you have more than two criteria for column A or B or both.
=MAXIFS(C3:C10,A3:A10,"Nissan",B3:B10,{"Blue","Green"})

conditional formatting - if and statement

I am working on an if/and statement in conditional formatting.
I have 2 sheets. --- YTD Summary and Parameters
I want to conditional format the following 'YTD Summary'! I11:I31
These are set up as Percentages. The Parameters page has cell B2 with one of the following variables depending on what month it is (Jan, Feb, Mar, Apr, etc.)
the formulas I have tried are as follows
AND(Parameters!$B$2="Oct,'YTD Summary'!$I$11<(3/12-.05))
and(Parameters!B2="Oct",'YTD Summary'!I11<3/12-.05)
Conditional formatting takes the formula, but doesn't turn any of the percentages red within the specified range (I11:I31). Yes, I have formatted it for red text. Any help would be much appreciated. I have spent way to much time on this. thank you, Matt
=AND(Parameters!B$2="Oct",I11<0.2)
This worked for me. If the B$2 reference needs to move downward with the values in I, then remove the $ before 2.
Thanks!

Conditional Formatting of interdependent values in one cell Excel

I am working on a spreadsheet for planning road improvements, there are two aspects. Resurfacing and Surface Dressing these are interdependent values as you can see in the example below. However there is no scenario where both numbers can exceed 100 and I was hoping of finding a way of displaying total percentages of resurfacing and surface dressing in one cell. Ideally with resurfacing on the left of the cell and surface dressing on the right.
Currently I am using conditional formatting on each cell, I know I can store two values in one cell but it doesn't seem possible to use conditional formatting on these cells.
Any Ideas how this can be achieved? Would be much appreciated
I'm not sure which values are which, but combining two results into one cell can be done like this:
="A438 "&A4&" "&A5
and you could replace the A438 with a cell reference :
=A2&" "&A4&" "&A5

Conditional Formatting to reflect Countifs

I am using Excel2010 and I have the following Countifs statement, which works.
=COUNTIFS(Apr2014Fixed!$T:$T,"1",Apr2014Fixed!$Q:$Q,"*No*",Apr2014Fixed!$R:$R,"*Yes*")
I want to see which rows in my spreadsheet were counted, so that I can determine whether I've done everything right. I tried conditional formatting with the following formula, but I know I'm not using it properly.
=AND(COUNTIFS(Apr2014Fixed!$T:$T,"1",Apr2014Fixed!$Q:$Q,"*No*",Apr2014Fixed!$R:$R,"*Yes*")=3)
I don't understand what value I am looking to highlight. I thought =3 because I want all three conditions to be true for a case to be counted, but this didn't highlight anything. When I tried >3, it highlighted the entire spreadsheet.
Obviously, I have no idea how this works? Can anyone help, please?
To format rows across multiple columns, select the desired columns (in the screenshot I selected Q to T) and create a new conditional format with the formula
=AND($T1=1,ISNUMBER(FIND("No",$Q1)),ISNUMBER(FIND("Yes",$R1)))

Excel 3 value IF statement using date ranges

I am trying to create a conditional formatting for a range of dates. I want anything longer than 30 days away to format green, anything within 8-30 days to be yellow and anything less than 8 days to be red.
I have tried the following formula without any luck:
=IF(H56<=Today()+7,"1",IF(AND(H56<Today()+30,H56>=Today()+8,"2","")))
Any help would be greatly appreciated. Thanks.
OP has indicated that:
=IF(H56<TODAY()+8,1,IF(AND(H56<TODAY()+30,H56>TODAY()+7),2,3))
met his requirements.
This is a formula for use in connection with CF but not itself the formula for a CF rule. The formula would be applied to a spreadsheet in a 'normal' way - to return 1, 2 or 3 - and then those values (only two are really necessary) applied in CF with a rule such as Format only cells that contain (ie not applying Use a formula to determine which cells to format - though that is a viable alternative where two short formulae could be applied instead of the formula above in the spreadsheet).

Resources