I have a spreadsheet that has various rows filled in colours while the columns are set to months in text form - 'mmm'
what I want to do is format the sheet so the column that is the current month is shaded - for example - March - to show it is the current month. This will change as we move into April etc etc
I only want Current Month column to be shaded but I need to keep my original 'filled rows' as shown in the below screen example as they highlight other important info.
example sheet:-
Can anyone point me in the correct direction?
All advice very welcomed.
I am using Excel 2011 for Mac.
my hoped for result is something along the lines of the below:
Here's another Conditional Formatting formula that works with your setup. Add this formatting rule from A2 to L22 in your case:
=LOWER(A$1)= LOWER(TEXT(NOW(),"MMM"))
Note that the conditional formatting with override your row colors.
You can do this very easily with conditional formatting.
Suppose all your dates are in column E, you could do a conditional formatting rule such as:
=MONTH($E1) = MONTH(NOW())
Set it to all the data you want highlighted and then just choose the fill color you want.
Hope this helps.
If you insert a second row (it can be hidden) with month number (A2 = 1, B2=2, etc) then you can apply the following conditional format
=month(now())=A$2
and then apply formatting as you like.
You need to make sure that this applies to the entire range.
Related
thanks in advance for the help.
I'm making a Gantt chart in Excel and am trying to integrate the capability to highlight the work week (WW). The idea is that one can select the WW from a drop down menu and the corresponding columns in the chart are highlighted. I am struggling with the conditional formatting formula to highlight the desired dates.
Here's a screen shot of how the chart is set up
I am able to highlight the column of the cell containing the WW value (e.g. in picture column I is highlighted as it contains "WW42" in cell I3. I would like to be able to highlight the days from Sunday to Saturday of each WW.
Most formulas (that I know) work on the value of the cells rather than their location or index. I have tried simply filling in all the blank cells with the WW value and then hiding the value, but the formatting isn't aesthetically pleasing and it's not efficient.
I have also tried merging the WW cells, but am unable to select all columns of the length of the merged cell, just the first column associated. For example, if I merged I3 to O3, conditional formatting will highlight that merged cell and only column I.
Any suggestions on how to approach this is greatly appreciated!
Attached is a screenshot of my structure with my conditional formating working as required. You'll need to adjust acording to your structure, but I used a formula-based conditional formating, with the rule:
=COUNTA($B$2:B$2)=$A$1 //Where A1 contains the workweek I want to highlight
Entered into cells $B$3:$V$6. Of course, in your case you'd have to change it to something like:
=COUNTA($B$2:B$2)+41-3=$A$1
Since your work weeks start at 42 and you have 3 extra headings you dont want added on your sum (ACTUAL START, ACTUAL DURATION and PERCENT COMPLETE). Also the header for the work week has to be a numeric value, but you can play around this to get what you need. Let me know if you'd need further help.
You do not need to use the third row for your conditional formatting, if row 4 has legal excel dates. The WEEKNUM() formula gives you exactly what you need.
If your Dropdown Menu is in cell B2 and consists of numbers from 1-52 then this should work for your conditional formatting:
=$B$2=WEEKNUM(D$1)
See attached photo.
I'm new to Excel and I would like to highlight all the rows that are older than my input date.My Spreadsheet is much longer than this example picture, and users might add a row with a new date.
How can I achive this? Thank you!
This can be done with Conditional Formatting. First, don't use a merged cell if you can help it (it looks like your input date is "A and B 85").
Let's say your input date is $A$85, you can go to Conditional Formatting. I'm also going to assume your date data starts in $P$87
Highlight row 87 (or just A87:P87 if you don't want the entire row highlighted).
In Conditional Formatting, use this formula:
=And($P87<>"",$P87<=$A$85)
Then click the Format, and go to "Fill", and choose Yellow, or whatever color you want.
Then, change the range the conditional formatting is applied to to say =$A87:$P1000 to have all rows in between 87 and 1000 highlighted if the date is older than your input date.
i am trying to make a work calendar for myself. screenshot of the excel file
I have written a conditional formatting to color all saturdays and sundays with the following code
=OR(WEEKDAY(B2)=2,WEEKDAY(B2)=1)
how can i make the Entire column under that day be colored.
Thanks :)
If you are not going to be moving columns around (Friday will always be in whichever cell it is at present and days just continue in sequence to the right) it might be easier to select the entire range to be subject to formatting and HOME > Styles - Conditional Formatting, New Rule..., Use a formula to determine which cells to format and Format values where this formula is true::
=OR(MOD(COLUMN(),7)=3,MOD(COLUMN(),7)=4)
Format..., select your choice of Fill, OK, OK.
Adjust 3 and 4 to match whichever day you choose to start the sequence with wherever your selected range starts.
Given information you have withheld of what is where the above might be simplified.
In Conditional formatting | Use a formula...
=WEEKDAY(B$2,16)<3
extended from B2 down and across.
Looks like you need to add a relative cell reference on B2:
=OR(WEEKDAY(B$2)=2,WEEKDAY(B$2)=1)
Here's an article about using relative references in conditional formatting: https://www.ablebits.com/office-addins-blog/2014/08/07/relative-absolute-cell-references-excel-conditional-formatting/
I have a table with a round 500 rows of data. I want to setup conditional formatting to highlight rows based upon how old a row is (based upon the date cell in that row). The idea is that as an entry get's older, it is entered with a white background, but as it ages, it turns a darker shade of red. We have data taken from 5 separate weeks and plan to add more. Is this POSSIBLE in Excel, or will I need to highlight each week manually?
If you are willing to have one column be highlighted, as opposed to the entire row, this example should help.
Steps to reproduce:
Highlight the column with the dates
In the Conditional Formatting menu (Under the Home Tab on the Ribbon - Office 2013)
New Rule
Format All Cells based on their values.
Choose the darkest color for the Lowest Value
Choose the lightest color for the Highest Value
OK
Note in the example below how the scale of the colors changes based on the range. When the lowest date is 2001, that receives the darkest red, but when a date from 1980 is entered, the dates from 2001 and up are considered to be in the lighter third.
The formatting applies to the entire column, so you can add as many dates as you need.
Here are some very useful tips demonstrating a number of uses for conditional formatting:
Excel formulas for conditional formatting based on another cell value
How to conditionally format dates and time in Excel - built-in rules and formulas
I have data like this:
In one sheet I have a table A with dates (ascending order) and account balances.
In another table B, I want to retrieve the balance on the last day of the month.
Now, I want to set the font color to white if the the latest date in table A is smaller than the corresponding date in table B.
See screenshot below, I want the marked area to be white (June 2014 and later). I think this can be done with conditional formatting.
Someone knows?
Starting in A19, select the cells in the row. Create a new conditional format based on a formula
=DATE(YEAR(A16),MONTH(A16),1)>MAX($C$1:$C$13)
Format the text white for this rule.