I have created rather complex report with multiple formulas. To keep the report clean, I decided not to show formula results if a certain cell is blank.
QUESTION:
Is there any way to 'incorporate' that check to every single formula on the said worksheet OR do I always have to do a isblank check for every single formula I am writing?
Since about Excel for Mac 2011 you have the option of a workaround, which is to blend the formatting of cells containing a formula into their background, with conditional formatting. The usual approach is to turn cell content white, on a white background. With say A4 to be the cell that either is or is not blank a CF formula rule of something like:
=AND(ISBLANK($A$4),ISFORMULA(A1))
with white fill should work for a range starting in A1.
Related
I am looking for a formula to always use the cell above if the cell below is blank. If the blank cell is then filled out I will need the statement to jump to the next cell below it.
Lets assume your data is layed out as per the image below and your want your formula to go in the yellow cell. You want the last entry in the cells below, and you want the data from the cell above if there are no entries below.
The sticky part of this solution in that it uses a function that performs array like calculations. As such you should not use full column references. Without knowing what you data layout is it makes it difficult to automate a few things. For this particular solution I am assuming you will not have any other information below the yellow cells other than certificates. I have also assumed you wont have any certificates added past row 20. Feel free to adjust this number to suit your needs, however avoid full column references within AGGREGATE as you will be performing a bunch of useless calculations on empty cells that can bog down your system.
Used the following formula in the yellow cell B3 then copy to D4:
=IFERROR(INDEX(B:B,AGGREGATE(14,6,ROW(B4:B20)/(B4:B20<>""),1)),B2)
I have a perplexing problem with one of my Excel spreadsheets. I have a "task list" spreadsheet, with conditional formatting to highlight items that are near their due date and overdue. One cell in my entire worksheet is not allowing the conditional formatting, and I am not sure why. It does not matter what is in the cell.
I have tried:
deleting the table row
deleting the entire row
re-typing the cell
re-sorting the cells
deleting and re-creating the rule
verifying that the rule is applied to that cell
Any ideas as to what is causing this?
The affected cell is D5. You can download the spreadsheet here: Google Drive download link
Since that's cell D5, instead of ROW()>5 you should use ROW()>=5.
Also "before today" would be <TODAY() . The +1 makes it "before tomorrow".
It's kind of unusual to have a row number in there at all. I assume you did that so you could apply the format to the whole column but if the extra cells are not dates (like, are just titles) then they shouldn't be affected by the conditional formatting.
If it was me, I would clear all the formatting from that column and in D5 add the simple conditional formatting criteria =D5<TODAY(), then copy that cell, click heading D to select the entire column, Ctrl+Alt+V and Paste Formats.
Better yet, only apply the Conditional Formatting to the cells that need it, not the whole column. Conditional Formatting increases the file size and slow down calculation more that one would think. (I was argued that but was proven wrong!)
I want to apply a conditional formatting (CF) rule to a group of cells to individually colour them if their individual cell values are greater than a threshold (in this case >=5). To illustrate:
The top row shows how I want the bottom row to look. For the bottom row I cannot figure out how correctly format according to cell-specific formulae.
The problem is identifying a way to specify cell-specific CF formulas in a single operation for a group of cells - as you can by pasting/dragging normal cell formulas. I obviously don't want to have to manually specify the formula for each cell!
Grateful for assistance.
Select the rows or columns or range that you want to conditional format,
Enter the below formula in the formula bar in conditional format and choose a fill color,
=AND(A1>=5,ISNUMBER(A1))
If you are starting in row3, change the A1 to A3. The $ that you have in the formula makes it absolute. It should be relative.
You just select all required cells to format. Then go to conditional formatting.
Check what is the cell shown just before the formula bar (the single cell that represents the selected range, also called default cell) and use that cell in your formula without absolute reference. like B3>=5 or R3>=5
I am trying to implement the following logic but my formulas are not encompassing all possibilities.
Am I able to accomplish the following using the approach outlined below?
C5 has a start date(yy/mm/dd), 2013-10-01.
D5 has an end date(yy/mm/dd),2013-10-23.
F3->CX2 has 7 cells merged with the monday's date in the cell.
Example: F3: 30-Sep-13, M3: 07-Oct-13, T3: 14-Oct-13.
F4->CX4 and below are the unmerged seven cells, therefore you have seven cells below each week cell.
My goal is to use Conditional Formatting when cell has value TRUE to fill the background colour of each individual cell between the start and the end date. However I am having trouble determining the correct formula. I have tried the following in F4 and across and below but none have proven to work for all scenario's:
F4=AND(C5=F3, D5>=F3) F5=AND(C5=(F3+1), D5>=(F3+1))...
only fills the cell for the start date not all the cells between the start and end date.
In short, I need to identify the start cell and fill it, continue filling all cells until the end date.
Should this be a macro with a while loop?
***I Believe I have solved my question with the following formula:
=IF(AND((F3)>=$C$5,(F3)<=$D$5),TRUE,FALSE), =IF(AND((F3+1)>=$C$5,(F3+1)<=$D$5),TRUE,FALSE), =IF(AND((F3+2)>=$C$5,(F3+2)<=$D$5),TRUE,FALSE)...Then after 7 cells it becomes: =IF(AND((M3+1)>=$C$5,(M3+1)<=$D$5),TRUE,FALSE), =IF(AND((M3+1)>=$C$5,(M3+1)<=$D$5),TRUE,FALSE)
Should this be a macro with a while loop?
It seems it does not have to be, though that depends upon my interpretation of your question, which seems odd if only because the conditions are not in the rows for which they trigger the formatting.
Select the applicable range starting in F4 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($F$3+COLUMN()-6>=$C5,$F$3+COLUMN()-6<=$D5)
Format..., select choice of formatting, OK, OK.
Here's a stepwise view on the problem as I see it:
Set up your data and include the actual date of your "weekly view" as part of the sheet:
Add conditional formatting to a single cell (say, Monday of Week 1) that applies to "a formula to determine which cells to format":
Copy-and-Paste-formats to the remainder of the cells:
The result should resemble:
Change the actual cell formatting to "" to remove the date from view:
The removes the capability to insert any content in the cells (but that wasn't part of the question). If you want to insert content and maintain colouring, you can base the conditional formatting on a similar-sized/shaped layout elsewhere in the sheet and format it accordingly. For example, the following layout provides this yet allows you to enter content in the conditionally formatted area:
Use the formula conditions. I put a start date in A1, and an end date in A2. Modify as needed per your requirements.
Then I will apply conditional formatting to values in range E1:E6. Again, modify as per your requirements.
Then simply use Highlight cells Rules > Between
Then, select your start/end values and press OK. Voila!
Does anyone know if there is a way to replicate a cell exactly in excel, so that it has both the same value and same format? So that if the format of the 'parent' cell changes (through conditional formatting) then the replicated cell also changes format.
Thanks in advance
Let's assume the original cell is A1.
The simplest way would be to set the new cell =a1. To copy the conditional formatting, Select the original cell, a1, and select the Format Painter (on the clipboard sub-menu; looks like a paintbrush on a diagonal). (The icon will change to a paintbrush.) Then click on the new cell.
I tried this out for several types of Conditional Formatting, and it works well for the Conditional Formatting -> Highlight Cell Rules (Say, Greater than nn).
It also works well for ranges like Top/Bottom Rules or Color Scales, but you will need to copy the entire range (it won't work if you're copying a single cell because the range doesn't make sense).