Conditional Format- Highlight Numbers with 00's on the end.

ricey97

New Member
Joined
Jan 28, 2021
Messages
3
Office Version
  1. 365
  2. 2019
  3. 2016
  4. 2013
Platform
  1. Windows
I have a long list of numbers that are to 7 significant figures.

I want to highlight the numbers that end in 00 and 000. I don't want to change their number format or significant figures. For example, values such as 1.2345000 and 1.2345600.

Is there a formula for conditional formatting that could highlight that column of values? A macro? Anything?

Anything I have searched has not worked.

Many thanks in advance.
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Welcome to the Board!

For example, values such as 1.2345000 and 1.2345600.
Are these values formatted as numbers or as text?
If numbers, those trailing zeroes aren't really there. Note that changing the formatting of a cell does not change the actual value in the cells, just how it is displayed. If you look in the formula bar, it will show you the number exactly as Excel sees it.

How we approach this depends on whether the entry is actually numeric or text. So we really need to know that.
 
Upvote 0
Welcome to the Board!


Are these values formatted as numbers or as text?
If numbers, those trailing zeroes aren't really there. Note that changing the formatting of a cell does not change the actual value in the cells, just how it is displayed. If you look in the formula bar, it will show you the number exactly as Excel sees it.

How we approach this depends on whether the entry is actually numeric or text. So we really need to know that.
They are formatted as numbers, but I guess I could format it as text.
 
Upvote 0
If you format the cells as text, and make sure that those trailing zeroes are really there, then it is pretty easy with Conditional Formatting.
You would just use the RIGHT function, .e.
Excel Formula:
=RIGHT(A1,2)="00"
 
Upvote 0
If you want to keep them as numbers, maybe
+Fluff 1.xlsm
D
1
21.2345
31.23456
41.234567
Main
Cells with Conditional Formatting
CellConditionCell FormatStop If True
D2:D4Expression=RIGHT(TEXT(D2,"0.0000000"),2)="00"textNO
 
Upvote 0
If you format the cells as text, and make sure that those trailing zeroes are really there, then it is pretty easy with Conditional Formatting.
You would just use the RIGHT function, .e.
Excel Formula:
=RIGHT(A1,2)="00"

+Fluff 1.xlsm
D
1
21.2345
31.23456
41.234567
Main
Cells with Conditional Formatting
CellConditionCell FormatStop If True
D2:D4Expression=RIGHT(TEXT(D2,"0.0000000"),2)="00"textNO
Thank you both so much! I did go for Fluff's suggestion in the end. Have a good day! :)
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,184
Members
452,615
Latest member
bogeys2birdies

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