Is there a away to format rows of cells, so when data is entered in A1, the rest of row A turns red? The reds will disappear as each row cell is updated? Something like this works =IF(A2="","",B2=""), but it only flags reds as you type
"A" is not a row. It is a column.
Edit Perhaps this -- it took me a while to understand what you wrote, even though, in retrospect, it was pretty clear.
An entry in column A highlights the rest of the row (up to column V)
An entry in any other cell removes the highlight from that single cell:
Formula:
=AND($A1<>"",A1="")
As I understand you want to highlight the whole row if only column A contains a value. If any other cell contains a value, the highlight shall disappear.
Select the desired rows and create a conditional format with this formula:
=AND(LEN($A1)>0,COUNTA(1:1)=1)
Related
This seems like a simple conditional formatting question and i hope it is for many.
I have two columns. Column 'I' with a reference value and column 'J' with a user value. I also have 4000 rows of data!
I would like to simply use conditional formatting in each row to identify if Column 'J' has a value equal too or less than column 'I'. If true, i want to highlight the cell in column 'J' green. If false, leave formatting as it is.
I have been chasing an answer on this for three hours and cannot find any resolution as you simply cannot copy and paste the formatting down the column in excel by dragging of similar. I can copy and paste formatting from one row to another but this is not a solution with 4000 rows. I have adjusted relative and absolute references.
Any links to supporting ways to do this would be great.
Here is a sample copy of the file with reduced data
Select J3 and go to Conditional Formatting, then select Format only cells that contain then select Cell Value and less than, then type =I3 (remove all $ as these are absolute cell references). This much it looks like you have already done.
Once you click OK you would then select your target rule and change the range of cells in Applies to. For instance, you would add =$J$3:$J$4000. Hope this helps.
Can you try this
=$I2
Here dolor sign has significant as you are checking value column wise means in a column top to bottom.
I'm working on a conditional formatting issue. I would like the whole row to highlight if the text in the same row in columns B and C disagree. So far, I've been able to write conditional formatting rules that leave the cell un-touched if there is no data and if there is a data entry that disagrees with the text in Column B, but I can't seem to get the formula to apply to the full row.
Here is what I currently have:screenshot of the document with conditional formatting rules visible
I'm working on Excel 2010. Maybe there is a way to use a logic formula?
I look forward to hearing suggestions!
You can do this with a formula. Highlight the range you would like to format, create a new conditional format, select "Use a formula..." and enter the formula as it would apply to the first cell or in this case row.
In my case, I chose the first 6 rows: $1:$6 as my range. So in this case, I would enter the formula as if I were only entering it for my first cell. The formula =$B1<>$C1 will check for inequality between B1 and C1 in the first row, B2 and C2 in the second row, and so on.
I am trying to highlight cells in a column in Excel that match a list of values in another column. Everything i have found so far like =NOT(ISERROR(MATCH(A1,$B$1:$B$1000,0))) only highlights the cell next to one that matches not the actual matching Values.
Basically i am tryingto highlight every value in column B:B that matches any entry in A:A.
You just about had it right.
Try this instead:
=NOT(ISERROR(MATCH(B1,$A$1:$A$5,0)))
Or in R1C1 mode (which, IMHO, is much easier to work in as the formula doesn't change regardless which cell in column 2 you're on):
=NOT(ISERROR(MATCH(RC,R1C1:R5C1,0)))
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 want to highlight cells in column A (using the conditional formatting tool) if the cell's corresponding row contains the letter z anywhere within that row. I want to do this so I can sort data to the top if it is highlighted in column A.
I'm using the formula:
=COUNTIF($A1:$AA1,"*z*")
But I don't want to highlight the entire row, just the corresponding cell in column A for that row.
What is the formula to do this?
Select ColumnA then HOME > Styles - Conditional Formatting, New Rule..., Use a formula to determine which cells to format and Format values where this formula is true::
=COUNTIF($A1:$AA1,"*z*")>0
Format..., select highlighting OK, OK.
This will apply only to Column A (because of the selection).
This seemed to work for me when testing with a 3x3 cell table:
Highlight A1:A3
Conditional Formatting>New Rule>Use a formula to determine which cells to format
Formula:
=COUNTIF($B1:$C1,"z")
Then only cells in A were highlighted.
"I want to do this so I can sort data to the top if it is highlighted
in column A."
Ok, first of all, you don't need to use conditional formatting to sort. Second of all you wouldn't want to reference A1 in your formula =COUNTIF($A1:$AA1,"z") - it is a circular reference and any formula you put in column A would not return "z" anyways because you are using it for your COUNTIF formula.
The formula you want to use is:
=IF(COUNTIF($B1:$AA1,"z")>0,1,0)
If you want to look for any row that contains a z anywhere in a string you would want to do a wildcard countif:
=IF(COUNTIF($B1:$AA1,"*z")>0,1,0)
Then you can just sort on column A for all your data - high to low.
Basically you have demonstrated a basic misunderstanding of how to sort in excel(no offense). This should help you. Good Luck.