메인 컨텐츠로 가기

Excel에서 날짜를 기준으로 조건부 서식을 지정하는 방법은 무엇입니까?

우리가 알고 있듯이 조건부 서식은 셀 내용에 따라 셀 형식을 자동으로 변경할 수 있습니다. 이 튜토리얼에서는 Excel에서 날짜를 기반으로 셀 조건부 서식을 지정하는 방법을 소개합니다.

TODAY 이상 / 이전의 조건부 서식 날짜

과거 날짜 조건부 서식

조건부 서식 미래 날짜

두 날짜 사이의 조건부 서식

다른 열의 날짜를 기반으로하는 조건부 서식


TODAY 이상 / 이전의 조건부 서식 날짜

날짜를 조건부 서식으로 지정하려면 새 규칙을 만들어야합니다.

1. 조건부 서식을 추가 할 셀을 선택하고 > 조건부 서식 > 새로운 규칙.
문서 조건부 서식 날짜 1

2. 에서 새로운 서식 규칙 대화 상자에서 선택하십시오. 수식을 사용하여 서식을 지정할 셀 결정 in 규칙 유형 선택 섹션을 입력 한 다음 입력해야하는 수식을 하나 선택합니다. 이 공식이 참인 경우 값 형식 지정 텍스트 상자.

  • 오늘과 같음 :=$B2=TODAY()
  • 오늘보다 더 낫다 : =$B2>TODAY()
  • 오늘 이후 : =$B2<TODAY()

문서 조건부 서식 날짜 2

3. 클릭 형성 가기 위해 셀 서식 대화 상자에서 필요에 따라 셀을 강조 표시 할 하나의 형식을 선택합니다.
문서 조건부 서식 날짜 3

4. 클릭 OK > OK. 날짜 형식이 지정되었습니다.

주의 사항: 오늘은 15 년 8 월 2018 일입니다.
문서 조건부 서식 날짜 4


과거 날짜 조건부 서식

지난 날짜를 조건부 서식으로 지정하려면 새 서식 규칙 대화 상자에서 다음과 같이 할 수 있습니다.

1. 필요에 따라 아래 수식 중 하나를 선택하고 이 공식이 참인 경우 값 형식 지정 텍스트 상자.

  • 30 일 이전 : =TODAY()-$B2>30
  • 30 ~ 15 일 전, 다음을 포함 : =AND(TODAY()-$B2>=15, TODAY()-$B2<=30)
  • 15 일 이내 : =AND(TODAY()-$B2>=1, TODAY()-$B2<15)

2. 그런 다음 형성 하나의 형식을 선택하려면 셀 서식 대화.

3. 클릭 OK > OK 대화 상자를 닫습니다.

주의 사항: 오늘은 15 년 8 월 2018 일입니다.
문서 조건부 서식 날짜 5


조건부 서식 미래 날짜

미래 날짜를 조건부 형식으로 지정하려면 다음과 같이 할 수 있습니다.

1. 필요에 따라 아래 수식 중 하나를 선택하고 이 공식이 참인 경우 값 형식 지정 텍스트 상자.

  • 지금부터 30 일 이상 후 발생 : =$B2-TODAY()>30
  • 30 ~ 15 일 이내 : =AND($B2-TODAY()>=15, $B2-TODAY()<=30)
  • 15 일 이내 : =AND($B2-TODAY()>=1, $B2-TODAY()<15)

2. 그런 다음 형성 하나의 형식을 선택하려면 셀 서식 대화.

3. 클릭 OK > OK 대화 상자를 닫습니다.


두 날짜 사이의 조건부 서식

두 날짜 사이에 조건부 서식을 지정하려면 셀을 선택하고 다음 수식을 사용합니다. =AND($B2>=$D$2,$B2<=$E$2) D2는 시작 날짜이고 E2는 종료 날짜입니다. 그런 다음 필요한 형식으로 셀의 서식을 지정합니다.

문서 조건부 서식 날짜 6
문서 조건부 서식 날짜 7

다른 열의 날짜를 기반으로하는 조건부 서식

다른 열의 날짜를 기반으로 조건부 서식 셀을 원하는 경우 다음과 같이 할 수 있습니다.

1. B 열의 상대적 날짜가 16 년 8 월 2018 일인 반면 C 열의 매출을 강조하고 싶다면 먼저 C 열 범위를 선택하십시오.

2. 새 서식 규칙 대화 상자를 활성화하고이 수식을 입력합니다. =$B2=DATEVALUE("8/16/2018") 이 공식이 참인 경우 값 형식 지정 텍스트 상자를 클릭 한 다음 셀 서식 대화.

문서 조건부 서식 날짜 8
문서 조건부 서식 날짜 9

참고 : 위의 수식에서 B2는 선택한 기간의 첫 번째 날짜 셀입니다.


최고의 사무 생산성 도구

