انتقل إلى المحتوى الرئيسي

كيف يتم تحديد تواريخ التنسيق الشرطي أقل من / أكبر من اليوم في Excel؟

يمكنك تنسيق التواريخ الشرطية بناءً على التاريخ الحالي في Excel. على سبيل المثال ، يمكنك تنسيق التواريخ قبل اليوم ، أو تنسيق التواريخ الأكبر من اليوم. في هذا البرنامج التعليمي ، سنوضح لك كيفية استخدام وظيفة TODAY في التنسيق الشرطي لتمييز تواريخ الاستحقاق أو التواريخ المستقبلية في Excel بالتفصيل.

تواريخ التنسيق الشرطي قبل اليوم أو التواريخ في المستقبل في Excel


تواريخ التنسيق الشرطي قبل اليوم أو التواريخ في المستقبل في Excel

لنفترض أن لديك قائمة بالتاريخ كما هو موضح أدناه. للسماح بتواريخ الاستحقاق والتواريخ المستقبلية معلقة ، يرجى القيام بما يلي.

1. حدد النطاق A2: A15 ، ثم انقر فوق تنسيق مشروط > إدارة القواعد مع الصفحة الرئيسية التبويب. انظر لقطة الشاشة:

2. في ال مدير قواعد التنسيق الشرطي مربع الحوار، انقر فوق قانون جديد .

3. في ال قاعدة تنسيق جديدة مربع الحوار ، تحتاج إلى:

1). تحديد استخدم صيغة لتحديد الخلايا المراد تنسيقها في تحديد نوع القاعدة قسم.

2). إلى عن على تنسيق التواريخ الأقدم من اليوم، يرجى نسخ الصيغة ولصقها = A2 دولار في تنسيق القيم حيث تكون هذه الصيغة صحيحة صندوق؛

في حالة تنسيق التواريخ المستقبلية، الرجاء استخدام هذه الصيغة = A2 دولار> اليوم ();

3). انقر على شكل زر. انظر لقطة الشاشة:

4. في ال تنسيق الخلايا ، حدد تنسيق تواريخ الاستحقاق أو التواريخ المستقبلية ، ثم انقر فوق ملف OK .

5. ثم يعود إلى مدير قواعد التنسيق الشرطي صندوق المحادثة. ويتم إنشاء قاعدة تنسيق تواريخ الاستحقاق. إذا كنت تريد تطبيق القاعدة الآن ، فالرجاء النقر فوق التقديم .

6. ولكن إذا كنت تريد تطبيق قاعدة تواريخ الاستحقاق وقاعدة التواريخ المستقبلية معًا ، فيرجى إنشاء قاعدة جديدة باستخدام صيغة تنسيق التاريخ المستقبلي عن طريق تكرار الخطوات المذكورة أعلاه من 2 إلى 4.

7. عندما يعود إلى مدير قواعد التنسيق الشرطي مربع الحوار مرة أخرى ، يمكنك مشاهدة القاعدتين تظهران في المربع ، يرجى النقر فوق OK زر لبدء التنسيق.

ثم يمكنك مشاهدة التواريخ الأقدم من اليوم ويتم تنسيق التاريخ الأكبر من اليوم بنجاح.

تنسيق شرطي بسهولة كل n صف في التحديد:

كوتولس ل إكسيل's تظليل الصف / العمود البديل تساعدك الأداة المساعدة على إضافة تنسيق شرطي بسهولة إلى كل صف في تحديد Excel.
قم بتنزيل الإصدار المجاني الكامل من Kutools for Excel لمدة 30 يومًا الآن!


مقالات ذات صلة:

أفضل أدوات إنتاجية المكتب

🤖 مساعد Kutools AI: إحداث ثورة في تحليل البيانات على أساس: التنفيذ الذكي   |  إنشاء التعليمات البرمجية  |  إنشاء صيغ مخصصة  |  تحليل البيانات وإنشاء الرسوم البيانية  |  استدعاء وظائف Kutools...
الميزات الشعبية: البحث عن التكرارات أو تمييزها أو تحديدها   |  حذف الصفوف الفارغة   |  دمج الأعمدة أو الخلايا دون فقدان البيانات   |   جولة بدون صيغة 
سوبر بحث: معايير متعددة VLookup    VLookup ذات القيمة المتعددة  |   VLookup عبر أوراق متعددة   |   بحث غامض ....
قائمة منسدلة متقدمة: إنشاء القائمة المنسدلة بسرعة   |  القائمة المنسدلة التابعة   |  قائمة منسدلة متعددة التحديد ....
مدير العمود: إضافة عدد محدد من الأعمدة  |  نقل الأعمدة  |  تبديل حالة رؤية الأعمدة المخفية  |  مقارنة النطاقات والأعمدة 
الميزات المميزة: التركيز على الشبكة   |  عرض تصميم   |   شريط الفورمولا الكبير    مدير المصنفات والأوراق   |  مكتبة الموارد (النص السيارات)   |  منتقي التاريخ   |  اجمع أوراق العمل   |  تشفير/فك تشفير الخلايا    إرسال رسائل البريد الإلكتروني عن طريق القائمة   |  سوبر تصفية   |   مرشح خاص (تصفية غامق / مائل / يتوسطه خط ...) ...
أفضل 15 مجموعة أدوات12 نص الأدوات (إضافة نص, إزالة الأحرف، ...)   |   +50 رسم الأنواع (مخطط جانت، ...)   |   40+ عملي الصيغ (احسب العمر على أساس تاريخ الميلاد، ...)   |   19 إدخال الأدوات (أدخل رمز الاستجابة السريعة, إدراج صورة من المسار، ...)   |   12 تحويل الأدوات (أرقام إلى كلمات, نتيجة تحويل عملة، ...)   |   7 دمج وتقسيم الأدوات (الجمع بين الصفوف المتقدمة, تقسيم الخلايا، ...)   |   ... و اكثر

