Excel에서 날짜 조건부 서식(연체, 임박, 주말)
수식 규칙을 날짜 열에 적용하고 범위의 첫 셀 기준으로 쓰세요. 마감 F1에 대한 연체는 =A2<$F$1입니다. 주말은 WEEKDAY 반환 형식 2(월요일이 1, 일요일이 7)에서 토요일이 6, 일요일이 7이므로 =OR(WEEKDAY(A2,2)=6,WEEKDAY(A2,2)=7)입니다. 셀은 실제 날짜여야 하며 날짜처럼 보이는 텍스트면 안 됩니다.
목차
빠른 답변
수식 규칙을 날짜 열에 적용하고 범위의 첫 셀 기준으로 쓰세요. 마감 F1에 대한 연체는 =A2<$F$1입니다. 주말은 WEEKDAY 반환 형식 2(월요일이 1, 일요일이 7)에서 토요일이 6, 일요일이 7이므로 =OR(WEEKDAY(A2,2)=6,WEEKDAY(A2,2)=7)입니다. 셀은 실제 날짜여야 하며 날짜처럼 보이는 텍스트면 안 됩니다.
=A2<DATE(2024,3,1)확인 사항
2026년 11월 12일 테스트에서 DATE(2024,2,20)<DATE(2024,3,1)은 TRUE, 3월 1일과 3월 4일은 FALSE였습니다. WEEKDAY(DATE(2024,3,4),2)는 1(월요일), WEEKDAY(DATE(2024,3,9),2)는 6(토요일)입니다. 앞으로 7일은 =AND(A2>=$F$1,A2<=$F$1+7)입니다.
주의점 및 호환성
ISNUMBER(A2)가 FALSE이면 텍스트 날짜라서 비교가 기대대로 칠해지지 않을 수 있으니 먼저 변환하세요. 범위가 A2부터인데 =A1<$F$1로 쓰면 한 행이 어긋납니다. TODAY()는 매일 바뀌므로 테스트 파일에는 DATE나 셀이 더 안전합니다. 먼저 도우미 열에서 같은 수식의 TRUE 또는 FALSE를 확인한 뒤 색을 믿으세요.
영어 상세 예제, 수식 및 작성자 메모
Excel How-toTested in: The date comparisons and
WEEKDAYresults below were evaluated in Google Sheets on 12 November 2026. Excel 365 menu names are the current desktop labels; I did not click through Conditional Formatting in Excel this session.
The general feature guide is in Conditional Formatting in Excel. If a formula rule highlights the wrong rows, see formula not working. This page is only about date rules.
Overdue against a cutoff
Pick a cutoff you can test. In the test workbook the cutoff was 1 March 2024:
=A2<DATE(2024,3,1)
or, with the cutoff in F1:
=A2<$F$1
On 12 November 2026, =DATE(2024,2,20)<DATE(2024,3,1) was TRUE, and the same comparison for 1 March and for 4 March was FALSE. A due date that equals the cutoff is not overdue under a strict < rule; use <= if the due date itself should count.
Apply the rule to A2:A100 (or however long the list is), not to A1 if A1 is a header. To color the entire row, apply it to A2:F100 and lock the date column: =$A2<$F$1.
TODAY() is fine when you want the cutoff to move: =A2<TODAY(). I did not evaluate TODAY() in the test workbook on a frozen date, because it would change tomorrow. For a screenshot or a test file, prefer DATE or a cell.
Upcoming dates, and weekends
A window from the cutoff through the next seven days:
=AND(A2>=$F$1,A2<=$F$1+7)
If F1 is 1 March 2024, 4 March is inside that window and 20 February is not.
For weekends, use WEEKDAY with return type 2 so Monday is 1 and Sunday is 7:
=OR(WEEKDAY(A2,2)=6,WEEKDAY(A2,2)=7)
In the test workbook, =WEEKDAY(DATE(2024,3,4),2) returned 1 (4 March 2024 was a Monday) and =WEEKDAY(DATE(2024,3,9),2) returned 6 (a Saturday). Type 1 of WEEKDAY is different (Sunday = 1); do not mix the two types in the same rule.
Google Sheets uses the same formulas in Format > Conditional formatting > Custom formula is.
When the rule does nothing
If =ISNUMBER(A2) is FALSE, the cell is text that looks like a date, and a comparison against DATE or TODAY() will not highlight it reliably. Convert the column first, as in dates stored as text.
A rule written as =A1<$F$1 on a range that starts at A2 is aimed one row too high. A cutoff typed as 2024-03-01 but stored as text is the same class of problem as text dates in the list.
Built-in rules such as A Date Occurring > Yesterday can work for quick filters, but a formula you can test in a helper column is easier to check. Put =A2<$F$1 next to the first date, fill down, and confirm the TRUE/FALSE pattern before you rely on the color.