Highlighting Dates above 58 years.

shyam

Active Member
Joined
Jul 18, 2005
Messages
302
I have a list which contains names and years in Year and Month format. I need to highlight those data's which contains the years greater than 58 years. eg. 65 years and 00 months, 63 years and 05 months 59 years and 06 months etc.

Excel Workbook
IJ
12aaa65-00
13bbb45-02
14ccc42-04
15ddd63-05
16eee30-08
17fff23-08
18ggg59-06
Sheet1


Is there any formula which can be used to highlight those rows OR through conditional formating?

Regards

Shyam
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Try like this

Excel Workbook
IJ
1aaa65-00
2bbb45-02
3ccc42-04
4ddd63-05
5eee30-08
6fff23-08
7ggg59-06
Sheet3
Cells with Conditional Formatting
CellConditionCell FormatStop If True
J11. / Formula is =LEFT(J1,2)+0>58Abc
 
Upvote 0
Hi Shyam,

Highlight J13:J18 and goto Format -> Conditional Format.

Enter this in the Formula Is: field.

=IF(LEFT(J2,2)+0>58,1,0)
 
Upvote 0
Thanks Mr. VOG and Mr. James

Mr. James, there seems to be an error in the formula (cell J12 and not J2).

Regards

Shyam
 
Upvote 0

Forum statistics

Threads
1,224,524
Messages
6,179,304
Members
452,904
Latest member
CodeMasterX

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