I am managing project due dates for respective students and I need the last column, “target date” to show a two week due date notification. The notification just means the row's "target date" turns red as soon as there is a two week period before the stated date.
Here is what it looks like:
A B C
John Doe 1/17/2016 4/1/16 (needs to turn red)
Bob JoeBob 7/1/2016 7/28/16 (needs to turn red)
Corny Steve 7/1/2016 7/30/16 (still normal font)
Any help would be greatly appreciated!
Highlight cells you want it to apply to, create a new rule in the conditional formatting drop-down menu, then write the formula =TODAY()+14
Related
I am trying to create an excel formula that locates duplicate entries for an employee. Records are pulled from two different systems and then the data is dumped into excel. Below is an example of how the records look. If an employee performed the same task on the same day that is a duplicate.
I've tried the index/match, index/match match, but it will only return the first duplicate (if it even works to do that). I have very little experience with arrays and I've been trying to figure those out to no avail - I feel like this should be easier than I'm making it??
Ideally would want it to return "yes/no" or "duplicate" when a duplicate value is found.
Set One
Client Employee Date
Bob Jones Sally Smith 1/1/2018
Jane Smith Tom Jones 2/1/2018
Set Two
Client Date Employee Task
Bob Jones 1/1/2018 Sally Smith 1
Bob Jones 1/1/2018 Sally Smith 2
Jane Smith 2/1/2018 Tom Jones 1
Jane Smith 2/1/2018 Tom Jones 1
I'm going to show an example using formula based conditional formatting. First you need to select more rules in conditional formatting as shown in the picture below.
After that you pick the option to use the formula to determine which cells to format, and use a formula that looks like this, it's a basic COUNTIFS formula that checks whether the records match at least one other record in the table in all columns that you write down.
=COUNTIFS($A$1:$A$10;$A1;$B$1:$B$10;$B1;$C$1:$C$10;$C1)>1
Note that the default format that the Excel offers you is actually a basic format, so you need to make sure to change it so you know whether the formula is working or not.
I might still be misunderstanding what you're trying to do, but if you want the first table to have a count of how many rows in second table have matching Client&Employee&Date to the first table, you could use COUNTIF (or perhaps VLOOKUP), with the aid of a "helper column" in the second table.
The helper column would concatenate Client&Employee&Date from the second row.
Forgive the weird image example... my beta version of Excel 2019 keeps crashing today and I'm not 100% sure this is what you're trying to do. (If it is what you need to do but don't understand the image, comment # me and I will explain further.)
I've got a spreadsheet which lists the hire start date for our fleet of vehicles, it lists the milage and each car needs a service every 12,000 miles.
I'm trying to use Conditional Formatting to highlight cars which need a service.
First one (less than 12000 miles works fine)
Next one should say this:
If N1 (cell of 2nd service) is blank and mileage (I1) is between 12,000 and 24,000 miles, highlight yellow.
Here it is:
=IF(AND(ISBLANK(N1),(I1>24000,I1<12000))
As it's in the Conditional Formatting tool it is just giving me a generic error.
Any ideas?
Thanks
Posting the formula as answer as it worked for you,
=AND(ISBLANK($N1),$I1<24000,$I1>12000)
I'm currently trying to make a comprehensive attendance list to be used by my colleagues. One of the questions I got from one of them was, if it was possible to highlight a name of a person who has been absent 3 consecutive times on a given day.
So, the way my sheet has been set up is that in row 1:1 there’s the dates of the lessons. They are held on Tuesdays and Thursdays. On row 2:2 it gives the day, so it goes from tue, to thu, back to tue until the end of the year.
Column A:A contains the names of all the students the caveat is that, the students that follow the lessons on Tuesday are different than the ones on Thursday, so the cells with the absence will never be adjacent to one another.
Now is there a way, with conditional formatting or other, that I can highlight a students name, who has 3 consecutive A’s behind their name?
Okay, I gather from your post that you are marking absences with an "a" in the cell of the absent date, and each student will only be expected to attend on either Tuesdays or Thursdays, e.g. every other cell in the row. I'm also assuming you'd want to continue highlighting for additional consecutive absences. This is what I came up with, hopefully it works for you.
Highlight the range of cells you want to apply the conditional formatting to.
Conditional Formatting -> New Rule -> Use formula to determine which cells to format -> =AND(B3="a",XFD3="a",XFB3="a")
This worked for me as demonstrated in the below image. Let me know if you need any adjustments and I'll see what I can do.
image
I understand (in a limited way) how to use conditional formatting in Excel 2010.
I have a calendar type of display across many columns, in one row, like this:
1 2 3 4 5 6 7 8 ...
I want to color 2 days green, 2 days red, 2 days orange, 2 days blue, then repeat.
I could do it manually, but I'd like to make a calendar that displays more than just this year. Leap years change the format, the 1st doesn't always come on Monday, etc.
Is there a way to do this with conditional formatting so that when the calendar updates, the colors do as well?
Each day/date occupies a single cell.
As a starting point try using this as a a formula for conditional formatting. This will effect every other row.
=MOD(ROW(), 2)=1
I understand you want to use the conditional formatting and not vba to do this. I have a calendar in which I highlight weekends, but you could extrapolate it to your case.
The formula you're searching for is the so called WEEKDAY How the week starts is self explainatory if you try it in a cell.
Let's say your dates are in the range A1:A30. The condition which will trigger the formatting would be =OR(WEEKDAY(A$1;2)=1;WEEKDAY(A$1;2)=2) for Monday and Tuesday =OR(WEEKDAY(A$1;2)=3;WEEKDAY(A$1;2)=4)) for Wednesday and Thursday
and so on.
Excel will handle leap years for you, so don't worry about that. And to fill the days, just type the first one in A1 and in A2 =A1+1and expand it all along.
Looking for an excel formula that will display "13-Aug" and means August of 2013. I would ideally want to copy the "13-Aug" cell to the 11 cells on its right, incrementing the month and appropriate year each time, so it would look like:
"13-Aug", "13-Sep", ..., "13-Dec", "14-Jan", "14-Feb"
There are a number of ways to go about this. One way would be to enter the date 8/1/2013 manually in the first cell (say A1 for example's sake) and then in B1 type the following formula (and then drag it across):
=DATE(YEAR(A1),MONTH(A1)+1,1)
Since you only want to see month and year, you can format accordingly using the different custom date formats available.
The format you're looking for is YY-Mmm.
Try the formula
=TEXT(TODAY(),"MMYYYY")
First thing first. set the column in which you are working in by clicking on format cells->number-> date and then format e.g Jan-16 representing Jan, 1, 2016.
and then apply either of the formulas above.
Very easy, trial and error. Go to the cell you want the month in. Type the Month, go to the next cell and type the year, something weird will come up but then go to your number section click on the little arrow in the right bottom and highlight text and it will change to the year you originally typed