I have an Excel sheet which I populate data with every week. Based on a long list of conditional formatting Excel gives me 3 columns of red cells as in attached example:
Can you please help me in automating the deletion of these red rows.
The report I am looking for is expected to have no red cells. So we need to delete the complete row if any cell has this conditional formatted red.
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 have a workbook in Excel 2010 with 2 worksheets.
Sheet 1 has rows of data sorted by dates with different numbers of rows for each date.
Sheet 2 calculates the daily averages based on the dates and puts them on individual rows,(1 row for each date) using formula =Sheet1!A5 which works fine but the row band color is copied too so Sheet 2 looks poorly formatted with regards to the row banding which seems to be inherited with reference.
How can I retain the uniform banding in sheet 2 and keep the fill color from being copied along with the cell's data?
If I understand Your question right: You dont want the cells to be colored in Sheet 2, but You want the values to be the same as in Sheet 1.
Judging by the pictures You have provided there is a Conditional formatting on Sheet 1. I think that You copied Sheet 2 from Sheet 1, using right click and Copy or move and the formatting was copied as well. On Sheet 2 under Conditional formatting delete or edit the current formatting rules. Make sure to select "This Table". That way You can see all the rules on Sheet 2, and its easier to delete or edit.
Formulas in Excel can't bring colors, so it has nothing to do with that.
I have 2 spreadsheets. One with data and the other represented with 1's. My aim is to flag in green on the data sheets where 1's are present on the other spreadsheet.
Thanks for your time
First select just 1 cell from the data spreadsheet. Then go to conditional formatting in the Home tab and click on New Rule. There again select the last option 'Use a formula to determine which cells to format'. Then you will get a blank box. Inside that write your formula, add the relevant fill color and then you will be able to color all your relevant cells in the data spreadsheet. In the formula you can write something like: =Sheet2!D4=1 if you want to color the Sheet1 D4 cell if value of Sheet2 D4 is 1. Then you can just copy the cell that has the conditional formatting and paste it as format to other cells so that the conditional formatting is applied to other cells as well.
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 making a leave Planner which highlight the calendar as per the dates
using these formulas
=IF(B6="",FALSE,SUMPRODUCT((B6>=INDIRECT("Table1[Start]"))*(B6<=INDIRECT("Table1[End]"))))
=IF(B6="",FALSE,SUMPRODUCT((B6>=INDIRECT("Table1[SD1]"))*(B6<=INDIRECT("Table1[ED1]"))))
I want to apply this formula on same row not on columns how i can give range of Rows or range of cells containing start dates and end dates so same color highlight for one row and other color for other row
The formulas would be:
=OR(SUMPRODUCT((B6<>"")*("abc"=INDIRECT("Table1[Names]"))*(B6>=INDIRECT("Table1[Start]"))*(B6<=INDIRECT("Table1[End]"))),SUMPRODUCT((B6<>"")*("abc"=INDIRECT("Table1[Names]"))*(B6>=INDIRECT("Table1[SD1]"))*(B6<=INDIRECT("Table1[ED1]"))),SUMPRODUCT((B6<>"")*("abc"=INDIRECT("Table1[Names]"))*(B6>=INDIRECT("Table1[SD1]"))*(B6<=INDIRECT("Table1[ED1]"))))
As you can see you will need to have a different rule for each name. And change the name.