Hi I am using the formula =MATCH(A1,B:B,0)>0 with conditional formatting to highlight a match in a cell but from a different sheet. Any suggestions as to how I highlight the full row and not just one cell please?
When you set up your conditional formatting rule look at the "applies to" entry. in the table. See the area highlighted in yellow below. Make sure that includes the entire range of cells you want to highlight, not just one column. If your rows span columns A-F, you may want something like $A$2:$F$500.
Related
I am trying to show that a cell must be filled in. I want to use conditional formatting to highlight the cell isn't filled out using conditional formatting. Based on an EMPTY spreadsheet (gets filled in weekly by row, so I don't want a bunch of red cells until a line is filled in). I want a cell in column I to turn red when either columns "B:H" have text. Then if the person fills out a cell in column I the coloring goes away. I have tried =AND(ISTEXT(B#),ISNONTEXT(I#)), but this means that when a different row in column B is filled out the conditional formatting doesn't work. I then tried to individually put the condition formatting in, but it only works on the first 2 rows. I also tried =AND(ISTEXT($B#),ISNONTEXT($I#)) to show that it is based on the column, that also didn't work. Any help would be greatly appreciated.
Assuming B:H are empty. You can use an AND formula looking at COUNTA (of B:H) combined with ISBLANK (column I).
Select range I2:I4 and input this formula into your Conditional Format Rule:
=AND(COUNTA(B2:H2)>=1,ISBLANK(I2))
Then change your conditional format fill as RED.
Output:
I apologize if this has been posted, but I haven't found a solution that works.
I have an excel sheet with a lot of data.
I want to make the cells in a certain column (column CG) turn purple if the value of a cell in a different column, but equal row is "no". For example, I want the cell in column CG row 140 to turn purple if the cell in column CS row 140 is no. I want this to happen for every cell in the column. I tried to set up a conditional formatting rule such that the rules applies to =$CG$4:$CG$200 and for the formula I've tried $CS=no, $CS="no" $CS4="no" and $CS4=no with the formatting just being a purple highlight. I've tried hitting apply and ok, but nothing works.
I used these link to determine what to do for my rule.
Conditional formatting based on other column
Excel Conditional Formatting based on Other Column
Any suggestions?
Simply highlight the entire column "CG" then open the CF dialog.
Select the option Use a formula to determine which cells to format and type in the following formula:
=$CS1="no"
Then proceed to set your formatting, in your case, a purple fill.
I have a 1600-2000 rows of data in a spreadsheet that changes daily. I would like to highlight any row that contains such as 000000000000053851 in the R column. I had tried conditional formatting using this formula:
=OR($R1="000000000000549543",$R1="000000000000267294,$R1="000000000000053851")
but it seems to highlight a few rows that are blank in column R also.
Using the same numbers highlighted in column R, I would like to have an alternate number and possibly other data pasted into the corresponding row in column S. Each number has a unique alternate number and data to go along with it. This is how I picture a line may look with the highlighting and alternate data next to it:
I intend to record a macro using a few of the different steps that are likely required to do this. Any way, whether conditional formatting or an array formula, would be great to help with this.
For the sample provided, a CF rule of:
=LEFT(R1,12)="000000000000"
applied to ColumnR will format the sample and if you wish the cell immediately to the right. It will not highlight blank cells.
HOME > Styles - Conditional Formatting, New Rule..., Use a formula to determine which cells to format and Format values where this formula is true:, enter formula from above and Format... with Fill red, OK, OK.
If you want the cell to the right to be formatted also, select ColumnsR:S instead of just ColumnR and change R1 in the formula to $R1.
For the cell to the right you provide few details but VLOOKUP in conjunction with a two-column table should suit. Column on the left being the ColumnR value, with the right-hand column for the same row the ColumnS value required. This table could be placed almost anywhere.
This could all be done with Record Macro.
I have a spreadsheet for work with a list of claims from the previous month. Column A on Sheet1 contains the employer's alphanumeric group# (A2-A501).
Sheet2 contains just a list (A1-A46) of group#'s that don't need review, and I'd like to set a conditional rule so that any row on Sheet1 where the value in the A column matches any of the group#'s in Sheet2, then the entire row formats appropriately to what I set (in this case, highlights red).
I researched online, but couldn't find any that would fit my specific scenario that also worked.
Seems:
=MATCH($A2,vRange,0)
as a Conditional Formatting formula rule suited, where vRange is the name of Workbook scope given to the relevant range in Sheet2.
Select the entire selection you want the formatting to apply to.
Open the conditional formatting menu.
Select "Use a formula to determine which cells to format"
Set your format (fill red)
Enter the following formula
=NOT(ISERROR(VLOOKUP($A1,Sheet2!$A:$A,1,0)))
This assumes that on Sheet2, your group#s that don't need review are in column A.
I have two columns in Excel as shown on the picture below.
I need to apply conditional formatting in this way:
if row in B column contain "1", the cell A on the same row should change its color. This needs to be applied only for the cell in A column, not whole row. Is there any option how to do this?
Follow these steps and your problem will be solved ;)
Set your formula to =$B2=1
Select the fill color Yellow
Applies to =$A$2:$A$7
Once you click Apply, make sure your formula hasn't changed! (always happens to me)