I have an excel sheet where I'm trying to use conditional formatting but it doesn't seem to work as I would like it to.
It seems as though any formula won't work as I don't want the cell to match TBC, but contain it.
In short, I am looking for this:
If D2 Contains "TBC" then highlight the whole row
I've tried around 10 suggestions through Google and also Stack Overflow but it seems as thou
Note: Each cell will have different values, i.e. D2 has "1 screenshot TBC" and D3 has "5 screenshots TBC". As they will all have different values but all contain the abbreviation "TBC" I am trying to search for that word.
Any help or advice that could be offered will be greatly appreciated.
Thank you in advance for your time! :)
Amandip
Select your entire sheet and HOME > Styles - Conditional Formatting, New Rule..., Use a formula to determine which cells to format and Format values where this formula is true::
=FIND("TBC",$D1)
Format..., select colour Fill (highlight) of your choice, OK, OK.
Change FIND to SEARCH if you want this case insensitive.
This will trigger for the likes of ATBCX.
Related
I have a list of cell addresses (B1:B100) in one sheet, which refer to a range (A1:Z26, for example) on another sheet.
I have been trying to link these through conditional formatting (say, to light up red). By formula, I can have the following work...
=cell("address",a1)=B1 ; this makes the cell in the range refered to in B1 light up red.
But when I try to apply this to the whole list, as in =cell("address",a1)=B1:B100 it does not work...
Can anybody help me find a way forward here?
the issue illustrated
Slightly modifying your original formula, you could try:
=MATCH(CELL("address",A1),Sheet2!$B:$B,0)
I suggest you select A1:Z26, 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::
=MATCH(ADDRESS(ROW(),COLUMN(),4),another!$B$1:$B$100,0)
Format..., select red fill, OK, OK.
References in the B column should be relative format.
I've got a workbook, that i use for fleet allocations, but i'm not sure how to do error checking in excel, and was wondering if anyone could point me in the right direction. When i allocate the vehicles to a duty, it uses vlookup to bring the driver name into the sheet. but what im unsure of how to do is, i have 54 duties, and it would be easy to miss one, so is there a way i can make it show me which duties are left to allocate ? please see screenshot...
Excel Worksheet Screenshot
For a layout as shown:
Select ColumnA, clear any existing CF from it and HOME > Styles - Conditional Formatting, New Rule..., Use a formula to determine which cells to format and Format values where this formula is true::
=AND(A1<>"",COUNTIF(C:E,A1)=0)
Format..., select formatting of choice (I chose the same fill as for the headers) OK, OK.
Well, had a look at your sheet... But I put this together as it is simple and you may be able to include it where you can...
Tha match() function looks for the duty in cell A2 and if it finds it in the list in column I then it returns its position number. If not found the iferror() returns "Not Allocated"...
The formula in cell B2 is:
IFERROR(MATCH(A2,J$2:J$10,0),"Not Allocated")
I have been trying to change the color of certain cells on my WS that fall outside of an acceptable range. The statement I've been trying to use is,
IF(OR('cell'>1.3,'cell'<2.5),'turn red','do nothing')
In english, "If a cell is less than 1.3 or greater than 2.5 turn red, else do nothing." I cannot find a resource that guides me to how I can get the cells to change colors. I also have been unsuccessful in creating a statement in the Conditional Formatting tab that satisfies my goal. I feel this should be simple, but for some reason cannot figure it out. Does anyone know if this is possible, and if so how to do it?
EDIT: Also, I have different ranges based on another cell on the spreadsheet. I need this also taken into consideration
Select the columns that you want to format
Click Conditional format --> new rule
Select "Use a formula to determine which cells to format"
In the formula bar enter the formula =AND(A1>1.3,A1<2.5)
Choose the fill color as red and press OK
am confused with your formula and your english version. If its the other way, then use the formula =OR(A1<1.3,A1>2.5)
I am trying to do 2 functions. The first is to match all the values (text) from 1 range with another and return the values that match. I would also like a second formula that returns the values that do not match. The 2 lists may not be in the same order nor can they be as they are ranked.
=IFERROR(INDEX($L$4:$L$23,MATCH($B15,$L$4:$L$23,0)),$L15&" Different")
Could anyone suggest an answer?
Thank you in advance
There is no native function of the kind I think you require.
With two unsorted ranges, say B4:B25 and L4:L25, one can identify matches and non-matches with Conditional Formatting and then perhaps might choose to filter by colour to extract matches or non-matches.
Select both ranges and (standard) fill red. Select B4:B25 and HOME > Styles - Conditional Formatting, New Rule..., Use a formula to determine which cells to format and Format values where this formula is true::
=COUNTIF(L$4:L$25,B4)
Format..., select green (suggestion) fill, OK, OK.
Then select L4:L25 and repeat CF with:
=COUNTIF(B$4:B$25,L4)
I think that IFNA(INDEX($L$4:$L$23,MATCH($B15,$L$4:$L$23,0)), "NO MATCH") would help you solve this.
I would like to enter a certain phase in a certain cell, says ABC in C2, then E2, H2, J2 and K2 will be change to certain color. Thank you in advance!
I have been searching and reading posts about conditional formatting for two days, perhaps my English hinders me from knowing the right keywords to search for the right answer. Please see the attached illustrating the desired result. Thank you!
You need to select the cells you want to format (E2,H2,J2,K2) individually using Ctrl-click. Then go to Conditional Formatting | New rule | Use a formula ... and enter:-
=$C2="ABC"
and choose the fill colour you want to use.
This will also match "abc". If you only want to match "ABC", use instead:-
=EXACT($C2,"ABC")