Keeping Cells With Formula And Conditional Formatting Blank Until Data Entered?
Feb 22, 2013
I have a spreadsheet filled with formulas that depend on a value being entered into A2, A3, A4, etc... So column A starting at A2 is where I will manually input a number and the formulas I have in columns B, C, and D will import information from another sheet based off what is put in column A. In column D the formula I have to import data
is =IFERROR(VLOOKUP(A2,Master!C:M,11,0),"").
This will import another number. Additionally in column D, I have conditional formatting that will return a red, yellow or green light based off the rule I have in place. Everything works fine, the only problem is that column D has a green light all the way down even without a value being placed in column A. I would like to find out a way to keep the cells in column D blank until a value is entered in column A. Also, if I go back and delete the value in column A, I would like the corresponding cell in column D to go back to blank as well.
View 2 Replies
ADVERTISEMENT
Oct 13, 2009
I am trying to conditionally format some data in cells A3:A6 (shade the cells) depending on whether a number in B1 is 1 (green), 2 or 3 (blue), or 4 (red).
View 3 Replies
View Related
May 11, 2013
I have four columns of data, the last column being Date Completed, I'd like to shade the whole row of four cells if the last cell contains a date. I tried to just work on shading if the cell contains anything with conditional formatting using the formula:
=$D$1"" apllied to all my cells and chose green shading and nothing happened.
View 3 Replies
View Related
Feb 15, 2010
I have tried to set up a list of cells to highlight in red any numerical values which are greater than 0 using conditional formatting. This works fine, except that all blank cells are also highlighted in red. Formula is currently: cell value is greater than 0. What do I need to do to ignore the empty cells?
View 2 Replies
View Related
Nov 18, 2013
Ok so my project is tracking how many days have passed since a collection notice has been sent. Assuming the case isn't closed, a response from the customer hasn't been received, the case has been assigned to an employee, and assuming the notice was actually sent in the first place.
There are instances where the collections case may have been closed without a response date or any other date and we call that "Administratively Closed."
This is my formula: =IF(OR(CaseStatus="Closed",ISBLANK(NoticeSentDate), ResponseDate""),"",TODAY()-NoticeSentDate)
Problem is, now that I'm trying to conditionally format the ones >60 days, and =45 days WITHOUT getting the "blank" cells to change color too.
I got the one for >60 days: =AND(OR(CaseStatus"Closed", CaseStatus"Unassigned"), Comments "Administratively Closed", DaysPassed>60, ResponseDate="", DateEnteredInDatabase"")
I can't get =45 without having a bunch of cells that appear blank change color too.
View 2 Replies
View Related
Jun 10, 2009
i have two date fields....one date requested eg 02/06/09 (cell C10)...another date completed eg 03/06/09 (cell R10)
a third field (cell S10) contains the formula: =IF(R10-C10=0,"less than a day",R10-C10)
so if a request was actioned on the day then it shows as less than a day, otherwise will show how many days it took
but when this formula is draggeddown all other cells show - less than a day
how can i make these cells blank whilst still holding the formula?
also - is there a quick formula to add to show only the amount of wrking days a request took to complete?
View 7 Replies
View Related
Nov 3, 2009
I have a formula in A56 that adds cells A1:A54. I want to use conditional formatting to highlight A56 if any of the cells in A1:A54 are blank. I am unsure how to do this.
View 3 Replies
View Related
Jan 17, 2013
I have attached the sample. I need the cells without the employee or without a boss to highlight a color and i also need the date of certification to highlight if it is more than one year old.
conditional formatting.xlsx
View 4 Replies
View Related
Feb 17, 2012
I have a range of cells with numeric values or blanks. I set up a Conditional Formatting rule with this range selected: New Rule > Format only cells that contain > Format only cells with: Blanks; then I set the formatting to a light green fill and on the Number tab > Category = Custom > Type: "blank"
The blank fields get the light green fill, but no text; that is, the value displayed is still blank.
I go back to edit the CF rule and change Blanks to No Blanks. The results are what I expect: the cells with numbers display the text blank and have a green fill; the blank cells have no fill (white).
This is my testing criteria. I eventually want the empty cells to display 0 (zero). I tried setting Custom > Type: 0 (the number placeholder zero) and Type: "0" (literally the number zero), and neither works.
I have tried this with Format only cells with Cell Value equal to [the address of a blank cell].
I tried to set the value as "" but kept getting =""""; and ="" became ="=""" ???
I have tried this with Use a Formula... using the len()=0, isblank(), and other approaches, all with the same results.
I also made sure the option [x] Show a zero in cells that have a zero value is checked.
With all approaches to identifying the blank cells, they ARE obviously being recognized as blank values: the fill color is being applied to the right cells; and when Not Blank is the criterion (or a negation of a formula), the blank ones are not formatted. But blank cells will not display the text as defined in the Custom Formatting.
And this isn't an issue of "If the cell displays 'blank' it's no longer blank, so the rule doesn't apply" - HERE'S WHY: I set up a second CF rule that sets the Font to red when the value is greater than zero and had this CF rule follow the CF rule for No Blanks (the test above that works). Cells with positive numbers displayed blank in red, cells with zeros or negative numbers displayed blank in black. This clarified that the actual value of the cell is being evaluated, not the displayed value after Custom formatting is applied.
View 2 Replies
View Related
Jul 22, 2014
On Sheet 1 I have Data Validation Lists set up. On Sheet 2 I have the information populating from what is entered on Sheet 1, only problem is...when I don't have anything entered in the cell(s) on Sheet 1 then the cell(s) on Sheet 2 reflect 0. I would like the cell(s) to remain blank if nothing is entered on Sheet 1.
View 4 Replies
View Related
Jan 14, 2014
I have a table created in Excel 2010 by a SQL query. the query pulls 3 columns of data - Resource Name, Contract Company, Labor Category. I then add a column called "KEY". KEY is derived using VLOOKUP. VLOOKUP is matching the Contract Company from the table created with SQL to a table called "Rate Key" in another worksheet in the spreadsheet based on the matching the Contract Company. That all works fine. If the table changes due to changes in data coming from the SQL db, the column I've added using VLOOKUP recalculates correctly. Then I add 2 more columns. One is called RATE - which is a number that I manually type in. The last column is called RCode and is calculated by the RATE times the KEY. Whenever I refresh the SQL query, all of the the calculated rows work fine; however, the data in the RATE column that I manually enter does not move - it stays with the row regardless of whether or not the name changes when the new SQL data comes over. How do I get the values manually entered in the RATE column to move with the correct row when the rows change?
View 2 Replies
View Related
Nov 4, 2012
I have a spreadsheet where I have a column of dates and I want conditional formatting to highlight the cell red if the date is less than or equal to today but if the cell is blank to do nothing.
At the moment I have the following formatting applied using the "format only cells that contain" option I have cell value less than or equal to =TODAY() except that obviously highlights every cell red that doesn't contain a date. Is there another conditional format I can apply in addition to this that will not highlight the blank cells ?
View 4 Replies
View Related
Jul 2, 2014
Cells in Column F change colour under certain conditions. How do I cancel or apply no format to cells in Column F if any date is entered in Column G.
View 3 Replies
View Related
Sep 10, 2009
I have a column of cells that changes colour when certain text is entered into them, ie "TIME" will make the fill colour brown. However, when other text is entered into the cell alongside "TIME", the conditional formatting doesn't change the colour of the cell. How do i get around this so it picks up on the "TIME" text even when other text exists alongside it?
View 2 Replies
View Related
Jul 1, 2012
I am using a conditional formula to compare if a cell in column A is higher than a cell in column B. If a cell is blank the cell is formatting. I am trying to highlight only cells with numbers. Any formula to place in the conditional format formula that will evaluate the cells excluding a blank cell?
ie: grapes and pears should be highlighted because value in column B is less than column A but the conditional format is highlighting apples also where apples should have no highlighting because the value in column B is none or blank.
A B
oranges 2.49 3.25
grapes 1.99 1.89
apples 1.00
pears 1.11 1.03
View 2 Replies
View Related
Jan 8, 2014
I need a formula for conditional formatting which highlights a row if A has the text "Ex" and B has "Paid".
View 2 Replies
View Related
Apr 23, 2012
I need conditional formatting formula that evaluates the values in a row of cells (7 total columns) and counts the number of entries that are 30 or greater. If there are at least three, then I need to apply formatting.
I just can't get the formula right:
Code:
=(COUNTIF(B7:H7,
View 2 Replies
View Related
Oct 28, 2013
I have a piece of code that runs through various excel files and takes the data (minus the header) and pastes that into a separate workbook. The piece of code that does the actual copying i think is this (i have used code from the msdn website)
Code:
With sourceRange
Set destrange = destrange. _
Resize(.Rows.Count, .Columns.Count)
End With
destrange.Value = sourceRange.Value
I have tried replacing the sourceRange.Value with sourceRange.Text however when i do that it will copy nothing any more.
View 2 Replies
View Related
May 5, 2014
I am working on a project that has 5 worksheets. I have been able to figure out everything else I need to do but this has me stumped. I have data in Sheet1 A6, that i want to place in Sheet2 A6, Sheet3 A6, Sheet4 A6 and Sheet5 A6 and keep data and formatting(BOLD AND UNDERLINE). So I change Sheet1 A6 and the other 4 sheets change also. I'm using Microsoft Excel 2007.
View 1 Replies
View Related
Jan 27, 2010
I have attached a small file with a very simple conditional formatting formula used to turn a block of cells green.
However, the formula does not seem to work properly as it only turns half of the cells green. Columns B1 to B18 are also supposed to turn green, but instead remain clear.
View 11 Replies
View Related
Aug 25, 2009
I need to be able to get a macro to do this. I recorded the macro. The conditional worked, but when I cleared it and then ran the macro, it highlighted all of the wrong stuff. Here is what I want to do: In column(AJ) I have cities with Prefixes or not In another column (AV) I have Criteria1 and in yet another, I have criteria2 (CB)
City
(AJ) Criteria1 Criteria2
SCRNRTH_SCRM1 FALSETRUE should fail test
A9_SCRNRTH_SCRM1FALSETRUE
A9_SCRNRTH_SCRM1FALSETRUE
A9_SCRNRTH_SCRM1FALSEFALSE should fail test
SCRNRTH_SCRM1 TRUETRUE should fail test
A9_SCRNRTH_SCRM1FALSETRUE
SCRNRTH_SCRM1 FALSEFALSE
A9_SCRNRTH_SCRM1FALSEFALSE should fail test
A9_SCRNRTH_SCRM1FALSEFALSE should fail test
A9_SCRNRTH_SCRM1TRUETRUE should fail test
A9_SCRNRTH_SCRM1FALSETRUE....................
View 6 Replies
View Related
Jul 24, 2009
I have column of cells, both of with have drop down menus to select information from. I have an adjacent cell to display an error based on conditions. Is there a way to have conditional formatting to apply to the cells with Data Validation to change the color, based on the error. I have tried using the Conditional Formatting options but it still does not change the color of them. I believe i have to use the formula option, but not exactly sure what to put, i know a if statement could work but unsure on how, there are only two conditions that i would need for it to apply, if the adjacent cell has an error, and when it does not. Is this possible?
View 9 Replies
View Related
Apr 9, 2014
how to make conditional formatting for border line (top & bottom) after repeat 5 data/text ....
it's possible with CF formula and do not vba?
see my excel file attached..
View 4 Replies
View Related
Feb 6, 2014
Refer to attached sheet. I have 2 sets of data to compare.
B4:H30 and K4:Q30
Compare B4 with K4,C4 with L4 and so on.
If any data is not equal then highlight.
Compare Data.xlsx
View 3 Replies
View Related
Dec 15, 2009
how to create a conditional formatting formula that looks like this..
"If A1 is equal to DATA highlights greater than zero on cells A2 to A1000.
View 9 Replies
View Related
Feb 5, 2013
how to apply conditional formatting via VBA to a range of cells based on input from another range of cells. Obviously this would be easy in Excel 2010, but I'm still using 2003 at the office and it needs to stay in this format to be readable by other users:
For cells M8:EK8, my conditional formatting
condition 2: Formula Is =AND($E$8>=M2,(($E$8-$D$8)>=(N2-$M$2))), color index is 40
condition 3: Formula Is =AND($F$8<=M2,$G$8>=M2), color index is 39
I want to add:
condition 4: Formula Is =AND($H$8<=M2,$I$8>=M2), color index is 40
condition 5: Formula Is =AND($J$8<=M2,$K$8>=M2), color index is 39
and so on
The cells in the range M8:EK8 are blank, they only get colored based on input added to D8 to K8. If there is no input, then the cells should be uncolored.
resource tracking ex.jpg
View 1 Replies
View Related
Sep 27, 2013
I'm using Excel 2010.
I have created a spreadsheet with 3 month inspection schedules on using the formula below.
=DATE(YEAR(C50),MONTH(C50)+3,DAY(C50))
I then copy this in to a cell where I want the date to appear... and then in to another cell where I want a further 3 month date to appear. Obviously changing the cell reference.
I would like the formula to ignore the very first cell "C50" if there is no date inputted in this cell.
View 2 Replies
View Related
Jan 6, 2014
I need a hand with conditional formatting if possible?
In the attached document i need the cell fill for the cells containing values (in column C) to change if data on sheet 2 is anything other than blank.
e.g. Sheet 1 C3 would be green fill and C4 would be no fill as Sheet 2 B3 contains a date and B4 does not
View 4 Replies
View Related
Jun 4, 2013
Here's my problem: I want conditional formatting to show yellow on dates for this month, lite red for cells containing dates this week, and red for any past dates. I figured out all of that, now IF there is a date in the cell to the right, the cell turns green. In other words the cell to the right shows that the action was completed on that date and we are good.
What would the formula be to:
Turn cell green, IF cell to right is NOT BLANK
View 1 Replies
View Related
May 15, 2008
I have a totals spreadsheet that links many other spreadsheets. I need to set up a formula for conditional formatting if the cell is blank (NOT ZERO). I need to ensure that the users are inputting zeros and not leaving the cells blank. I tried this but it's not working: ="IF('[Brown Deer-Q2-08.xls]Week 7'!G13)<"""
View 3 Replies
View Related