Locate cells in large range with last decimal place not equal to zero

Ironman

Well-known Member
Joined
Jan 31, 2004
Messages
1,069
Office Version
  1. 365
Platform
  1. Windows
Hi

Range B2:Q367 displays values with one decimal place, as there should be no values containing 2 decimal places other than a 0. However, when I summed the range, it returned 10,715.61 and not 10,715.60 as I would expect.

As there are too many cells for me to look for myself, I would be grateful for a formula or VBA that will return the cell or cells in the above range that have a 2 decimal value not equal to 0.

Many thanks!
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Thanks, but I have identified 2 such values in the range and would therefore prefer to work on that premise.
 
Upvote 0
How about using conditional formatting to highlight the cells using
Excel Formula:
=LEN(MOD(B2,1)*10)>1
 
Upvote 0
Solution
Great idea Fluff, resolved - many thanks!
 
Upvote 0
Thanks, but I have identified 2 such values in the range and would therefore prefer to work on that premise.
That's a shame because if there's one and one only then this ugly formula would work.

Excel Formula:
=ADDRESS(SUMPRODUCT(((ROUND($B$2:$Q$367,1)<>($B$2:$Q$367)))*ROW($B$2:$Q$367))-ROW($B$2:$Q$367)+1+ROW($A$1),SUMPRODUCT(((ROUND($B$2:$Q$367,1)<>($B$2:$Q$367)))*COLUMN($B$2:$Q$367))-COLUMN($B$2:$Q$367)+1+COLUMN($A$1))
 
Upvote 0
Wow, that's quite some formula - thanks a lot for the thought you've clearly put into that Toadstool, I'm sorry I was unable to use it :(
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,893
Messages
6,122,121
Members
449,066
Latest member
Andyg666

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