🤖 Kutools AI 보좌관: 다음을 기반으로 데이터 분석을 혁신합니다. 지능형 실행   |  코드 생성  |  사용자 정의 수식 만들기  |  데이터 분석 및 차트 생성  |  Kutools 기능 호출...
인기 기능: 중복 항목 찾기, 강조 표시 또는 식별   |  빈 행 삭제   |  데이터 손실 없이 열이나 셀 결합   |   수식없이 반올림 ...
슈퍼 조회: 다중 기준 VLookup    다중 값 VLookup  |   여러 시트에 걸친 VLookup   |   퍼지 조회 ....
고급 드롭다운 목록: 드롭다운 목록을 빠르게 생성   |  종속 드롭다운 목록   |  다중 선택 드롭 다운 목록 ....
열 관리자: 특정 개수의 열 추가  |  열 이동  |  Toggle 숨겨진 열의 가시성 상태  |  범위 및 열 비교 ...
특색 지어진 특징: 그리드 포커스   |  디자인보기   |   큰 수식 바    통합 문서 및 시트 관리자   |  리소스 라이브러리 (자동 텍스트)   |  날짜 선택기   |  워크 시트 결합   |  셀 암호화/해독    목록으로 이메일 보내기   |  슈퍼 필터   |   특수 필터 (굵게/기울임꼴/취소선 필터링...) ...
상위 15개 도구 세트12 본문 도구 (텍스트 추가, 문자 제거,...)   |   50+ 거래차트 유형 (Gantt 차트,...)   |   40+ 실용 방식 (생일을 기준으로 나이 계산,...)   |   19 삽입 도구 (QR 코드 삽입, 경로에서 그림 삽입,...)   |   12 매출 상승 도구 (숫자를 단어로, 환율,...)   |   7 병합 및 분할 도구 (고급 결합 행, 셀 분할,...)   |   ... 그리고 더

Excel용 Kutools로 Excel 기술을 강화하고 이전과는 전혀 다른 효율성을 경험해 보세요. Excel용 Kutools는 생산성을 높이고 시간을 절약하기 위해 300개 이상의 고급 기능을 제공합니다.  가장 필요한 기능을 얻으려면 여기를 클릭하십시오...

상품 설명


Office Tab은 Office에 탭 인터페이스를 제공하여 작업을 훨씬 쉽게 만듭니다.

  • Word, Excel, PowerPoint에서 탭 편집 및 읽기 사용, Publisher, Access, Visio 및 Project.
  • 새 창이 아닌 동일한 창의 새 탭에서 여러 문서를 열고 만듭니다.
  • 생산성을 50% 높이고 매일 수백 번의 마우스 클릭을 줄입니다!
Comments (19)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
How can I automatically add a date when a cell contains certain text? So, for example, if cell A1 contains "to do", a date is automatically added in another cell. This date is based on a date also from a cell and I would like to add a date + 65 days in the future. Is this possible?
This comment was minimized by the moderator on the site
Cześć, mierzę się z problemem warunkowego podświetlania daty, np.: w kolumnie A mam datę startu danej czynności np. 01.01.2023, w kolumnie B mam datę końca danej czynności np. 07.01.2023 i chodziłoby mi o to, żeby wyróżnić warunkowo np. kolorem zielonym datę w kolumnie B jeżeli pomiędzy datą startu, a datą końca czynności upłynęło mniej niż 7 dni, jeżeli 7 dni i więcej kolorem czerwonym.
This comment was minimized by the moderator on the site
Use two formulas in the conditional formatting dialog:
difference between start date and end date is greater than or equal to 7 days: =B2-A2>=7 format to red
difference between start date and end date is smaller than 7 days: =B2-A2<7 format to green
see screenshot:
https://cdn.extendoffice.com/images/stories/comments/sun-comment/doc-difference-greater-than-7.png
This comment was minimized by the moderator on the site
Cześć, mierzę się z problemem warunkowego podświetlania daty, np.: w kolumnie A mam datę startu danej czynności np. 01.01.2023, w kolumnie B mam datę końca danej czynności np. 07.01.2023 i chodziłoby mi o to, żeby wyróżnić warunkowo np. kolorem zielonym datę w kolumnie B jeżeli pomiędzy datą startu, a datą końca czynności upłynęło mniej niż 7 dni, jeżeli 7 dni i więcej kolorem czerwonym.
This comment was minimized by the moderator on the site
Cześć, mierzę się z problemem warunkowego podświetlania daty, np.: w kolumnie A mam datę startu danej czynności np. 01.01.2023, w kolumnie B mam datę końca danej czynności np. 07.01.2023 i chodziłoby mi o to, żeby wyróżnić warunkowo np. kolorem zielonym datę w kolumnie B jeżeli pomiędzy datą startu, a datą końca czynności upłynęło mniej niż 7 dni, jeżeli 7 dni i więcej kolorem czerwonym.
This comment was minimized by the moderator on the site
Ciao, come posso utilizzare il conditional formatting per evidenziare il mese corrente e il mese successivo?
This comment was minimized by the moderator on the site
Hi, Michela,
highlight the date in current month, please use formula =TEXT(TODAY(),"m")-TEXT(A1,"m")=0 in conditional formatting new rule dialog, and select a color such as yellow to outstanding the dates.
highlight the date in next month, use formula =TEXT(A1,"m")-TEXT(TODAY(),"m")=1 in conditional formatting new rule dialog, and select a color such as green to outstanding the dates.
see screenshot:
https://cdn.extendoffice.com/images/stories/comments/sun-comment/doc-highlight-current-month.png
This comment was minimized by the moderator on the site
Hello there! I have been searching everywhere for an answer to my problem. I really hope that you can help. I have a column of dates that have taken place in the past. It was when a medical fit test was performed. Those need to be done every two years. What I would like to do is have the dates highlight the box Yellow when they are within being 30 days due, and then Red as soon as they are past due. (So if the date in the box is 1/1/2021, it would turn yellow on 12/1/22. It would then turn red on 1/2/23) These dates are a column in a database so I can't just put a date in a cell to be the reference in the formula. I can only use the cell with the date itself. My brain has melted trying to figure this out, please help. I've gone in Excel formula circles and keep coming up with nothing.

