Formatting numbers with decimals

deemer98

Board Regular
Joined
Sep 9, 2005
Messages
128
I pull data from two different websites and I need to verify each are correct. One site gives me a weight with no decimals (15, 551), the other website gives decimals to three positions (15,550.764)

I have a verification sheet set up with conditional formatting to recognize duplicate values within a column. Obviously it won't recognize the two numbers above as duplicates.

I tried dropping the decimals in the formatting of the cells, but when I copy and paste it into my verification sheet, it pastes as the original number with the numbers after the decimals.

Is there a way to format the cells so that it automatically rounds up for anything .500 and higher or rounds down for .499 and lower?

Hope that didn't confuse anyone. Thanks!

David
 

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.
Formatting a cell does not change the underlying value in a cell... it only changes how that value is displayed. If you need to round a value for comparison, use the ROUND function in you formula directly.
 
Upvote 0
If I understand what you want to do correctly, the ROUND function will do both the round up and round down for you automatically.
 
Upvote 0
Solution

Forum statistics

Threads
1,215,013
Messages
6,122,690
Members
449,092
Latest member
snoom82

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