I compare 2 tables with numbers and need to highlight number red in TABLE A if it's less than number on TABLE B.
Could you please help with this?
Thanks.
Clear formatting from and select ColumnsA:C then HOME > Styles - Conditional Formatting, New Rule..., Use a formula to determine which cells to format and Format values where this formula is true::
=A1<E1
Format..., select choice of formatting, OK, OK.
You could use the conditional formatting function build in within Excel, and than use the condition that the values of table A are colored when they are lower than the values in table B.
Link for more information
Related
I would like to "walk" through a Excel column and if the the preceding or following cell has the same value or single, mark it with a color.
For example:
i have get this by creating an auxiliary column.Can anyone goal this without VBA nor an auxiliary column.
my solution
Select ColumnsA:B, clear any CF from it and then HOME > Styles - Conditional Formatting, New Rule..., Use a formula to determine which cells to format and Format values where this formula is true::
=ISODD(SUMPRODUCT(1/COUNTIF($B1:$B$9,$B1:$B$9)))
Format..., select blue Fill, OK, OK.
I have a table called promos containing 2 columns existing mechanic_code and new mechanic_code. I want to format the values in those columns accordingly if they are not equal.
I tried this
=INDIRECT("promos[existing mechanic_code]")<>INDIRECT("promos[new mechanic_code]")
in my Conditional Formatting formula but it didn't have the desired affect. It evaluated to true for all cells (i.e. coloured them all red):
Here is an example of exactly what I mean: https://1drv.ms/x/s!AjcmU60daA9VqsRFaZzng_w1gP_EWQ
I only want to highlight rows where the two columns are different.
Anyone know how to solve this?
I had to do this to make it work:-
=INDIRECT("table2[#old]")<>INDIRECT("table2[#new]")
where my column headings were just "old" & "new"
so yours should be
=INDIRECT("promos[#existing mechanic_code]")<>INDIRECT("promos[#new mechanic_code]")
But because you've put a space and an underscore in your column headers you will have to use instead:-
=INDIRECT("Promos[#[Existing Mechanic_Code]]")<>INDIRECT("Promos[#[New Mechanic_Code]]")
Please select B3:C6 and and HOME > Styles - Conditional Formatting, New Rule..., Use a formula to determine which cells to format and Format values where this formula is true::
=$B3<>$C3
Format..., select red Fill, OK, OK.
i am trying to make a work calendar for myself. screenshot of the excel file
I have written a conditional formatting to color all saturdays and sundays with the following code
=OR(WEEKDAY(B2)=2,WEEKDAY(B2)=1)
how can i make the Entire column under that day be colored.
Thanks :)
If you are not going to be moving columns around (Friday will always be in whichever cell it is at present and days just continue in sequence to the right) it might be easier to select the entire range to be subject to formatting and HOME > Styles - Conditional Formatting, New Rule..., Use a formula to determine which cells to format and Format values where this formula is true::
=OR(MOD(COLUMN(),7)=3,MOD(COLUMN(),7)=4)
Format..., select your choice of Fill, OK, OK.
Adjust 3 and 4 to match whichever day you choose to start the sequence with wherever your selected range starts.
Given information you have withheld of what is where the above might be simplified.
In Conditional formatting | Use a formula...
=WEEKDAY(B$2,16)<3
extended from B2 down and across.
Looks like you need to add a relative cell reference on B2:
=OR(WEEKDAY(B$2)=2,WEEKDAY(B$2)=1)
Here's an article about using relative references in conditional formatting: https://www.ablebits.com/office-addins-blog/2014/08/07/relative-absolute-cell-references-excel-conditional-formatting/
I am trying to change the colour of a cell if 2 conditions are true: 1. The date in the G column is before today, and 2: The value in column AM is "DISPATCH".
I have managed to change the to get a simple code for the Date which is: =$G$11<TODAY(), which works.
The code I am using for AM column is =ISNUMBER(SEARCH("SHIPPED",AM11))=FALSE - I Think something is going wrong here?
Please select from L5 to L44, then HOME > Styles - Conditional Formatting, New Rule..., Use a formula to determine which cells to format and Format values where this formula is true::
=AND(G5<TODAY(),AM5="""DISPATCH""")
Format..., select colour, OK, OK.
I need to sort out one macro. I have table and need to highlight a row with a color, but not the entire row, just from columns A to J when text in one of the cells in column A is longer than 4 digits-letters.
I don't want to use conditional formatting.
Can somebody please advice if it's possible?
To do so with Conditional Formatting, select ColumnsA-J then HOME > Styles - Conditional Formatting, New Rule..., Use a formula to determine which cells to format and Format values where this formula is true::
=LEN($A1)>4
Format..., select highlighting OK, OK.