عزز مهاراتك في Excel باستخدام Kutools for Excel، واختبر كفاءة لم يسبق لها مثيل. يقدم Kutools for Excel أكثر من 300 ميزة متقدمة لتعزيز الإنتاجية وتوفير الوقت.  انقر هنا للحصول على الميزة التي تحتاجها أكثر...

الوصف


يجلب Office Tab الواجهة المبوبة إلى Office ، ويجعل عملك أسهل بكثير

  • تمكين التحرير والقراءة المبوبة في Word و Excel و PowerPointوالناشر والوصول و Visio والمشروع.
  • فتح وإنشاء مستندات متعددة في علامات تبويب جديدة من نفس النافذة ، بدلاً من النوافذ الجديدة.
  • يزيد من إنتاجيتك بنسبة 50٪ ، ويقلل مئات النقرات بالماوس كل يوم!
Comments (24)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
I want to highlight a cell if:
1. today's date is greater than the date in another cell or blank (=TODAY()>'APM Tracker'P14) AND ALSO;
2. If the date in P15 is greater than P14 same highlight color AND ALSO;
3. If the date in P15 is less than P14 I do not want the highlight
This comment was minimized by the moderator on the site
Hey All,

I want to get only past due dates in the particular column. Instead of highlighting the cells with color i need the dates to be picked in the column

Any solution for this....
This comment was minimized by the moderator on the site
Alright, I read through this thread and did not see this question asked/answered. I have a column of future dates. I would like to add conditional formatting to flag that date exactly 30 days before (1st color "Hey you should get this done its due in 30 day's") and 7 days ( 2nd color "You procrastinated and now you have 7 days to complete this"). Any help here?
This comment was minimized by the moderator on the site
Hi Michael,
I am not sure I understand your question clearly. If you want to hight the date which is 30 days and 7 days from today. Please use the following formulas to create two formula rules with different highlighted colors:
=D9=TODAY()+30
=D9=TODAY()+7

https://www.extendoffice.com/images/stories/comments/comment-picture-zxm/conditional-formatting.png
If this is not what you need, please attach a screenshot of your data here.
This comment was minimized by the moderator on the site
To ignore cells that have blanks try this:

=AND($A2<>"",$A2<TODAY())

This assumes the cell you have selected is A2 (change this to whatever cell you have currently selected)
To copy this to the applicable cells, change the "Applies to" to the cell range you need.
This comment was minimized by the moderator on the site
Hi Andy Campbell,
Thank you for sharing.
This comment was minimized by the moderator on the site
Hi
I am trying to use condition formatting to allow a cell to be highlighted when an item is past due based on different turn around times (TAT). I have a column with a submitted date which is then used with the #of days from the TAT to automatically give the due date. Using the following formula, =IF(OR(E3="",A3=""),"",DATE(YEAR(A3),MONTH(A3),DAY(A3)+E3))
The condition formatting currently used is "cell value < today()" applies to +$G:$G.
What I would like to do is use the stop if rule to stop the condition formatting if the date entered in column "H" is < or = to todays date.
Thanks Michelle
This comment was minimized by the moderator on the site
if i want highlight the due date with the conditional : today less or equal 30 days from due date
This comment was minimized by the moderator on the site
I am trying to create conditional formatting that will highlight rows older than 14 days in yellow and highlight rows older than 21 days in red. My date column starts in A2, I have the following rules applied, but only yellow is highlighting and just the date column, not the entire row. Can you help? Scott

1. =ISBLANK(A2)=TRUE
2. =A2<TODAY()-14
3. =A2<TODAY()-21
This comment was minimized by the moderator on the site
I want to ignore blank cells which doesn't have a date i.e I do not want blank cells to be highlighted when I am comparing dates<Today(). Please help
This comment was minimized by the moderator on the site
Hi Madhu,
The first method in this artice can help you solve the problem. Please have a try.
https://www.extendoffice.com/documents/excel/2499-excel-conditional-formatting-ignore-blank-zero.html
This comment was minimized by the moderator on the site
1 colum has the dates in it i want another colum to change colour when this formula is applied.

any ideas?
This comment was minimized by the moderator on the site
Hi grant,
Supposing you want to change the cell color in column B based on dates in column A, please select the column B cells (such as B2:B21), and apply the conditional formatting function with the above formulas =$A2>Today() or =$A2<Today().
This comment was minimized by the moderator on the site
Hello! can anyone help me?

I have =TODAY() formula in A1 and need 3 more rules to work as per below

rule 1 all dates 8 to 14 days older than today

rule 2 : all dates older 14 to 30 days than today

rule 3: all dates 31 or more days older than today
This comment was minimized by the moderator on the site
it should be something like this:

if(*cell*+8>Today();if(*cell*+14<Today();"8-14 from today";"N/A"))
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