I also have a second column that I need to do the same thing with where it happens on a yearly basis.

Any help will be appreciated. Thank you
This comment was minimized by the moderator on the site
Hi, Kris, create two rules in the conditional formatting dialog:
=AND(0<DATE(YEAR($A1)+2,MONTH($A1),DAY($A1))-TODAY(),DATE(YEAR($A1)+2,MONTH($A1),DAY($A1))-TODAY()<=30) using this formula and choose yellow filled color to mark the within 30 days due
=(DATE(YEAR(A1)+2,MONTH(A1),DAY(A1))<TODAY()) using this formula and choose red filled color to mark the past due
This comment was minimized by the moderator on the site
Hola!

como puedo hacer una formula para que si columna D es igual a la comuna E sea verdadero, pero si columna A + 90 dias es igual al columna E siga siendo verdadero de lo contrario sea falso, gracias.
This comment was minimized by the moderator on the site
Hi, try this formula:=IFERROR(IFS(E2=D2,"TRUE",E2=A2+90,"TRUE"),"""FALSE")
Notice that if you are not in other lagnuage version, maybe you need to transform the formula to your local language.
This comment was minimized by the moderator on the site
ERP PO No. Region Update-1 Supplier PIC Note To Receiver PO Age
1091BPA6438143-121 Bali - Lombok Not Yet Implement PS2MS XL 31
1091BPA6438143-123 Bali - Lombok Not Yet Implement Lumpsum 31
1091BPA6438143-124 Bali - Lombok Not Yet Implement Service Package 31
1091BPA6438143-125 Bali - Lombok Not Yet Implement Battery Maintenance 31
1091BPA6438143-127 Bali - Lombok Not Yet Implement MS Dismantle Board 22

kalau cara conditional formating untuk PO aging Lebih dari 70 gimana ya, tapi di file pivot, karena database saya untuk po aging 70 itu pake rumus =IFERROR(DATEDIF(NOW();B56;"d");""&DATEDIF(B56;NOW();"d")) jadi saat saya conditional formating aging lebih dari 70 dengan warna merah itu tidak ke detack di pivotnya,
mohon bantuannya😁
This comment was minimized by the moderator on the site
Bonjour,
je cherche dans GOOGLE SHEET à faire une mise en forme conditionnelle par rapport à une date; je cherche à faire en sorte que quand la date inscrite dans une case dépasse 15jrs alors elle devienne rouge. (01/08/22 dans la case, quand nous sommes le 16/08/22 je voudrais que la case devienne rouge)

merci d'avance.
This comment was minimized by the moderator on the site
Hi, vex, sorry that I only can reply with English since I do not know French. Supposing you want to format all dates that over 15 days based on a date 7/21/2022, you may firstly, change the date 7/21/2022 to a number, 44763, then select the dates that you want to highlight, click Format > Conditional Formatting, and choose Custom formula is in the Format Rules section, type B2>44763+15, and choose red color. See the screenshot:
https://www.extendoffice.com/images/stories/comments/sun-comment/doc_google_sheet_conditional_formatting.png
Hope can help you.
This comment was minimized by the moderator on the site
Bonjour, j'ai téléchargé un document excel pour la gestion des congés: Shift staff. Je voudrais que certaines dates soient conditionnées pour rester inactives chaque année (il s'agit des congés légaux comme le 1er janvier ou le 15 aout) - actuellement je ne peux conditonner que les jours de la semaine, pas les dates - pouvez-vous m'aider?

Merci beaucoup

Pascale
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations