Conditional Formatting With New Rule

RAJESH1960

Banned for repeated rules violations
Joined
Mar 26, 2020
Messages
2,313
Office Version
  1. 2019
Platform
  1. Windows
Hi, Is it possible to use conditional formatting in a table. If I add new data in the last row, the conditional formatting should apply to that row also.
In this image the row containing the date, the day and month should match with the day and month in cell G1 which is fixed as = today() and format the whole row/rows with a selected color. It works but if I add new data in the next empty cell, it doesn't include that in the condition. So I was wondering if I could convert it into a table.
 

Attachments

  • Untitled.png
    Untitled.png
    17.4 KB · Views: 6

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
you contradict yourself
If I add new data in the last row, the conditional formatting should apply to that row also.
then
It works but if I add new data in the next empty cell, it doesn't include that in the condition.
you can select the columns
OR
you can select the table and then only apply the format to that range

Jut match day and month - NOT Year
the day and month should match with the day and month in cell G1
Book4
DEFG
19/8/20
21/8/30
33/8/30
45/8/30
57/8/30
69/8/30
711/8/30
81/8/31
93/8/31
105/8/31
117/8/31
129/8/31
1311/8/31
141/8/32
153/8/32
165/8/32
17
Sheet1
Cell Formulas
RangeFormula
G1G1=TODAY()
Cells with Conditional Formatting
CellConditionCell FormatStop If True
E:EExpression=AND(MONTH(E1)=MONTH($G$1),DAY(E1)=DAY($G$1))textNO
 
Upvote 0
Problem Solved by Kent Paulsson
 
Upvote 0
Facebook - Excel for Freelancers Group
Did you post the question there, and just find something similar that you were able to use?
If you cannot provide a link, please post the solution for others to see.
 
Upvote 0
Did you post the question there, and just find something similar that you were able to use?
If you cannot provide a link, please post the solution for others to see.
I shared the original file with Kent as requested and he changed the whole picture and completed the file. He deleted all the unwanted columns, changed the formulas too and made it more easy. Sending you both the images old and final ones
 

Attachments

  • old.png
    old.png
    46.9 KB · Views: 2
  • FINAL.png
    FINAL.png
    24.3 KB · Views: 2
Upvote 0
Ok. Posting the question to multiple places on the internet is known as "Cross-Posting". While we do allow Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules). This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered elsewhere.

Thank you.
 
Upvote 0
Ok. Posting the question to multiple places on the internet is known as "Cross-Posting". While we do allow Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules). This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered elsewhere.

Thank you.
Noted Joe4. I hope I haven't broken any rule in asking the same question in another forum.
 
Upvote 0
I hope I haven't broken any rule in asking the same question in another forum.
Like I said (and is mentioned in the Rules), we will allow it if users mention that they are doing so and provide a link.
 
Upvote 0

Forum statistics

Threads
1,214,990
Messages
6,122,626
Members
449,093
Latest member
catterz66

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top