Rounding Alerts

rencavalier

New Member
Joined
Nov 21, 2012
Messages
2
Looking for a way to solve for an issue using an Excel formula.

In a table, the values used are often presented as a rounded value. When applied to a sum of a group of numbers, I am looking for a way to set up a flag/alert indicating whether the final value is rounded vs. exact. I figure this can be set up in Conditional Formatting, but cannot come up with the Syntax.
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
I don't think those cells are actually rounded. In it the format of the cell is set to display limited number of digits after decimal places. So if you click on the cell in the table, you'll actually see the full value in formula bar.

That said, if the table is showing value upto 2 decimal places, then comparing the cell's value with that same value with round function should do the trick.

For example if your table data in A1:B9 (including headers), then select the data portion of the table (A2:B9) and create conditional formatting rule with formula:
Code:
=ROUND(A2, 2)<>A2
and some formatting to mark those rounded cell values.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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