I was using a conditional formatting to mark the whole row blue if there is a "VISA" transaction in column E.
Would it be possible to set up a conditional formatting to mark the VISA transactions rows red if there is less than 5 of them in each month?
I can't make the formula work it out automatically...
Select A:E, clear any existing CF from it, HOME > Styles - Conditional Formatting, New Rule..., Use a formula to determine which cells to format and Format values where this formula is true::
=AND($E1="VISA",COUNTIFS($E:$E,"VISA",$A:$A,">"&EOMONTH($A1,-1),$A:$A,"<"&EOMONTH($A1,0)+1)<5)
Format..., select red font, OK, OK.
Reinstate other CF to suit.
Related
how can one format the color of cells according to their values in that row? In this table, I want to give red for the most expensive carrier, green for the cheapest one and orange fro the middle range one, for each row:
After conditional formatting, it should look like this:
Thank you!
Apply Graded Color Scale conditional formatting, but set the Applies to range to =$B$2,$E$2:$F$2
Then use format painter to copy this conditional formatting to the rows below. You'll end up with a separate rule for each row:
Format your colors to suit.
Another way with just two rules is to 'standard' fill with orange as much of ColumnsB, E and F as required, select and clear any CF rules from B:F 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(B1=MAX($B1,$E1,$F1),B1<>"")
Format..., select red Fill, OK, OK.
Add another formula rule of:
=AND(B1=MIN($B1,$E1,$F1),B1<>"")
with green Fill.
Select ColumnD and Clear Rules from Selected Cells.
In case of ties green will have precedence, unless the rule order is reversed.
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 an Excel file were I have to update Manufacturing ETA's Bi-Weekly.
I have original dates in Column 'E' and The new updated dates in Column 'F'.
I would like to create a system, where every time the new Date is lower than the Previous, it highlights Green, and when the New date is higher than the previous, it highlights RED. If the date didn't change at all, nothing happens.
Could anyone guide me, on a solution please? I appreciate it.
Clear CF from ColumnsE:F, select from E3 to wherever suits and HOME > Styles - Conditional Formatting, New Rule..., Use a formula to determine which cells to format and Format values where this formula is true::
=$E3<$F3
Format..., select red fill, OK, OK.
Then repeat with:
=$E3>$F3
for green fill.
This will highlight (or not) the cells in pairs.
i'm newbie in excel and i have an excel sheet where i need to change the cell color if the date mentioned in the cell is becomes 15 days old and also add a status in next column as pending.Please help with this.
Assuming your dates are in ColumnA, please select that column and HOME > Styles - Conditional Formatting, New Rule..., Use a formula to determine which cells to format and Format values where this formula is true::
=TODAY()-A1>=15
Format..., select your choice of colour for formatting, OK, OK.
If the "pending" labels re then to be added in ColumnB where appropriate please put in B1 and copy down to suit:
=IF(TODAY()-A5>=15,"pending","")
You could use the pending in ColumnB to trigger the colour for ColumnA but it may be better to keep the two requirements separate. If you were to trigger via 'pending' you would still need a formula rule, rather than a "cell content" one.
Change 15 to 20 when you have decided what the interval should be. Beware that if your ColumnA values include times (even if not displayed) you cannot reliably simplify >=15 to >14.
This is the formula you might be looking for:
=IF(DAYS(TODAY(),A1)>=15,"pending",other_status_you_use)
Then you should go to
Conditional Formatting > Highlight Cell Rules > Text that Contains...
There you can type pending and change the color as you wish.
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.