# RIGHTcommand last digit in cell = zero?

#### chesspupil

##### Board Regular

I am looking for a conditional format formula that looks at the last digit in the cell and asks if the digit is zero then the conditional format is true and I will direct excel to color the cell.
All vaules are numbers. Cells are currently set to round to nearest hundredth.

examples

1.56 (false)
1.50 (true)
20.01 (false)
20.90 (true)

I thought perhaps I could do so with the LEN command or the RIGHT command or SEARCH

(Application- The timer on an X-ray machine can only select in 10th's of a minute, When I select an exposure factor (EF) (Millia-amps * time) I have a formula set up to display my milli-amp choices (also in tenths) So it takes my 30 different Milliamp choices and divides the EF to give me a time... I want the time that ends in a zero to be highlighted.

Thank you

### Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

#### ZVI

##### MrExcel MVP
Try CF formula for A1 cell:
=MOD(A1*100,10)=0

#### chesspupil

##### Board Regular
=MOD(A1*100,10)=0

That didn't do the trick... I am curious I have the round function used to 2 decimal places and the cell formatted for 2 decimal places

Adding the condition actually changes the values that anther cell uses as reference.

IS there a way I can send you the excel file if you are intrested.

#### chesspupil

##### Board Regular
Suspecting the rounding may have caused the problem with the above formula not working I made a new collum and use TRUNC to drop the extra numbers, forcing it to see a number like 1.293 as only 1.29... even when you do a little exploration and force it to see more than 2 decimal places...

thus originally you might have had 1.293 but the new cell with the Cond format applied is only working with a 2 decimal place number

So above formula still has not met the need yet.

#### chesspupil

##### Board Regular
Credit to NVBC...

=RIGHT(TEXT(A1,"0.00"))+0=0 (in the CF where Conditional format is set to Formula is

But I had to use the TRUNC function to get the CF'd column to follow along with what I needed.

Thanks,

Solved!

Replies
10
Views
2K
Replies
4
Views
469
Replies
3
Views
331
Replies
2
Views
2K
Replies
2
Views
962

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,152,194
Messages
5,768,776
Members
425,492
Latest member
blueexcel123

### 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?

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